Template:Sunshine episodes table: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "{{!}}}}{{{" to "{{!}}}} {{{")
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable {{#if:{{{sortable|}}}|sortable}}" style="text-align:center"
<includeonly>{| class="wikitable {{#if:{{{sortable|}}}|sortable}}" style="text-align:center"
!#
! #
!{{#if:{{{sortable|}}}|class="unsortable" {{!}}}}Image
! class="unsortable" | Image
!{{{episodelabel|Episode}}}
! {{{episodelabel|Episode}}}
!{{#if:{{{sortable|}}}|class="unsortable" {{!}}}} {{{summarylabel|Summary}}}
! class="unsortable" | {{{summarylabel|Summary}}}
{{#forargs:image|key|value|<nowiki/>
{{#forargs:image|key|value|<nowiki/>
{{!}}-
{{!}}-

Latest revision as of 08:47, June 11, 2024

This template establishes a consistent format of listing the episodes of a course in Super Mario Sunshine. The syntax is as follows:

{{Sunshine episodes table
|image1=
|episode1=
|summary1=
}}

This works for any amount of numbered image/episode/summary parameters.

In addition, you can apply the sortable class to the template by setting the value of sortable to y.