Difference between revisions of "Template:Collectible Row"

From MHWiki
(documentation)
m (Added scroll-margin-top attribute)
 
(3 intermediate revisions by 2 users 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" | {{{Description|?}}}
+
  | | {{{Description|?}}}
  | align="left" | {{{Usage|None}}}
+
  | | {{{Usage|?}}}
  | align="left" | {{{Source|?}}}
+
  | | {{{Source|?}}}
  | align="left" | [{{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 [[Collectibles]] and [[Special]] (non-interactive items) pages.  Sample usage is as follows:
|-
 
</includeonly><noinclude>
 
This template is designed for use within rows of the tables of the [[Collectibles]] page.  Sample usage is as follows:
 
 
  <nowiki>{{</nowiki>Collectible Row
 
  <nowiki>{{</nowiki>Collectible Row
| Name        = Bronze Tournament Trophy
+
  | Name        = ABC item
| LLL        = tournament_trophy_bronze_collectible
+
  | LLL        = abc_item (see [[Template:MHinfo]] for more detail)
| Sup        =
+
  | Note        = Limited Edition and other notes etc. '''Leave blank if nothing.'''
| Note        =
+
  | 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.
+
  | Usage      = List items in alphabetical order. '''Leave none if nothing.'''
| Usage      = None
+
  | Source      = <nowiki>{{Template:Source/ABC item}}</nowiki>
| Source      = <nowiki>[[Tournaments]]</nowiki>
+
  | Image_link  = /images/items/collectibles/xxxxx.gif (Low-resolution images usually in .gif format)
| Image_link  = /images/items/collectibles/aec8ef247426f3560899d7ebafbb2ac5.jpg
+
  | 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:43, 27 February 2022

This template is designed for use within rows of the tables of the Collectibles and Special (non-interactive items) pages. Sample usage is as follows:

{{Collectible Row
 | Name        = ABC item
 | LLL         = abc_item (see Template:MHinfo for more detail)
 | Note        = Limited Edition and other notes etc. Leave blank if nothing.
 | Description = Taken verbatim from Larry's Loot Lexicon
 | Usage       = List items in alphabetical order. Leave none if nothing.
 | Source      = {{Template:Source/ABC item}}
 | 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)
}}