Difference between revisions of "Template:Info Table"

From Hobowars Wiki
Jump to: navigation, search
m (moved Template:Food Item to Template:Info Table: Template's function was changed.)
m
Line 11: Line 11:
 
! width="130pt" height="20pt" align="center" style="background:gray; color:white" | Subcategory
 
! width="130pt" height="20pt" align="center" style="background:gray; color:white" | Subcategory
 
|-
 
|-
| valign="middle" height="40pt" align="center" | '''''{{{id|—}}}'''''
+
| valign="middle" height="40pt" align="center" | '''{{{id|—}}}'''
 
| valign="middle" height="40pt" align="center" | [[:Category:{{{cat|Unknown}}}|{{{cat|Unknown}}}]]
 
| valign="middle" height="40pt" align="center" | [[:Category:{{{cat|Unknown}}}|{{{cat|Unknown}}}]]
 
| valign="middle" height="40pt" align="center" | {{{subcat|None}}}
 
| valign="middle" height="40pt" align="center" | {{{subcat|None}}}

Revision as of 10:35, 27 March 2011

Syntax:
{{Info Table
|name= (The item/effect's name.)
|image= (The URL of the item/effect's image.)
|id= (The ID number of the item/effect. If you don't know a food item's ID number, don't worry about it.)
|cat= (The category of item/effect/etc. For example: Food Item, Equipment, Skill, Status Effect, Backpack Item, or Special Item.)
|subcat= (The subcategory of the item/effect/etc. There may be more than one subcategory. You're going to have to make a link to the subcategory on your own. Be sure to insert a line break in between each subcategory.)
|versions= (The versions of HoboWars this food item is located in, i.e. HW1, HW2, FBHW, and HA. If available in all, 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.