Template:Album Song: Difference between revisions
No edit summary |
mNo edit summary |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>:{{{track|}}}. {{#switch:{{{type|}}} | ||
{{{song|}}} | |drama={{tooltip|{{{song_display|{{{song|}}}}}}|{{{original_name|}}}}} ''(Drama)'' | ||
{{#ifeq:{{NAMESPACE}}|Template|| | |bgm={{tooltip|{{{song_display|{{{song|}}}}}}|{{{original_name|}}}}} | ||
|[[{{{song|}}}{{#if:{{{song_display|}}}|{{!}}}}{{{song_display|}}}]] | |||
}}{{#if:{{{singers|}}} | |||
|:::'''{{#ifeq:{{{type|}}}|drama|Participants|Singers}}:''' {{#invoke:Utils|splitLinks|{{{singers|}}}}} | |||
}}{{#ifeq:{{NAMESPACE}}|Template|| | |||
{{#cargo_store: | {{#cargo_store: | ||
_table=Album_Songs | _table=Album_Songs | ||
|album={{PAGENAME}} | |album={{PAGENAME}} | ||
|song={{{song|}}} | |song_page={{{song|}}} | ||
|song_title={{{song_display|{{{song|}}}}}} | |||
|disc={{{disc|}}} | |disc={{{disc|}}} | ||
|track={{{track|}}} | |track={{{track|}}} | ||
|singers={{{singers|}}} | |singers={{{singers|}}} | ||
|type={{{type|}}} | |||
|original_name={{{original_name|}}} | |||
}} | }} | ||
}}</includeonly><noinclude> | |||
{{Album Song | |||
| song = Rising Girl | |||
| song_display = Rising Girl (Off Vocal) | |||
| disc = 1 | |||
| track = 1 | |||
| singers = Daiwa Scarlet, Vodka | |||
}} | }} | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table=Album_Songs | _table=Album_Songs | ||
|album=Page | |album=Page | ||
| | |song_page=Page | ||
|song_title=String | |||
|display_song | |||
|disc=Integer | |disc=Integer | ||
|track=Integer | |track=Integer | ||
|singers=List (,) of Page | |singers=List (,) of Page | ||
|type=String | |||
|original_name=String | |||
}} | }} | ||
<templatedata> | <templatedata> | ||
Line 30: | Line 48: | ||
}, | }, | ||
"disc": { | "disc": { | ||
"label": "Disc | "label": "Disc Number", | ||
"type": "number", | "type": "number", | ||
"suggested": true | "suggested": true | ||
Line 40: | Line 58: | ||
}, | }, | ||
"singers": { | "singers": { | ||
"label": " | "label": "Singers", | ||
"example": "Special Week, Silence Suzuka", | "example": "Special Week, Silence Suzuka", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "List of singers, separated by commas" | |||
}, | |||
"song_display": { | |||
"label": "Song Display", | |||
"description": "The text to display in place of the song page name. Used mainly for Off Vocal / Game Size versions.", | |||
"type": "string" | |||
}, | |||
"type": { | |||
"label": "Song Type", | |||
"description": "The type of song or media, if not a standard song. \"drama\" for CD drama tracks, \"bgm\" for vocal-less background music releases, \"offvocal\" for off vocal versions of songs, \"solover\" for a solo version of a song, \"remix\" for a remix of a song, \"short\" for short tracks included in OST that have a singer but aren't considered a full song, and \"shortver\" for TV/Game size releases", | |||
"example": "drama", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"drama", | |||
"bgm", | |||
"offvocal", | |||
"solover", | |||
"remix", | |||
"short", | |||
"shortver" | |||
] | |||
}, | |||
"original_name": { | |||
"label": "Original Name", | |||
"description": "Japanese name of a BGM/Drama/etc track to be displayed alongside the english title.", | |||
"type": "string" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"song", | |||
"song_display", | |||
"disc", | |||
"track", | |||
"singers", | |||
"type", | |||
"original_name" | |||
], | |||
"format": "block" | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 01:10, 3 October 2024
- 1. Rising Girl (Off Vocal)
- Singers: Daiwa Scarlet, Vodka
This template defines the table "Album_Songs". View table.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Song | song | Song page for the song in question | Page name | required |
Song Display | song_display | The text to display in place of the song page name. Used mainly for Off Vocal / Game Size versions. | String | optional |
Disc Number | disc | no description | Number | suggested |
Track Number | track | no description | Number | suggested |
Singers | singers | List of singers, separated by commas
| String | suggested |
Song Type | type | The type of song or media, if not a standard song. "drama" for CD drama tracks, "bgm" for vocal-less background music releases, "offvocal" for off vocal versions of songs, "solover" for a solo version of a song, "remix" for a remix of a song, "short" for short tracks included in OST that have a singer but aren't considered a full song, and "shortver" for TV/Game size releases
| String | optional |
Original Name | original_name | Japanese name of a BGM/Drama/etc track to be displayed alongside the english title. | String | optional |