Difference between revisions of "Template:Weapon"
From MHWiki
(another automatic category) |
(automatically track missing images) |
||
Line 52: | Line 52: | ||
{{ifeq|{{{Smash|}}}|Yes|[[Category:Smashable]] [[Category:Weapons (Smashable)]]}} | {{ifeq|{{{Smash|}}}|Yes|[[Category:Smashable]] [[Category:Weapons (Smashable)]]}} | ||
{{ifeq|{{{Skin|}}}|Yes|[[Category:Weapons (Skinned)]]}} | {{ifeq|{{{Skin|}}}|Yes|[[Category:Weapons (Skinned)]]}} | ||
+ | {{if|{{{imglink|}}}| |[[Category:Missing Image]]}} | ||
__NOTOC__}} | __NOTOC__}} | ||
{{-}} | {{-}} |
Revision as of 17:19, 22 July 2014
Sample
Weapon | |||
---|---|---|---|
Power Type: ?? | |||
Weapon Statistics | Weapon Info | ||
Power: | ?? | Points Required: | ?? |
Power Bonus: | ??% | Cost: | ?? gold |
Attraction Bonus: | ??% | Limited Edition: | ?? |
Luck: | ?? | Crafted: | ?? |
Cheese Effect: | ?? | Smashable: | ?? |
Larry's Loot Lexicon: | ?? | Image: | ?? |
Usage
Simple table template to maintain consistency between Traps pages. All fields are required.
{{ Weapon | cost = | titlereq = | power = | powertype = | powerbonus = | attbonus = | luck = | chzeffect = | LimEd = | Craft = | Smash = | Skin = | mhinfo = | imglink = | desc = }}
Notes
Use numbers only for Bonus fields; the % is added automatically by the template. If there is no stat for a given field, use 0 (zero) in its place.
For the mhinfo field, list only the portion of the Larry's Loot Lexicon link after the item_type= in the link. For example, 2010 Blastoff Trap would list mhinfo = 2010_blastoff_trap_weapon.
The description is to be copied from the official MouseHunt page.
Set Skin = Yes if there is at least one skin; this does not show up in the infobox, but does affect automatic categorization.
See more notes in the Manual of Style.