Difference between revisions of "Template:Collectible Row"

From MHWiki
m (vertical alignment)
m (Added scroll-margin-top attribute)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
|- 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:
|-
+
<nowiki>{{</nowiki>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      = <nowiki>{{Template:Source/ABC item}}</nowiki>
 +
  | 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)
 +
<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)
}}