Difference between revisions of "Template:Mouse/docs"

From MHWiki
m (added documentation of traptype attribute for future editors)
m (Updated)
(4 intermediate revisions by 3 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>{{ Mouse
  | id         =
+
  | id =
  | maxpoints  =  
+
  | maxpoints =
  | mingold    =  
+
  | mingold =
  | loot      =  
+
  | mgroup =
  | habitat   =  
+
  | subgroup =
  | mgroup    =  
+
  | habitat =
  | traptype   =
+
  | loot =
  | bait       =  
+
  | traptype =
  | mhinfo     =  
+
  | bait =
  | image     =  
+
| charm =
  | desc       =  
+
| other =
 +
  | mhinfo =
 +
  | image =
 +
  | desc =
 
  }}</pre>
 
  }}</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]].

Revision as of 01:21, 6 February 2018

Usage

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

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

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.