Difference between revisions of "Template:Mouse/docs"

From MHWiki
(mention improvements)
m (Usage: update)
 
(6 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
Simple table template to maintain consistency between [[mice]] pages. All fields shown here are required:
 
Simple table template to maintain consistency between [[mice]] pages. All fields shown here are required:
  
<pre>{{ Mouse
+
<pre>
  | id        =
+
{{Mouse
  | maxpoints  =  
+
  | mgroup    =
  | mingold    =  
+
| subgroup  =  
  | loot      =  
+
  | maxpoints =
  | habitat    =  
+
  | mingold  =  
  | mgroup     =  
+
  | traptype  =  
  | traptype   =
+
  | other    =  
  | bait      =  
+
  | bait      =
  | mhinfo     =  
+
  | charm     =  
  | image     =  
+
  | habitat   =  
  | desc       =  
+
  | loot      =  
  }}</pre>
+
  | mhinfo   =  
 +
  | image     =  
 +
  | desc     =  
 +
  | id        =
 +
}}
 +
</pre>
  
Additionally, there are two optional parameters:
+
Additionally, there is an optional parameter:
 
* "title" to change the title of the infobox when needed to be modified.
 
* "title" to change the title of the infobox when needed to be modified.
* "subgroup" to list the subgroup of a mouse, without parentheses.
 
  
 
== Notes ==
 
== Notes ==
If the value for a given field is unknown, use a dash (-) in its place.
 
 
 
The '''traptype''' attribute refers to the mouse's weaknesses to various power types.  
 
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 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 types, list the ''Effective'' types instead.  
* If the Effective types are, in fact, ''all types'' except the one-off [[Parental]] trap, enter "[[Power Type|All types]] except [[Parental]]" (this applies to Indigenous Mice, for example).
 
 
* If there are no Very Effective or Effective types, list the ''Less Effective'' types.
 
* 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 "[[Power Type|All types]]" (this applies to Indigenous Mice, for example).
  
Most mice don't have a subgroup.  An example of one with a subgroup is [[Eclipse]], which would be listed with:
+
Many mice have a subgroup.  An example of one with a subgroup is [[Eclipse]], which would be listed with:
 
<pre> | mgroup  = Gauntlet Gladiators
 
<pre> | mgroup  = Gauntlet Gladiators
 
  | subgroup = Tier Eight: The Eclipse
 
  | subgroup = Tier Eight: The Eclipse

Latest revision as of 17:27, 23 July 2021

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.