Template:Appearances list: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(i asked about this first)
 
No edit summary
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:100%; text-align:center"
<includeonly>{|class="wikitable sortable" style="width:100%"
! width="40%" | Title
! width="2%"  | #
! width="20%" | {{{descriptionlabel|Description}}}
! width="28%" | {{{titlelabel|Title}}}
! width="30%" | {{{rolelabel|Role}}}
! width="20%" | {{{releaselabel|Release date}}}
! width="20%" | {{{releaselabel|Release date}}}
! width="20%" | {{{formatlabel|Format}}}
! width="20%" | {{{formatlabel|Format}}}
{{#forargs:title|key|value|<nowiki/>
{{#forargs:title|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} style="text-align:left" {{!}} {{{description{{#var:key}}|}}}
{{!}} {{#var:key}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} {{{role{{#var:key}}|}}} {{!}}{{!}} {{{release{{#var:key}}|}}} {{!}}{{!}} {{{format{{#var:key}}|}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template establishes a consistent format for displaying a list of a subject's appearances under the "List of appearances" section on their page.
This template establishes a consistent format for displaying a subject's appearances under the "List of appearances" section on their page.
 
It may not be recommended to use this on pages covering something that has made many appearances, such as [[Mario]], since more earlier appearances of him tend be discovered over time, and this would require manually incrementing many numbered parameters by one, starting from the chronological appearance number of the newly added media.


== Usage ==
== Usage ==
Line 17: Line 20:
{{appearances list
{{appearances list
|title1=
|title1=
|description1=
|role1=
|release1=
|release1=
|format1=
|format1=

Revision as of 18:12, April 16, 2024

This template establishes a consistent format for displaying a subject's appearances under the "List of appearances" section on their page.

It may not be recommended to use this on pages covering something that has made many appearances, such as Mario, since more earlier appearances of him tend be discovered over time, and this would require manually incrementing many numbered parameters by one, starting from the chronological appearance number of the newly added media.

Usage

The syntax is as follows:

{{appearances list
|title1=
|role1=
|release1=
|format1=
}}

This works for any amount of numbered title/description/release/format parameters.