Difference between revisions of "Template:Weapon"

From MHWiki
m (Eliminated need to retype Weapon name)
(Updated table format)
Line 1: Line 1:
 
<table cellpadding=20 cellspacing=0 align=right><tr><td>
 
<table cellpadding=20 cellspacing=0 align=right><tr><td>
<table border=0 width=260 cellpadding=5 cellspacing=0 align=center>
+
<table border=1 width=260 cellpadding=4 cellspacing=0 align=center>
<tr bgcolor=#cccccc>
+
<tr>
  <td align=center nowrap><h2>{{PAGENAME}}</h2></td>
+
  <td><table border=0 width=100% align=center cellpadding=4>
</tr>
+
      <tr bgcolor=#cccccc>
<tr bgcolor=#cccccc>
+
        <td align=center colspan=2 nowrap><font size=5><b>{{PAGENAME}}</b></font></td>
  <td><table border=0 width=100% align=center>
+
      </tr>
 
       <tr>
 
       <tr>
 
         <td valign=top nowrap><b>Cost:</b></td>
 
         <td valign=top nowrap><b>Cost:</b></td>

Revision as of 21:38, 16 December 2008

Weapon
Cost: {{{cost}}} gold
Points Required: {{{pointsreq}}}

Power: {{{power}}}
Power Type: [[{{{powertype}}}]]
Power Bonus: {{{powerbonus}}}%
Attraction Bonus: {{{attbonus}}}%
Luck: {{{luck}}}
Cheese Effect: {{{chzeffect}}}

Image: [{{{imglink}}} External Link]


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.