Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Track: Difference between revisions

Template page
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:title (label=Title)|key (label=Key)|duration (label=Duration)|bpm (label=BPM)|camelot (label=Camelot)|time_signature (label=Time Signature)}}
{{#template_params:image (label=Image)|title (label=Title)|key (label=Key)|duration (label=Duration)|bpm (label=BPM)|camelot (label=Camelot)|time_signature (label=Time Signature)|origin (label=Origin)}}
{{#cargo_declare:_table=tracks|title=String|music_key=List (,) of String|duration=Integer|bpm=Integer|camelot=String|time_signature=String}}
{{#cargo_declare:_table=tracks|image=File|title=String|music_key=List (,) of String|duration=Integer|bpm=Integer|camelot=String|time_signature=String|origin=Page}}
</noinclude><includeonly>{{#cargo_store:_table=tracks}}
</noinclude><includeonly>{{#cargo_store:_table=tracks}}<table class="infobox-table citizen-table-nowrap floatright">
{{#template_display:_format=infobox}}
<tr id="infobox-table-img-bg">
[[Category:Tracks]]
<td width="100%" colspan="3" class="infobox-table-img">{{#if:{{{image|}}}|[[{{{image}}}|400px]]|[[File:AlbumArt_Placeholder.jpg|400px]]}}</td>
</includeonly>
</tr>
<tr>
<th width="100%" colspan="3" class="infobox-table-name"><b>"{{{title}}}"</b></th>
</tr>
{{#if:{{{origin|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Origin<noinclude></noinclude></td>
<td width="60%">[[{{{origin}}}]]</td>
</tr>}}
{{#if:{{{music_key|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Key<noinclude></noinclude></td>
<td width="60%">{{{music_key}}}</td>
</tr>}}
{{#if:{{{camelot|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Camelot<noinclude></noinclude></td>
<td width="60%">{{{camelot}}}</td>
</tr>}}
{{#if:{{{time_signature|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Time Signature<noinclude></noinclude></td>
<td width="60%">{{{time_signature}}}</td>
</tr>}}
{{#if:{{{bpm|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>BPM<noinclude></noinclude></td>
<td width="60%">{{{bpm}}}</td>
</tr>}}
{{#if:{{{duration|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Duration<noinclude></noinclude></td>
<td width="60%">{{{duration}}}</td>
</tr>}}
</table>[[Category:{{FULLPAGENAME}}]] [[Category:Tracks]] {{{Appearances|}}} {{{Contributors|}}} {{{UnderlyingWorks|}}} {{DISPLAYTITLE:{{{title}}}}} {{SHORTDESC:from {{#getdisplaytitle:{{{origin}}} }} }}<templatestyles src="Template:Game/styles.css" /></includeonly>

Latest revision as of 19:27, 4 November 2025

This is the "Track" template.

It should be called in the following format:

{{Track
|image=
|title=
|key=
|duration=
|bpm=
|camelot=
|time_signature=
|origin=
}}

Edit the page to see the template text.

This template defines the table "tracks". View table.