Template:Infobox Song: Difference between revisions

From Umamusume Wiki
Jump to navigation Jump to search
(Created page with " <noinclude> <templatedata> { "params": { "title": { "label": "Song Title", "description": "title of the song in romaji", "suggested": true }, "cover": { "label": "Album Cover", "description": "cover of the album this song originated from", "suggested": true }, "jptitle": { "label": "JP Title", "description": "song title in japanese", "suggested": true }, "entitle": { "label": "EN Title", "description": "translation of the...")
 
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><table class="infobox">
<noinclude>
<tr>
<th class="infobox-title" colspan=2>{{{title|{{PAGENAME}}}}}</th>
</tr>
{{#if:{{{cover|}}}|
<tr>
<td class="infobox-image" colspan=2>[[Image:{{{cover}}}|270px]]</td>
</tr>
}}
<tr><td colspan=2><hr/></td></tr>
<tr>
<th class="infobox-subheader" colspan=2>Song Data</th>
</tr>
{{#if:{{{jptitle|}}}|
<tr>
<td>''Japanese''</td>
<td>{{{jptitle}}}</td>
</tr>
}}
{{#if:{{{entitle|}}}|
<tr>
<td>''Translated''</td>
<td>{{{entitle}}}</td>
</tr>
}}
{{#if:{{{composer|}}}|
<tr>
<td>''Composer''</td>
<td>{{{composer}}}</td>
</tr>
}}
{{#if:{{{arrangement|}}}|
<tr>
<td>''Arrangement''</td>
<td>{{{arrangement}}}</td>
</tr>
}}
{{#if:{{{lyrics|}}}|
<tr>
<td>''Lyrics''</td>
<td>{{{lyrics}}}</td>
</tr>
}}
</table>
</includeonly><noinclude>
{{Infobox Song
|title=Song Title
|cover=Work in Progress.png
|jptitle=JP Title
|entitle=EN Title
|composer=Composer Name
|arrangement=Arranger Name
|lyrics=Lyricist Name
}}
<templatedata>
<templatedata>
{
{
Line 7: Line 59:
"label": "Song Title",
"label": "Song Title",
"description": "title of the song in romaji",
"description": "title of the song in romaji",
"suggested": true
"suggested": true,
"type": "wiki-page-name"
},
},
"cover": {
"cover": {
"label": "Album Cover",
"label": "Album Cover",
"description": "cover of the album this song originated from",
"description": "cover of the album this song originated from",
"suggested": true
"suggested": true,
"type": "wiki-file-name"
},
},
"jptitle": {
"jptitle": {
"label": "JP Title",
"label": "JP Title",
"description": "song title in japanese",
"description": "song title in japanese",
"suggested": true
"suggested": true,
"type": "string"
},
},
"entitle": {
"entitle": {
"label": "EN Title",
"label": "EN Title",
"description": "translation of the song's title in english",
"description": "translation of the song's title in english",
"suggested": true
"suggested": true,
"type": "string"
},
},
"Arrangement": {
"arrangement": {
"label": "Arrangement",
"label": "Arrangement",
"description": "the person who arranged the song"
"description": "the person who arranged the song",
"type": "string"
},
},
"composition": {
"composer": {
"label": "Composition",
"label": "Composer",
"description": "the composer of the song"
"description": "the composer of the song",
"type": "string"
},
},
"Lyrics": {
"lyrics": {
"label": "Lyrics",
"label": "Lyrics",
"description": "the person who wrote the lyrics"
"description": "the person who wrote the lyrics",
},
"type": "string"
"Release Date": {
"label": "Release",
"description": "the date the song was released"
}
}
},
},
Line 45: Line 100:
"title",
"title",
"cover",
"cover",
"Release Date",
"jptitle",
"jptitle",
"entitle",
"entitle",
"composition",
"composer",
"Arrangement",
"arrangement",
"Lyrics"
"lyrics"
],
],
"format": "block"
"format": "block"

Latest revision as of 05:01, 15 March 2024

Song Title

Song Data
Japanese JP Title
Translated EN Title
Composer Composer Name
Arrangement Arranger Name
Lyrics Lyricist Name

Infobox for songs

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Song Titletitle

title of the song in romaji

Page namesuggested
Album Covercover

cover of the album this song originated from

Filesuggested
JP Titlejptitle

song title in japanese

Stringsuggested
EN Titleentitle

translation of the song's title in english

Stringsuggested
Composercomposer

the composer of the song

Stringoptional
Arrangementarrangement

the person who arranged the song

Stringoptional
Lyricslyrics

the person who wrote the lyrics

Stringoptional