Difference between revisions of "Template:Mice/Row"

From MHWiki
m (Updated format)
m (Added conditional shading for "A-Z" (Sort) column)
Line 1: Line 1:
 
<includeonly>|- style="vertical-align: top; scroll-margin-top: 2.498em" id="{{{Sort|}}}"
 
<includeonly>|- style="vertical-align: top; scroll-margin-top: 2.498em" id="{{{Sort|}}}"
  | style="background-color: #dddddd" <!-- Sort -->        | {{if|{{{Sort|}}}|'''{{{Sort}}}'''|}}
+
  | {{if|{{{Sort|}}}|style="background-color: #dddddd"|}} <!-- Sort -->        | {{if|{{{Sort|}}}|'''{{{Sort}}}'''|}}
  | style="text-align:left"           <!-- Mouse -->      | {{{Mouse|}}}
+
  | style="text-align:left"                               <!-- Mouse -->      | {{{Mouse|}}}
  | style="background-color: #EFC"   <!-- Location -->    | {{{Location|}}}
+
  | style="background-color: #EFC"                       <!-- Location -->    | {{{Location|}}}
  |                                   <!-- Points -->      | {{{Points|}}}
+
  |                                                       <!-- Points -->      | {{{Points|}}}
  |                                   <!-- Gold -->        | {{{Gold|}}}
+
  |                                                       <!-- Gold -->        | {{{Gold|}}}
  | style="background-color: #FFE"   <!-- Cheese -->      | {{{Pref_cheese|}}}
+
  | style="background-color: #FFE"                       <!-- Cheese -->      | {{{Pref_cheese|}}}
  | style="background-color: #DEF"   <!-- Mouse Group --> | {{{Mouse_group|}}}
+
  | style="background-color: #DEF"                       <!-- Mouse Group --> | {{{Mouse_group|}}}
  | style="background-color: #DEF"   <!-- Subgroup -->    | {{{Sub_group|}}}</includeonly><noinclude>This template is designed for use within the templates on the [[Mice]] page. ([[Template:Mice/Q]] for example).  Sample usage is as follows:
+
  | style="background-color: #DEF"                       <!-- Subgroup -->    | {{{Sub_group|}}}</includeonly><noinclude>This template is designed for use within the templates on the [[Mice]] page. ([[Template:Mice/Q]] for example).  Sample usage is as follows:
 
  <nowiki>{{</nowiki>Mice/Row
 
  <nowiki>{{</nowiki>Mice/Row
 
   | Sort        = '''Only for the first mouse of each letter. Leave blank otherwise.'''
 
   | Sort        = '''Only for the first mouse of each letter. Leave blank otherwise.'''

Revision as of 16:29, 29 September 2022

This template is designed for use within the templates on the Mice page. (Template:Mice/Q for example). Sample usage is as follows:

{{Mice/Row
 | Sort        = Only for the first mouse of each letter. Leave blank otherwise.
 | Mouse       = The name of the mouse as is caught in-game: do note that it may differ from Mice page in-game! 
 | Location    = Please list them in alphabetical order. Event Mice: only current locations. Non-Event Mice: no Event locations.
 | Points      = Self-explanatory, don't forget the comma every 3 digits
 | Gold        = Self-explanatory, don't forget the comma every 3 digits
 | Pref_cheese = Please list them in alphabetical order. Event Mice: only current bait. Non-Event Mice: no Event bait.
 | Mouse_group = Self-explanatory
 | Sub_group   = Self-explanatory
}}