Template:Sunshine Blue Coins table: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 6: Line 6:
{{#forargs:image|key|value|<nowiki/>
{{#forargs:image|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}} style="text-align:center"{{!}}{{#var:key}} {{!}}{{!}} style="text-align:center"{{!}}{{#var:value}} {{!}}{{!}} style="text-align:center"{{!}}{{{episode{{#var:key}}|}}} {{!}}{{!}} {{{location{{#var:key}}|}}}
{{!}} style="text-align:center" {{!}} {{#var:key}} {{!}}{{!}} style="text-align:center" {{!}} {{#var:value}} {{!}}{{!}} style="text-align:center" {{!}} {{{episode{{#var:key}}|All}}} {{!}}{{!}} {{{location{{#var:key}}|}}}
}}
}}
|}</includeonly><noinclude>This template establishes a consistent format for displaying a list [[Blue Coin]]s across the different courses of ''[[Super Mario Sunshine]]''.
|}</includeonly><noinclude>This template establishes a consistent format for displaying a list [[Blue Coin]]s across the different courses of ''[[Super Mario Sunshine]]''.
Line 20: Line 20:
</pre>
</pre>


This works for any amount of numbered <code>image</code>/<code>episode</code>/<code>location</code> parameters.
This works for any amount of numbered <code>image</code>/<code>episode</code>/<code>location</code> parameters. If a given <code>episode</code> parameter is omitted, then the default value of "All" is used.


[[Category:Content templates]]</noinclude>
[[Category:Content templates]]</noinclude>

Revision as of 11:35, January 23, 2024

This template establishes a consistent format for displaying a list Blue Coins across the different courses of Super Mario Sunshine.

Usage

This template should be placed in the "Blue Coin locations" section of a Super Mario Sunshine course article, such as Bianco Hills. The syntax is as follows:

{{Sunshine Blue Coins table
|image1=
|episode1=
|location1=
}}

This works for any amount of numbered image/episode/location parameters. If a given episode parameter is omitted, then the default value of "All" is used.