Difference between revisions of "Template:Mouse"

From MHWiki
(also add Category:Mice)
(remove unnecessary "if" calculations)
Line 36: Line 36:
  
 
</noinclude>
 
</noinclude>
{{if|{{NAMESPACE}}||{{ifeq|{{if|{{{mgroup|}}}|{{{mgroup}}}|None}}|None||[[Category:Mice]][[Category:{{{mgroup}}}]]
+
{{if|{{NAMESPACE}}||if|{{{mgroup|}}}|[[Category:Mice]][[Category:{{{mgroup}}}]]
 
{{if|{{{subgroup|}}}|[[Category:{{{mgroup}}} ({{{subgroup}}})]]}}}}}}
 
{{if|{{{subgroup|}}}|[[Category:{{{mgroup}}} ({{{subgroup}}})]]}}}}}}

Revision as of 12:40, 17 December 2013

Sample

Mouse
Points: ??
Gold: ??
Loot:
Locations: ??
Mouse Group: None
Weaknesses: ??
Bait Pref: None known
More Info: ??
Image: ??


Usage

Simple table template to maintain consistency between mice pages. All fields shown here are required:

{{Mouse
 | mgroup    = 
 | subgroup  = 
 | maxpoints = 
 | mingold   = 
 | traptype  = 
 | other     = 
 | bait      =  
 | charm     = 
 | habitat   = 
 | loot      = 
 | mhinfo    = 
 | image     = 
 | desc      = 
 | id        = 
}}

Additionally, there is an optional parameter:

  • "title" to change the title of the infobox when needed to be modified.

Notes

The traptype attribute refers to the mouse's weaknesses to various power types.

  • If there are trap power type(s) which are Very Effective against the mouse, list those.
  • If there are no Very Effective types, list the Effective types instead.
  • If there are no Very Effective or Effective types, list the Less Effective types.
  • If the Effective types are, in fact, all types except the one-off Parental trap, enter "All types" (this applies to Indigenous Mice, for example).

Many mice have a subgroup. An example of one with a subgroup is Eclipse, which would be listed with:

 | mgroup   = Gauntlet Gladiators
 | subgroup = Tier Eight: The Eclipse

See more notes in the Manual of Style.


}}