Template:Track: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:title (label=Title)|key (label=Key)|image (label=Image)|duration (label=Duration)|bpm (label=BPM)|camelot (label=Camelot)|time_signature (label=Time Signature)}} | {{#template_params:title (label=Title)|key (label=Key)|image (label=Image)|duration (label=Duration)|bpm (label=BPM)|camelot (label=Camelot)|time_signature (label=Time Signature)|origin (label=Origin)}} | ||
{{#cargo_declare:_table=tracks|title=String|image=File|music_key=List (,) of String|duration=Integer|bpm=Integer|camelot=String|time_signature=String}} | {{#cargo_declare:_table=tracks|title=String|image=File|music_key=List (,) of String|duration=Integer|bpm=Integer|camelot=String|time_signature=String|origin=Page}} | ||
</noinclude><includeonly>{{#cargo_store:_table=tracks}}<table class="infobox-table citizen-table-nowrap floatright"> | </noinclude><includeonly>{{#cargo_store:_table=tracks}}<table class="infobox-table citizen-table-nowrap floatright"> | ||
<tr id="infobox-table-img-bg"> | <tr id="infobox-table-img-bg"> | ||
| Line 9: | Line 9: | ||
<th width="100%" colspan="3" class="infobox-table-name"><b>''{{{title}}}''</b></th> | <th width="100%" colspan="3" class="infobox-table-name"><b>''{{{title}}}''</b></th> | ||
</tr> | </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> | {{#if:{{{music_key|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Key<noinclude></noinclude></td> | <td width="40%" valign="top" colspan="2"><noinclude></noinclude>Key<noinclude></noinclude></td> | ||
| Line 29: | Line 33: | ||
<td width="60%">{{{duration}}}</td> | <td width="60%">{{{duration}}}</td> | ||
</tr>}} | </tr>}} | ||
</table>[[Category:{{FULLPAGENAME}}]] [[Category: | </table>[[Category:{{FULLPAGENAME}}]] [[Category:Tracks]] {{DISPLAYTITLE:"{{{title}}}"}}<templatestyles src="Template:Game/styles.css" /></includeonly> | ||
Revision as of 09:05, 27 October 2025
This is the "Track" template.
It should be called in the following format:
{{Track
|title=
|key=
|image=
|duration=
|bpm=
|camelot=
|time_signature=
|origin=
}}
Edit the page to see the template text.
This template defines the table "tracks". View table.