Template:Content appearances: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 10: Line 10:
}}
}}
{{#if:{{{wikitable|}}}|{{!}}}|}}</includeonly><noinclude>
{{#if:{{{wikitable|}}}|{{!}}}|}}</includeonly><noinclude>
A variation of {{tem|content description}} that also lists the first and last levels where something appears.
A variation of {{tem|content description}} that also lists the first and last levels where something appears. For large lists, only use this if you're absolutely certain that everything has been added, since the manual process of adding a new entry in alphabetical order could result in all following numbered parameters each having to be incremented by one.


== Usage ==
== Usage ==

Revision as of 16:59, May 17, 2024

A variation of {{content description}} that also lists the first and last levels where something appears. For large lists, only use this if you're absolutely certain that everything has been added, since the manual process of adding a new entry in alphabetical order could result in all following numbered parameters each having to be incremented by one.

Usage

The syntax is as follows:

{{content appearances
|image1=
|name1=
|description1=
|firstlevel1=
|lastlevel1=
}}

This works for any amount of numbered image/name/description/firstlevel/lastlevel parameters.

Additionally, if the value of dk is set to y, then the dk class is applied to the wikitable. Granted, wikitable must be set to y to use this as a standalone wikitable rather than as rows within a wikitable. You can also apply the sortable class by setting the value of sortable to y to the wikitable.