Difference between revisions of "Template:Base"

From MHWiki
(use conditionals)
(+ add mhinfo field (Larry's Loot Lexicon link))
Line 26: Line 26:
 
  |-  
 
  |-  
 
  | colspan=2 | <hr size=1>
 
  | colspan=2 | <hr size=1>
 +
|- valign="top"
 +
| '''More Info:'''
 +
| align="right" nowrap | {{if|{{{mhinfo|}}}|[http://{{MHdomain}}/info.php?item_type={{{mhinfo}}} MouseHunt Info Page]|??}}
 
  |-  
 
  |-  
  |  valign=top nowrap | <b>Image:</b>
+
  |  valign=top nowrap | '''Image:'''
 
  | align="right" nowrap | {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}}
 
  | align="right" nowrap | {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}}
 
  |-  
 
  |-  

Revision as of 16:53, 16 June 2012

Sample

Base
Cost: ?? gold
Points Required: ??
Power: ??
Power Bonus: ??%
Attraction Bonus: ??%
Luck: ??
Cheese Effect: ??

More Info:
Image: ??


Usage

Simple table template to maintain consistency between Traps pages. All fields are required.

{{ Base
 | title       = 
 | pointsreq  = 
 | power      = 
 | powerbonus = 
 | attbonus   = 
 | luck       = 
 | chzeffect  = 
 | LimEd  =
 | Craft  =
 | Smash  =
 | 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, Aqua Base would list mhinfo = aqua_base.

The description is to be copied from the official MouseHunt page.

See more notes in the Manual of Style.