Difference between revisions of "Template:Mice/Row"

From MHWiki
(create template)
 
m (Typo 2)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|- valign="top"
+
<includeonly>|- style="vertical-align: top; scroll-margin-top: 2.498em" id="{{{Sort|}}}"
  ! style="background:#707070;color:#fff;" | {{{sort|}}}
+
  | style="background-color: #{{if|{{{Sort|}}}|dddddd|}}" <!-- Sort -->        | {{if|{{{Sort|}}}|'''{{{Sort}}}'''|}}
  | style="border-bottom:2px solid #ddd; text-align:left;" | '''[[{{{Mouse}}}]]'''
+
  | style="text-align:left"                               <!-- Mouse -->      | {{{Mouse|}}}
  | style="border-bottom:2px solid #ddd; background:#EFC;" | {{{Location|0}}}
+
  | style="background-color: #EFC"                       <!-- Location -->    | {{{Location|}}}
  | style="border-bottom:2px solid #ddd;" | {{{Points}}}
+
  |                                                       <!-- Points -->      | {{{Points|}}}
  | style="border-bottom:2px solid #ddd;" | {{{Gold}}}
+
  |                                                       <!-- Gold -->        | {{{Gold|}}}
  | style="border-bottom:2px solid #ddd; background:#FFE;" | {{{Pref_cheese}}}
+
  | style="background-color: #FFE"                       <!-- Cheese -->      | {{{Pref_cheese|}}}
  | style="border-bottom:2px solid #ddd; background:#DEF;" | [[{{{Mouse_group}}}]]
+
  | style="background-color: #DEF"                       <!-- Mouse Group --> | {{{Mouse_group|}}}
  | style="border-bottom:2px solid #ddd; background:#DEF;" | {{{Sub_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:
|-
 
</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       = <nowiki><div id="Q">Q</div></nowiki>
+
  | Sort       = '''Only for the first mouse of each letter. Leave blank otherwise.'''
| Mouse      = Leprechaun Mouse
+
  | Mouse      = The name of the mouse '''as is caught in-game''': do note that it may differ from Mice page in-game!
| Location    = <nowiki>[[Town of Digby]]<br/>[[Claw Shot City]]</nowiki>
+
  | Location    = Please list them in '''alphabetical order'''. Event Mice: only current locations. Non-Event Mice: no Event locations.
| Points      = 28,000
+
  | Points      = Self-explanatory, don't forget the comma every 3 digits
| Gold        = 999,000
+
  | Gold        = Self-explanatory, don't forget the comma every 3 digits
| Pref_cheese = Marble
+
  | Pref_cheese = Please list them in '''alphabetical order'''. Event Mice: only current bait. Non-Event Mice: no Event bait.
| Mouse_group = Event
+
  | Mouse_group = Self-explanatory
| Sub_group  = <nowiki>[[:Category:Event Mice (Prize)|Prize]]</nowiki>
+
  | Sub_group  = Self-explanatory
  <nowiki>}}</nowiki>
+
  <nowiki>}}</nowiki></noinclude>
</noinclude>
 

Latest revision as of 16:36, 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
}}