Difference between revisions of "Template:Interactive Special Row"

From MHWiki
m (Created)
 
m (Added documentation for 'produces' parameter)
 
(3 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="{{{Name|}}}"
| align="left" | <div id="{{{Name|0}}}">{{MHinfo|{{{LLL|0}}}|{{{Name|0}}}}}</div> <sup>{{{Sup|}}}</sup>{{{Note|}}}
+
|  | {{MHinfo|{{{LLL|?}}}|{{{Name|?}}}}}<br>{{{Note|}}}
  | align="left" | {{{Action|?}}}
+
  | | {{{Action|?}}}
  | align="left" | {{{Description|?}}}
+
  | | {{{Description|?}}}
  | align="left" | {{{Source|?}}}
+
  | | {{{Source|?}}}
  | align="left" | {{{Produces|None}}}
+
  | | {{{Produces|?}}}
  | align="left" | {{if|{{{Image_link|}}}|[{{MHdomain}}{{{Image_link}}} Image]|?}}<br/>{{{Image_link2|}}}
+
  | | {{if|{{{Image_link|}}}|[{{MHdomain}}{{{Image_link}}} Image]|?}}<br>{{if|{{{Image_link2|}}}|[{{MHdomain}}{{{Image_link2}}} {{{Image_2desc|Image}}}]|}}</includeonly><noinclude>This template is designed for use within rows of the tables of the [[Special]] (interactive items) page. Sample usage is as follows:
|-
 
</includeonly><noinclude>
 
This template is designed for use within rows of the tables of the [[Special#Interactive Special Items]] page. Sample usage is as follows:
 
 
  <nowiki>{{</nowiki>Interactive Special Row
 
  <nowiki>{{</nowiki>Interactive Special Row
| Name        = Balack's Claw Crate
+
  | Name        = ABC item
| LLL        = balacks_cove_claw_shot_crate_convertible
+
  | LLL        = abc_item (see [[Template:MHinfo]] for more detail)
| Sup        =
+
  | Note        = Limited Edition and other notes etc. '''Leave blank if nothing.'''
| Note        =
+
  | Action     = Open (the default, copy verbatim from Special tab)
| Action   =Open
+
  | Description = Taken verbatim from Larry's Loot Lexicon
| Description = These trophies are a reward for finishing in 3rd place in one of the King's MouseHunting Tournaments.
+
  | Source      = <nowiki>{{Template:Source/ABC item}}</nowiki>
| Source      = <nowiki> [[Claw Shot City General Store]]</nowiki>
+
  | Produces   = List items in alphabetical order.
| Produces  =<nowiki> 20 [[Vanilla Bean]]s <br/>2 Lich Loot</nowiki>
+
   | Image_link  = /images/items/collectibles/xxxxx.gif (Low-resolution images usually in .gif format)
| Image_link  = /images/items/convertibles/ee0b278a37f5d242a124b4fc2ead7f7c.gif
+
  | Image_link2 = /images/items/stats/large/xxxxx.png (High-resolution images usually in .png format)
  <nowiki>}}</nowiki>
+
  | Image_2desc = High-resolution Image (default)
</noinclude>
+
  <nowiki>}}</nowiki></noinclude>

Latest revision as of 20:42, 27 February 2022

This template is designed for use within rows of the tables of the Special (interactive items) page. Sample usage is as follows:

{{Interactive Special Row
 | Name        = ABC item
 | LLL         = abc_item (see Template:MHinfo for more detail)
 | Note        = Limited Edition and other notes etc. Leave blank if nothing.
 | Action      = Open (the default, copy verbatim from Special tab)
 | Description = Taken verbatim from Larry's Loot Lexicon
 | Source      = {{Template:Source/ABC item}}
 | Produces    = List items in alphabetical order.
 | Image_link  = /images/items/collectibles/xxxxx.gif (Low-resolution images usually in .gif format)
 | Image_link2 = /images/items/stats/large/xxxxx.png (High-resolution images usually in .png format)
 | Image_2desc = High-resolution Image (default)
}}