Template:Song: Difference between revisions

From Umamusume Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox Song
{{Infobox Song
|title={{{title|}}}
|title={{{title|{{PAGENAME}}}}}
|cover={{{cover|}}}
|cover={{{cover|}}}
|jptitle={{{title_jp|}}}
|jptitle={{{title_jp|}}}
Line 8: Line 8:
|arrangement={{{arranger|}}}
|arrangement={{{arranger|}}}
|lyrics={{{lyricist|}}}
|lyrics={{{lyricist|}}}
}}
}}{{#ifeq:{{NAMESPACE}}|Template||
{{#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 22: 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 31: Line 38:
|lyricist=String
|lyricist=String
|arranger=String
|arranger=String
}}
{{Song
|title=Song Title
|title_jp=JP Title
|title_en=EN Title
|cover=Work in Progress.png
|composer=Composer Name
|lyricist=Lyricist Name
|arranger=Arranger Name
}}
}}
<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 77: 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