Difference between revisions of "Template:Weapon"
From MHWiki
(use conditionals) |
(+ add mhinfo field (Larry's Loot Lexicon link)) |
||
Line 29: | Line 29: | ||
|- | |- | ||
| colspan=2 | <hr size=1> | | colspan=2 | <hr size=1> | ||
+ | |- valign="top" | ||
+ | | colspan="2" | | ||
+ | {| cellpadding="0" width="260" style="border:0px; border-top:0px; border-spacing:0; margin-left:0px; margin-bottom:0px; padding:0px;" | ||
+ | |- | ||
+ | | '''More Info:''' | ||
+ | | align="right" nowrap | {{if|{{{mhinfo|}}}|2=[http://{{MHdomain}}/item.php?item_type={{{mhinfo}}} MouseHunt Info Page]|3=??}} | ||
+ | |} | ||
|- | |- | ||
− | | valign=top nowrap | | + | | valign=top nowrap | '''Image:''' |
| align="right" nowrap | {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}} | | align="right" nowrap | {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}} | ||
|- | |- | ||
− | | colspan="2" align="center" style=" | + | | colspan="2" align="center" style="font-size:95%; padding:10px;" | <hr>''<nowiki></nowiki>{{{desc|}}}'' |
|}<noinclude><br clear=all> | |}<noinclude><br clear=all> | ||
Revision as of 19:47, 16 June 2012
Sample
Weapon | |||
---|---|---|---|
Cost: | ?? gold | ||
Points Required: | ?? | ||
Power: | ?? | ||
Power Type: | ?? | ||
Power Bonus: | ??% | ||
Attraction Bonus: | ??% | ||
Luck: | ?? | ||
Cheese Effect: | ?? | ||
| |||
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.