Template:Navbox2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="navbox"> | <div class="navbox"><div class="navbox-header"><span>{{{1|Header}}}</span></div><div class="navbox-content"><table style="width: 100%">{{{2|<tr><td>Content</td></tr>}}}</table></div></div><noinclude> | ||
<div class="navbox-header"><span>{{{1|Header}}}</span></div> | When using [[Template:Navbox]], applying table style causes the template to not render the content. This has a table with <code>style="width=100%;"</code> as a workaround. | ||
<div class="navbox-content"> | </noinclude><noinclude>[[Category:Navigation Templates]]</noinclude> | ||
<table style="width: 100%">{{{2|<tr><td>Content</td></tr>}}}</table> | |||
</div> | |||
<noinclude>[[Category:Navigation Templates]]</noinclude> |
Latest revision as of 16:52, 23 June 2024
When using Template:Navbox, applying table style causes the template to not render the content. This has a table with style="width=100%;"
as a workaround.