Template:M&SATLOG 3DS Challenges table: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "<includeonly>{| style="background:gainsboro;border:2px solid darkgray;text-align:center" !rowspan=2| {{{challengelabel|Challenge}}} !rowspan=2| Character(s) !rowspan=2| {{{opponentslabel|Opponents}}} !colspan=5| Events !rowspan=2| {{{gameplaylabel|Gameplay differences}}} |- !style="background:whitesmoke;border:1px solid darkgray"|1 !style="background:whitesmoke;border:1px solid darkgray"|2 !style="background:whitesmoke;border:1px solid darkgray"|3 !style="background:whit...")
 
No edit summary
Line 1: Line 1:
<includeonly>{| style="background:gainsboro;border:2px solid darkgray;text-align:center"
<includeonly>{| style="background:gainsboro;border:2px solid darkgray;text-align:center"
!rowspan=2| {{{challengelabel|Challenge}}}
!rowspan=2| Challenge
!rowspan=2| Character(s)
!rowspan=2| Character(s)
!rowspan=2| {{{opponentslabel|Opponents}}}
!rowspan=2| {{{opponentslabel|Opponents}}}
Line 12: Line 12:
!style="background:whitesmoke;border:1px solid darkgray"|5
!style="background:whitesmoke;border:1px solid darkgray"|5
|-
|-
{{#forargs:challenge|key|value|<nowiki/>
{{#forargs:characters|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{#var:key}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{#var:value}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{#var:value}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{characters{{#var:key}}|}}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{opponents{{#var:key}}|}}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{opponents{{#var:key}}|}}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{first_event{{#var:key}}|-}}}
{{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{first_event{{#var:key}}|-}}}
Line 29: Line 29:
<pre>
<pre>
{{M&SATLOG 3DS Challenges table
{{M&SATLOG 3DS Challenges table
|challenge1=
|characters1=
|characters1=
|opponents1=
|opponents1=
Line 41: Line 40:
</pre>
</pre>


This works for any amount of numbered <code>challenge</code>/<code>characters</code>/<code>count</code>/<code>first_event</code>/<code>second_event</code>/<code>third_event</code>/<code>fourth_event</code>/<code>fifth_event</code>/<code>gameplay</code> parameters.
This works for any amount of numbered <code>characters</code>/<code>count</code>/<code>first_event</code>/<code>second_event</code>/<code>third_event</code>/<code>fourth_event</code>/<code>fifth_event</code>/<code>gameplay</code> parameters.


All of the aforementioned "event" parameters display <code>-</code> if undefined.
All of the aforementioned "event" parameters display <code>-</code> if undefined.


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

Revision as of 21:43, May 21, 2024

This template establishes a consistent format of listing the challenges of a Story mode episode in the Nintendo 3DS version of Mario & Sonic at the London 2012 Olympic Games. The syntax is as follows:

{{M&SATLOG 3DS Challenges table
|characters1=
|opponents1=
|first_event1=
|second_event1=
|third_event1=
|fourth_event1=
|fifth_event1=
|gameplay1=
}}

This works for any amount of numbered characters/count/first_event/second_event/third_event/fourth_event/fifth_event/gameplay parameters.

All of the aforementioned "event" parameters display - if undefined.