Difference between revisions of "Template:Mouse/docs"

From MHWiki
m (added documentation of traptype attribute for future editors)
m (Usage: update)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
== Usage ==
 
== Usage ==
Simple table template to maintain consistency between [[mice]] pages. All fields 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>
  
There is also an optional parameter "title" to change the title of the infobox when needed to be modified.
+
Additionally, there is an optional parameter:
 +
* "title" to change the title of the infobox when needed to be modified.
  
 
== 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 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).
 +
 
 +
Many mice have a subgroup.  An example of one with a subgroup is [[Eclipse]], which would be listed with:
 +
<pre> | mgroup  = Gauntlet Gladiators
 +
| subgroup = Tier Eight: The Eclipse
 +
</pre>
 +
 
 +
See more notes in the [[MHwiki:Manual of Style#Mice|Manual of Style]].

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.