Difference between revisions of "Template:Base"

From MHWiki
m (Modifying image to encompass for Thief Base)
m
(2 intermediate revisions by the same user not shown)
Line 35: Line 35:
 
  | nowrap align="right" style="border-style: solid; border-width:  2px 1px 2px 0" | {{if|{{{mhinfo|}}}|2=[{{MHdomain}}/item.php?item_type={{{mhinfo}}} MouseHunt Info Page]|3=??}}
 
  | nowrap align="right" style="border-style: solid; border-width:  2px 1px 2px 0" | {{if|{{{mhinfo|}}}|2=[{{MHdomain}}/item.php?item_type={{{mhinfo}}} MouseHunt Info Page]|3=??}}
 
  | nowrap align="left" style="border-style: solid; border-width:  2px 0 2px 1px"| '''Image:'''  
 
  | nowrap align="left" style="border-style: solid; border-width:  2px 0 2px 1px"| '''Image:'''  
  | nowrap align="right" style="border-style: solid; border-width:  2px 2px 2px 0"| {{ifeq|{{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}}|[{{{imglink}}} External Link]|[{{{imglink}}} External Link]|{{{imglink}}}}}
+
  | nowrap align="right" style="border-style: solid; border-width:  2px 2px 2px 0"| {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|{{{altimglink|??}}}}}
 
   |-  
 
   |-  
 
  | colspan="4" align="center" style="font-size:110%; padding:10px;" | {{{desc|}}}
 
  | colspan="4" align="center" style="font-size:110%; padding:10px;" | {{{desc|}}}
Line 49: Line 49:
 
   {{ifeq|{{{Craft|}}}|Yes|[[Category:Craftable]] [[Category:Bases (Craftable)]]}}
 
   {{ifeq|{{{Craft|}}}|Yes|[[Category:Craftable]] [[Category:Bases (Craftable)]]}}
 
   {{ifeq|{{{Smash|}}}|Yes|[[Category:Smashable]] [[Category:Bases (Smashable)]]}}
 
   {{ifeq|{{{Smash|}}}|Yes|[[Category:Smashable]] [[Category:Bases (Smashable)]]}}
   {{if|{{{imglink|}}}| |[[Category:Missing Image]]}}
+
   {{if|{{{imglink|}}}||{{if|{{{altimglink|}}}||[[Category:Missing Image]]}}}}
 
__NOTOC__}}
 
__NOTOC__}}
  
 
{{-}}
 
{{-}}

Revision as of 15:14, 8 July 2021

Sample

Base
Base Statistics Base Info
Power: ?? Title Required: ??
Power Bonus: ??% Cost: ??
Attraction Bonus: ??% Limited Edition: ??
Luck: ?? Crafted: ??
Cheese Effect: ?? Smashable: ??
Larry's Loot Lexicon: ?? 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.