Difference between revisions of "Template:Info Table"

From Hobowars Wiki
Jump to: navigation, search
m (Fixed a browser issue with this template.)
m
Line 12: Line 12:
 
|-
 
|-
 
| 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|Unclassified Item}}}|{{{cat|Unclassified Item}}}]]
 
| valign="middle" height="40pt" align="center" | {{{subcat|None}}}{{clr}}{{{subcat2|}}}{{clr}}{{{subcat3|}}}
 
| valign="middle" height="40pt" align="center" | {{{subcat|None}}}{{clr}}{{{subcat2|}}}{{clr}}{{{subcat3|}}}
 
|-
 
|-
Line 20: Line 20:
 
|}
 
|}
  
[[Category:{{{cat|Unknown}}}|{{PAGENAME}}]]</includeonly>
+
[[Category:{{{cat|Unclassified Item}}}|{{PAGENAME}}]]</includeonly>
 
<noinclude>'''Syntax:'''<br />
 
<noinclude>'''Syntax:'''<br />
 
<nowiki>{{Info Table</nowiki><br />
 
<nowiki>{{Info Table</nowiki><br />

Revision as of 14:13, 24 March 2012

Syntax:
{{Info Table
|name= (The item/effect/etc's name.)
|image= (The URL of the item/effect'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.)
|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. You're going to have to make a link to the subcategory's page on your own.)
|subcat2= (The second subcategory of the item/effect/etc. There may be more than two subcategories. You're going to have to make a link to the subcategory's page on your own.)
|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. You're going to have to make a link to the subcategory's page on your own.)
|versions= (The versions of HoboWars the item/effect/etc is located in, i.e. HW1, HW2, FBHW, and HA. If available in all, don't include.)
|vrsndiff= (Use this to add the following note, if applicable: (Some minor differences between versions.) )
}}


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=
|cat=
|subcat=
|subcat2=
|subcat3=
|versions=
|vrsndiff=
}}