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
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>{| class="wikitable" style="text-align:center"
! #
! #
! {{{imagelabel|Image}}}
! {{{imagelabel|Image}}}
Line 6: Line 6:
{{#forargs:image|key|value|<nowiki/>
{{#forargs:image|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}} {{#var:key}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} {{{episode{{#var:key}}|}}} {{!}}{{!}} {{{location{{#var:key}}|}}}
{{!}} {{#var:key}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} {{{episode{{#var:key}}|All}}} {{!}}{{!}} style="text-align:left" {{!}} {{{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 of [[Blue Coin]]s across the different courses of ''[[Super Mario Sunshine]]''.
 
== Usage ==
== 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:
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:
Line 20: Line 22:
</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.
 
=== Notes ===
* Multiple entries within a single parameter (e.g. <code>episode1</code>) should be separated by <code><nowiki><br></nowiki></code>.


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

Latest revision as of 16:14, June 16, 2024

This template establishes a consistent format for displaying a list of 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.