Template:ItemInfobox: Difference between revisions

From Fonline2 Wiki
Jump to navigation Jump to search
Improve infobox layout and conditional stats rows
Improve infobox layout and conditional stats rows
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
! Cost
! Cost
| 140 caps
| 140 caps
|modes=
<tr><th colspan="2">Firing Modes</th></tr>
<tr><td colspan="2">...</td></tr>
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; margin:0 0 1em 1em; width:320px"
<table class="wikitable" style="float:right; margin:0 0 1em 1em; width:320px">
|-
<tr>
! colspan="2" style="background-color:#3d6f4a; color:white; text-align:center" | {{{name|{{PAGENAME}}}}}
<th colspan="2" style="background-color:#3d6f4a; color:white; text-align:center">{{{name|{{PAGENAME}}}}}</th>
</tr>
{{{rows|}}}
{{{rows|}}}
|}
{{{modes|}}}
</table>
</includeonly>
</includeonly>

Latest revision as of 12:16, 26 May 2026

This is the ItemInfobox template. It is used to display item information in a standardized infobox format.

Usage:


Item Name
Firing Modes
...