Template talk:FoP-Layout

25 August 2025

{{Edit request}}

Remove: cellspacing="8".

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:56, 25 August 2025 (UTC)

✓ Done -- WOSlinker (talk) 06:46, 27 August 2025 (UTC)

5 sept 2025

{{Edit request}}

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-color: var(--border-color-success, #acce79);" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" class="layouttemplate foptemplate"&lt;noinclude&gt;
+
border-color: var(--border-color-success, #acce79); {{{style|}}}" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" class="layouttemplate foptemplate {{{class|}}}"&lt;noinclude&gt;

Waddie96 (talk) 22:58, 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:31, 12 September 2025 (UTC)