Template talk:Infobar-Layout

Ajax add

{{Editprotect}} All the layout templates have an ajax language bar (so that text can be changed automatically without refreshing the page when you click on another language link), except this {{Infobar-Layout}} which lacks the "layouttemplate" class name. plz fix it by adding the class name "layouttemplate":

<noinclude>{{heavily used template}}{|</noinclude>cellpadding="2" class="toccolours vcard layouttemplate" style="width: 100%; direction: {{#dir:{{{lang|{{int:Lang}}}}}}};"<noinclude>
! Example
| Text
|}

{{Documentation}}

</noinclude>

--Tomchen1989 (talk) 05:50, 22 September 2011 (UTC)

✓ Done, please review. Powers (talk) 17:13, 25 September 2011 (UTC)
Works fine now, thx. --Tomchen1989 (talk) 03:28, 26 September 2011 (UTC)

Please drop the class vcard

or make it somehow an optional parameter. vCard is part of a standardized microformat and I doubt that all templates where this is used expose a valid microformat (Template:Out of scope/layout, for example). The fact that this template exposes the vcard class is not documented so it should be safe to remove it. Thank you {{Edit protected}} -- Rillke(q?) 11:35, 28 December 2013 (UTC)

✓ Done Powers (talk) 19:01, 25 February 2014 (UTC)

25 August 2025

{{Edit request}}

Remove: cellpadding="2".

Add: under style="" put box-sizing: border-box; padding: 2px;

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

✓ DoneJustin (koavf)TCM 20:28, 2 September 2025 (UTC)