Template talk:CC-BY-SA-2.0
Jump to navigation
Jump to search
@Tigerfell: - any idea why on File:Wiener Stammtisch 2015.jpg this template is broken? Mateusz Konieczny (talk) 21:10, 3 August 2022 (UTC)
- Template seems to break if it is inside a list ( in same paragraph or row behind a "*" / "#" / ";" ). --Chris2map (talk) 11:35, 4 August 2022 (UTC)
- A quick workaround would be to insert an empty first row in the Template:Wflicence. For testing see User:Chris2map/Sandbox&oldid=2365425. I suppose that the wiki list closes the <div> at the first line break and with that it closes the box. --Chris2map (talk) 19:04, 4 August 2022 (UTC)
- The newlines in Template:Wflicence end the unordered list. MediaWiki seems to add a </div> to "fix" the HTML markup. We can either add an empty line to end the list structure before the div-boxes start or we comment out the linebreaks in the template so that the list will continue below the template as you can see here. --Tigerfell (Let's talk) 10:10, 5 August 2022 (UTC)
- The empty row (newline) might be the saver solution regarding the license box, but to comment out the linebreaks is the better and more flexible one and keeps the layout possibilities. So I prefer this second solution. --Chris2map (talk) 18:31, 6 August 2022 (UTC)
- I copied the markup and it seems to work with Template:Wfmessage but not with Template:CC-BY-SA-2.0. Even if I remove all line breaks and newlines from the latter. --Tigerfell (Let's talk) 14:13, 11 August 2022 (UTC)
- I would say that this is because of the license template using the Template:Wflicence, not Template:Wfmessage. --Chris2map (talk) 17:55, 14 August 2022 (UTC)
- I copied the markup and it seems to work with Template:Wfmessage but not with Template:CC-BY-SA-2.0. Even if I remove all line breaks and newlines from the latter. --Tigerfell (Let's talk) 14:13, 11 August 2022 (UTC)
- The empty row (newline) might be the saver solution regarding the license box, but to comment out the linebreaks is the better and more flexible one and keeps the layout possibilities. So I prefer this second solution. --Chris2map (talk) 18:31, 6 August 2022 (UTC)
- The newlines in Template:Wflicence end the unordered list. MediaWiki seems to add a </div> to "fix" the HTML markup. We can either add an empty line to end the list structure before the div-boxes start or we comment out the linebreaks in the template so that the list will continue below the template as you can see here. --Tigerfell (Let's talk) 10:10, 5 August 2022 (UTC)
- A quick workaround would be to insert an empty first row in the Template:Wflicence. For testing see User:Chris2map/Sandbox&oldid=2365425. I suppose that the wiki list closes the <div> at the first line break and with that it closes the box. --Chris2map (talk) 19:04, 4 August 2022 (UTC)