Template talk:Source-Layout
25 August 2025
Remove: cellspacing="8" cellpadding="0".
Add: under style="" put box-sizing: border-box; padding: 0; border-spacing: 8px;
Reason: cellspacing and cellpadding have been deprecated and are obsolete. The cellspacing attribute is replaced by the border-spacing properties defined on the parent <table> element ({| in wikitext). The cellpadding is replaced by the padding property on the <td> element. box-sizing 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:58, 25 August 2025 (UTC)
5 sept 2025
Kindly implement change for customization options so that the margins may be removed to stack these templates as template:assessments does (discussion at template talk:assessments about this). {{{style|}}} needed to effect the change. The {{{class|}}} is for future proofing.
| − | border: var(--border-subtle, 1px solid | + | border: var(--border-subtle, 1px solid #555555); {{{style|}}}" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" lang="{{{lang|{{int:Lang}}}}}" class="layouttemplate sourcetemplate {{{class|}}}"<noinclude> |
Waddie96 (talk) 22:56, 4 September 2025 (UTC)
- Minor comment on the “future proofing”: a search confirms that this is already being done in other layout templates, in at least one case dating back to 2014. Just as an indication that it’s not a weird idea :) Lucas Werkmeister (talk) 17:29, 12 September 2025 (UTC)
Done --Lucas Werkmeister (talk) 17:33, 12 September 2025 (UTC)