Template:Item locations: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "<includeonly>{| class="wikitable" style="text-align:center;width:auto" ! {{{imagelabel|Image}}} ! Name ! {{{countlabel|Count}}} ! {{{noteslabel|Note(s)}}} {{#forargs:name|key|value|<nowiki/> {{!}}- {{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} {{{count{{#var:key}}|}}} {{!}}{{!}} style="text-align:left" {{!}} {{{notes{{#var:key}}|-}}} }} |}</includeonly><noinclude> == Usage == This template establishes a consistent format for listing a place's item o...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class=" | <includeonly>{| class="infobox-wide" style="background:gainsboro;border:2px solid darkgray;width:auto;text-align:center" | ||
! {{{imagelabel|Image}}} | ! {{{imagelabel|Image}}} | ||
! Name | ! Name | ||
Line 6: | Line 6: | ||
{{#forargs:name|key|value|<nowiki/> | {{#forargs:name|key|value|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} {{{count{{#var:key}}|}}} | {{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{image{{#var:key}}|}}} | ||
{{!}}style="border:1px solid darkgray;background:whitesmoke;text-align:left;padding:2px"{{!}}{{#var:value}} | |||
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{count{{#var:key}}|}}} | |||
{{!}}style="border:1px solid darkgray;background:whitesmoke;text-align:left;padding:2px"{{!}}{{{notes{{#var:key}}|-}}} | |||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> |
Revision as of 17:43, April 16, 2024
Usage
This template establishes a consistent format for listing a place's item or object locations in the Super Mario series or any other video game where items can appear in numbered quantities. For the template equivalent corresponding to role-playing games, see {{RPG item locations}}. The syntax is as follows:
{{Item locations |image1= |name1= |count1= |notes1= }}
This works for any amount of numbered image
/name
/count
/notes
parameters.