Template:Inventory: Difference between revisions

From Paper Mario: TTYD Speedrun Wiki
Jump to navigation Jump to search
Added template documentation
No edit summary
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.

Revision as of 20:20, 11 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}}