Difference between revisions of "Template:Info Table"
Line 5: | Line 5: | ||
! colspan="2" valign="middle" height="44px" | {{{image|<big>'''N/A'''</big>}}} | ! colspan="2" valign="middle" height="44px" | {{{image|<big>'''N/A'''</big>}}} | ||
|- | |- | ||
+ | {{#if notempty | test1 | test2}} | ||
{{#if: {{{supercat|}}} | {{!}} class="leftrc" valign="middle" align="center" style="background:#8C8C8C;color:black;font-size:0.85em;border:1px solid white;border-right:none" {{!}} <strong>Supercategory</strong> {{!}}{{!}} class="rightrc" valign="middle" align="center" style="background:#8C8C8C;font-size:0.85em;border:1px solid white;border-left:none" {{!}} {{#if: {{{supercat|}}} | [[:Category:{{{supercat}}}|{{{supercat}}}]] | }} | }} | {{#if: {{{supercat|}}} | {{!}} class="leftrc" valign="middle" align="center" style="background:#8C8C8C;color:black;font-size:0.85em;border:1px solid white;border-right:none" {{!}} <strong>Supercategory</strong> {{!}}{{!}} class="rightrc" valign="middle" align="center" style="background:#8C8C8C;font-size:0.85em;border:1px solid white;border-left:none" {{!}} {{#if: {{{supercat|}}} | [[:Category:{{{supercat}}}|{{{supercat}}}]] | }} | }} | ||
|- style="border-style:1px solid white" | |- style="border-style:1px solid white" |
Revision as of 04:59, 10 July 2014
Syntax:
{{Info Table
|name= (The item/effect/etc's name.)
|image= (The URL of the item/effect/etc's image.)
|id= (The ID number of the item/effect/etc. If you don't know a food item's ID number, don't worry about it; just don't include this variable.)
|supercat= (The supercategory of the item/effect/etc. Only used for Equipment at the moment.)
|cat= (The category of item/effect/etc. For example: Food Item, Equipment, Skill, Status Effect, Backpack Item, Tattoo, or Special Item.)
|subcat= (The subcategory of the item/effect/etc. There may be more than one subcategory.)
|subcat2= (The second subcategory of the item/effect/etc. There may be more than two subcategories.)
|subcat3= (The third subcategory of the item/effect/etc. Try to only designate up to three subcategories; any more will have to hard-coded from this point forward.)
|versions= (The versions of HoboWars the item/effect/etc is located in, i.e. HoboWars, HoboWars2, Facebook HoboWars, and HoboArena. If available in all, then don't include.)
|vrsndiff= (If minor differences between versions exist, then put the word yes here. If no differences between versions exist, then don't include.)
}}
If a variable doesn't need to be included, simply don't include it. By that I mean don't have the "|variable= " in the list at all. The template will take over and fill in the appropriate information for you.
For your convenience, simply copy and paste this to get started:
{{Info Table
|name=
|image=
|id=
|supercat=
|cat=
|subcat=
|subcat2=
|subcat3=
|versions=
|vrsndiff=
}}