Template:RPG item locations: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
Line 7: Line 7:
{{#forargs:item|key|value|<nowiki/>
{{#forargs:item|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}} {{#var:value}} {{!}}{{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} style="text-align:left" {{!}} {{{location{{#var:key}}|}}} {{#if:{{{locationimage{{#var:key}}|}}}|{{!}}{{!}} {{{locationimage{{#var:key}}|}}}|}} {{#if:{{{locationimager{{#var:key}}|}}}|{{!}}{{!}} {{{locationimager{{#var:key}}|}}}|}}
{{!}} {{#var:value}} {{!}}{{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} style="text-align:left" {{!}} {{{location{{#var:key}}|}}}
{{#if:{{{locationimage{{#var:key}}|}}}|{{!}}{{!}} {{{locationimage{{#var:key}}|}}}|<nowiki/>}}
{{#if:{{{locationimager{{#var:key}}|}}}|{{!}}{{!}} {{{locationimager{{#var:key}}|}}}|<nowiki/>}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>

Latest revision as of 23:59, October 5, 2024

Usage

This template establishes a consistent format for listing a place's item locations in the Paper Mario series and the Mario & Luigi series. The syntax is as follows:

{{RPG item locations
|item1=
|image1=
|location1=
}}

Optional parameters (for images of the locations in the original game and remake):

|locationimage1=
|locationimager1=

This works for any amount of numbered item/image/location parameters.