Difference between revisions of "Template:Weapon/docs"

From MHWiki
m (Added note on desc field (same as trap template))
m (Usage: Change pointsreq to titlereq.)
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>{{ Weapon
 
<pre>{{ Weapon
 
| cost      =  
 
| cost      =  
| pointsreq =  
+
| titlereq =  
 
| power      =  
 
| power      =  
 
| powertype  =  
 
| powertype  =  
Line 11: Line 11:
 
| luck      =  
 
| luck      =  
 
| chzeffect  =  
 
| chzeffect  =  
 +
| LimEd =
 +
| Craft =
 +
| Smash =
 +
| Skin  =
 +
| mhinfo    =
 
| imglink    =  
 
| imglink    =  
 
| desc      =  
 
| desc      =  
Line 17: Line 22:
 
== Notes ==
 
== 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.
 
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.
 
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 [[MHwiki:Manual of Style#Weapons|Manual of Style]].

Revision as of 20:00, 24 October 2018

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.