Template:Song: Difference between revisions
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 | ||
}} | }} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Use if there are special characters (e.g. #) in the page name preventing the full name from being displayed. | String | optional |
Title (English) | title_en | Translated title | String | optional |
Title (JP) | title_jp | no description | String | suggested |
Cover | cover | Cover image file | File | suggested |
Composer | composer | no description | String | optional |
Lyricist | lyricist | no description | String | optional |
Arranger | arranger | no description | String | optional |