Difference between revisions of "Template:Base"

From MHWiki
(+ add mhinfo field (Larry's Loot Lexicon link))
m (another try, the 'if' didn't seem to be working)
Line 28: Line 28:
 
  |- valign="top"
 
  |- valign="top"
 
  | '''More Info:'''
 
  | '''More Info:'''
  | align="right" nowrap | {{if|{{{mhinfo|}}}|[http://{{MHdomain}}/info.php?item_type={{{mhinfo}}} MouseHunt Info Page]|??}}
+
  | align="right" nowrap | {{if|{{{mhinfo|}}}||[http://{{MHdomain}}/info.php?item_type={{{mhinfo}}} MouseHunt Info Page]|??}}
 
  |-  
 
  |-  
 
  |  valign=top nowrap | '''Image:'''
 
  |  valign=top nowrap | '''Image:'''

Revision as of 17:07, 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.