Template talk:CC-Layout
Template:CC-Layout has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
{{editprotected}} Please add to the style here "direction: {{#dir:{{{lang|}}}}}. ערן (talk) 09:35, 21 November 2008 (UTC)
Broken again?
File:Peter Sleazy Christopherson.jpg used this kind of code:
{{CC-Layout}}
{{Cc-by-sa-3.0}}
The result of using the first tag was literally this:
- cellspacing="8" cellpadding="0" style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color:#f9f9f9; border:2px solid #e0e0e0; direction: ltr;" class="layouttemplate licensetpl"
I've since removed the __CC-Layout__ tag from the file, but I am sure many other files might also erroneously use this tag and be no better, if the template's current state was not intended to be what it is. -Mardus (talk) 03:24, 15 November 2011 (UTC)
- Same in File:Renal Diuretics.gif --LoStrangolatore (talk) 11:55, 5 January 2012 (UTC)
I understand how to license a photo please help. Ahyaka (talk) 13:19, 8 October 2017 (UTC)
25 August 2025
Add: under style="" put box-sizing: border-box;
Reason: This is so 100% is width of content area + width of border + padding. And not 100% + width of border + padding and then it runs the 100% width of page. Waddie96 (talk) 03:48, 25 August 2025 (UTC)
- This template is expected to be used with tables. Tables already default to
box-sizing:border-box. Nothing to do here. —Tacsipacsi (talk) 13:47, 9 November 2025 (UTC)