Difference between revisions of "Template:Mouse"

From MHWiki
m (fix link to LLL (change item to adversaries))
(include subgroup, make notoc automatic)
Line 5: Line 5:
 
! colspan="4" style="font-size:150%;" | {{PAGENAME}}
 
! colspan="4" style="font-size:150%;" | {{PAGENAME}}
 
   |-
 
   |-
! colspan="4"  style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=cornflowerblue | Mouse Group: {{{mgroup|??}}}
+
! colspan="4"  style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=cornflowerblue | Mouse Group: {{{mgroup|??}}} {{{if|{{{subgroup|}}}||({{{subgroup}}})}}}
 
   |-
 
   |-
 
! colspan="2" width="400" | !! colspan="2" width="400" |
 
! colspan="2" width="400" | !! colspan="2" width="400" |
Line 44: Line 44:
  
 
{{if|{{NAMESPACE}}||{{if|{{{mgroup|}}}|[[Category:Mice]][[Category:{{{mgroup}}}]]
 
{{if|{{NAMESPACE}}||{{if|{{{mgroup|}}}|[[Category:Mice]][[Category:{{{mgroup}}}]]
{{if|{{{subgroup|}}}|[[Category:{{{mgroup}}} ({{{subgroup}}})]]}}}}}}
+
{{if|{{{subgroup|}}}|[[Category:{{{mgroup}}} ({{{subgroup}}})]]}}}
 +
__NOTOC__}}}
  
 
{{-}}
 
{{-}}

Revision as of 14:51, 28 June 2014

Sample

Mouse
Mouse Group: ??
Mouse Statistics
Points: ?? Weaknesses: ??
Gold: ?? Bait Pref: ??
Mouse Info
Locations: ?? Loot: ??
Larry's Loot Lexicon: ?? 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.


{{if|Template||}