Template:Song: Difference between revisions

From Umamusume Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{#ifeq:{{NAMESPACE}}|Template|| {{#cargo_store: _table=Songs |title={{{title|}}} |title_en={{{title_en|}}} |title_jp={{{title_jp|}}} |cover={{{cover|}}} |composer={{{composer|}}} |lyricist={{{lyricist|}}} |arranger={{{arranger|}}} }} }} </includeonly><noinclude> {{#cargo_declare: _table=Songs |title=String |title_en=String |title_jp=String |cover=File |composer=String |lyricist=String |arranger=String }} <templatedata> { "params": { "title": { "labe...")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifeq:{{NAMESPACE}}|Template||
{{Infobox Song
|title={{{title|{{PAGENAME}}}}}
|cover={{{cover|}}}
|jptitle={{{title_jp|}}}
|entitle={{{title_en|}}}
|composer={{{composer|}}}
|arrangement={{{arranger|}}}
|lyrics={{{lyricist|}}}
}}{{#ifeq:{{NAMESPACE}}|Template||
[[Category:Songs]]
{{#if:{{{composer|}}}||[[Category:Songs Missing Staff]]}}
{{#if:{{{arranger|}}}||[[Category:Songs Missing Staff]]}}
{{#if:{{{lyricist|}}}||[[Category:Songs Missing Staff]]}}
{{#cargo_store:
{{#cargo_store:
_table=Songs
_table=Songs
|title={{{title|}}}
|song_page={{PAGENAME}}
|title={{{title|{{PAGENAME}}}}}
|title_en={{{title_en|}}}
|title_en={{{title_en|}}}
|title_jp={{{title_jp|}}}
|title_jp={{{title_jp|}}}
Line 13: Line 26:
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Automatically includes [[Template:Infobox Song]].
{{#cargo_declare:
{{#cargo_declare:
_table=Songs
_table=Songs
|song_page=Page
|title=String
|title=String
|title_en=String
|title_en=String
Line 23: Line 39:
|arranger=String
|arranger=String
}}
}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"title": {
"label": "Title",
"description": "Romaji title",
"type": "string",
"required": true,
"suggested": true
},
"title_en": {
"title_en": {
"label": "Title (English)",
"label": "Title (English)",
Line 60: Line 68:
"arranger": {
"arranger": {
"label": "Arranger",
"label": "Arranger",
"type": "string"
},
"title": {
"label": "Title",
"description": "Use if there are special characters (e.g. #) in the page name preventing the full name from being displayed.",
"type": "string"
"type": "string"
}
}
}
},
"paramOrder": [
"title",
"title_en",
"title_jp",
"cover",
"composer",
"lyricist",
"arranger"
],
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 04:33, 10 April 2024

Automatically includes Template:Infobox Song.

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

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Use if there are special characters (e.g. #) in the page name preventing the full name from being displayed.

Stringoptional
Title (English)title_en

Translated title

Stringoptional
Title (JP)title_jp

no description

Stringsuggested
Covercover

Cover image file

Filesuggested
Composercomposer

no description

Stringoptional
Lyricistlyricist

no description

Stringoptional
Arrangerarranger

no description

Stringoptional