Difference between revisions of "Template:Info Table"
DoctorKnow (Talk | contribs) m |
DoctorKnow (Talk | contribs) (Converted the food item template into a general-use template. The templates' old coding was personally archived.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| style="margin: | + | <includeonly>{| style="margin: auto auto auto auto" border="3" align="right" |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | + | ! colspan="3" height="20pt" align="center" style="background:blue; color:white" | Name | |
− | + | ||
− | + | ||
− | ! colspan="3" height="20pt" align="center" style="background: | + | |
|- | |- | ||
− | + | ! colspan="3" align="center" | {{{name|None}}} | |
|- | |- | ||
− | + | | colspan="3" height="100pt" align="center" | <big>{{{image|'''Image Not Available'''}}}</big> | |
|- | |- | ||
− | | | + | ! width="30pt" height="20pt" align="center" style="background:white; color:black" | ID |
+ | ! width="140pt" height="20pt" align="center" style="background:black; color:white" | Category | ||
+ | ! 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" | [[:Category:{{{cat|Unknown}}}|{{{cat|Unknown}}}]] |
− | | | + | | valign="middle" height="40pt" align="center" | {{{subcat|None}}} |
|- | |- | ||
! colspan="3" height="20pt" align="center" style="background:gold; color:black" | Version Availability | ! colspan="3" height="20pt" align="center" style="background:gold; color:black" | Version Availability | ||
Line 25: | Line 20: | ||
|} | |} | ||
− | + | [[Category:{{{cat|Unknown}}}|{{PAGENAME}}]]</includeonly> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<noinclude>'''Syntax:'''<br /> | <noinclude>'''Syntax:'''<br /> | ||
− | <nowiki>{{ | + | <nowiki>{{Info Table</nowiki><br /> |
− | | | + | |name= ''(The item/effect's name.)''<br /> |
− | |image= (The URL of the | + | |image= ''(The URL of the item/effect's image.)''<br /> |
− | | | + | |id= ''(The ID number of the item/effect. If you don't know a food item's ID number, don't worry about it.)''<br /> |
− | + | |cat= ''(The category of item/effect/etc. For example: Food Item, Equipment, Skill, Status Effect, Backpack Item, or Special Item.)''<br /> | |
− | | | + | |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.)''<br /> |
− | + | |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.)''<br /> | |
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |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.) | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
− | 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 appropriate information for you. | + | 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. |
[[Category:All wiki templates|{{PAGENAME}}]] | [[Category:All wiki templates|{{PAGENAME}}]] | ||
<!--For your convenience, simply copy and paste this to get started: | <!--For your convenience, simply copy and paste this to get started: | ||
− | {{ | + | {{Info Table |
+ | |name= | ||
+ | |image= | ||
|id= | |id= | ||
− | | | + | |cat= |
− | | | + | |subcat= |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|versions= | |versions= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
--> | --> | ||
</noinclude> | </noinclude> |
Revision as of 14:06, 26 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.