Template:ItemInfobox: Difference between revisions
Jump to navigation
Jump to search
for all items |
Improve infobox layout and conditional stats rows |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
{{ItemInfobox | {{ItemInfobox | ||
|name=Item Name | |name=Item Name | ||
| | |rows= | ||
|- | |- | ||
| colspan="2" style="text-align:center" | [[File:brain4.png|260px]] | |||
| colspan="2" style="text-align: center" | [[File: | |||
|- | |- | ||
! Type | ! Type | ||
| | | SmallGun | ||
|- | |- | ||
! Cost | ! Cost | ||
| | | 140 caps | ||
| | |modes= | ||
<tr><th colspan="2">Firing Modes</th></tr> | |||
<tr><td colspan="2">...</td></tr> | |||
}} | |||
</noinclude> | |||
<includeonly> | |||
<table class="wikitable" style="float:right; margin:0 0 1em 1em; width:320px"> | |||
<tr> | |||
<th colspan="2" style="background-color:#3d6f4a; color:white; text-align:center">{{{name|{{PAGENAME}}}}}</th> | |||
</tr> | |||
{{{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 | |
| ... |