Template:Media/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Text replacement - "{{Documentation Footer}}" to "<noinclude>Category:Template Documentation</noinclude>")
mNo edit summary
Line 17: Line 17:
<pre>
<pre>
{{Media/Header}}
{{Media/Header}}
{{Media List|1|2}}
{{Media|1|2}}
|}
|}
</pre>
</pre>

Revision as of 01:57, 29 February 2024

Purpose

Used to create sortable tables for listing media titles in a series, using both a header template and multiple row templates. Template:Media/Header is placed at the top of the table, and the table must be closed by appending |} on the following line.

This table is mainly intended for Series Pages and should be used to list all titles of a particular media type. Media should be listed by their Japanese release date order.

Usage

Parameter Description
1 The linked media title, using Template:Link.
2 The original Japanese release date or debut of the media title.

Code

{{Media/Header}}
{{Media|1|2}}
|}

Examples

{{Media/Header}}
{{Media|{{Link|Game|smt}}|October 30, 1992}}
{{Media|{{Link|Game|smt2}}|March 18, 1994}}
|}
Title Release
Lua error in Module:Link at line 60: attempt to index global 'link' (a nil value).
October 30, 1992
Shin Megami Tensei II
March 18, 1994