Template:Inventory: Difference between revisions

From Paper Mario: TTYD Speedrun Wiki
Jump to navigation Jump to search
Added template documentation
m Protected "Template:Inventory": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| class=infobox
{| class=infobox
|colspan=2 style="background:#E0B344; padding-left:5px"|'''Inventory''' {{#if:{{{notes|}}}|{{{notes}}}}}
|colspan=2 style="background:#E0B344; padding-left:5px"|'''Inventory''' {{#if:{{{notes|}}}|{{{notes}}}}}
|-
|-
Line 34: Line 33:
{{!}}-
{{!}}-
{{#if:{{{endnotes|}}}|{{!}}colspan=2{{!}}''{{{endnotes}}}''}}
{{#if:{{{endnotes|}}}|{{!}}colspan=2{{!}}''{{{endnotes}}}''}}
|}
|}</includeonly><noinclude>
</includeonly>
<noinclude>
{{Inventory|notes=''(post-chapter)''|Mushroom|Fire Flower|Ice Storm|Life Shroom|Shooting Star|Shooting Star|Mushroom|endnotes=The second Shooting Star is optional}}
{{Inventory|notes=''(post-chapter)''|Mushroom|Fire Flower|Ice Storm|Life Shroom|Shooting Star|Shooting Star|Mushroom|endnotes=The second Shooting Star is optional}}
Creates an inventory infobox on the right side of the page. Optional notes and endnotes are available. 20 item capacity. Only fully compatible with inventory items, as the template uses [[Template:InlineIcon]] transclusions without any optional parameters.
Creates an inventory infobox on the right side of the page. Optional notes and endnotes are available. 20 item capacity. Only fully compatible with inventory items, as the template uses [[Template:InlineIcon]] transclusions without any optional parameters.
Line 42: Line 39:
The infobox on the right is created using the following wiki-text:
The infobox on the right is created using the following wiki-text:


'''<nowiki>
<pre>
{{Inventory|notes=''(post-chapter)''|Mushroom|Fire Flower|Ice Storm|Life Shroom|Shooting Star|Shooting Star|Mushroom|endnotes=The second Shooting Star is optional}}
{{Inventory|notes=''(post-chapter)''|Mushroom|Fire Flower|Ice Storm|Life Shroom|Shooting Star|Shooting Star|Mushroom|endnotes=The second Shooting Star is optional}}
</nowiki>'''
</pre>
</noinclude>
</noinclude>

Latest revision as of 19:13, 12 November 2026

Inventory (post-chapter)
Mushroom Fire Flower
Ice Storm Life Shroom
Shooting Star Shooting Star
Mushroom
The second Shooting Star is optional

Creates an inventory infobox on the right side of the page. Optional notes and endnotes are available. 20 item capacity. Only fully compatible with inventory items, as the template uses Template:InlineIcon transclusions without any optional parameters.

The infobox on the right is created using the following wiki-text:

{{Inventory|notes=''(post-chapter)''|Mushroom|Fire Flower|Ice Storm|Life Shroom|Shooting Star|Shooting Star|Mushroom|endnotes=The second Shooting Star is optional}}