Difference between revisions of "Template:Base"

From MHWiki
m (fix link this time)
m (improve formatting)
Line 25: Line 25:
 
  | align="right" | {{{chzeffect|??}}}
 
  | align="right" | {{{chzeffect|??}}}
 
  |-  
 
  |-  
  | colspan=2 | <hr size=1>
+
  | colspan="2" | <hr size=1>
 
  |- valign="top"
 
  |- valign="top"
  | '''More Info:'''
+
  | colspan="2" |
| align="right" nowrap | {{if|{{{mhinfo|}}}|2=[http://{{MHdomain}}/item.php?item_type={{{mhinfo}}} MouseHunt Info Page]|3=??}}
+
  {| 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 | '''Image:'''
+
  | 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="font-style:italic; font-size:95%; padding:10px;" | <hr>{{{desc|}}}
+
  | colspan="2" align="center" font-size:95%; padding:10px;" | <hr>''<nowiki></nowiki>{{{desc|}}}''
 
  |}<noinclude><br clear=all>
 
  |}<noinclude><br clear=all>
  

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