Template:Navbox2: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
No edit summary
DanWL60 (talk | contribs)
mNo edit summary
 
(One intermediate revision 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>
</div>
 
<noinclude>
When using  [[Template:Navbox]], applying table style causes the template to not render the content. This has a table with with 100% as a workaround.
</noinclude>
 
<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.