Template:Music: Difference between revisions
King Horror (talk | contribs) (Created page with "<includeonly>{{Infobox|title={{{title1|{{{title|{{PAGENAME}}}}}}}}|image={{{image1|{{{image}}}}}}|content={{Infobox/row|Photo|{{{caption1|}}}}}{{Infobox/row|Artist|{{{artist|}}}}}{{Infobox/row|Release Date|{{{release_date|}}}}}{{Infobox/row|US Billboard 200 Chart|{{{us_billboard_200|}}}}}{{Infobox/row|Gambia Billboard 75 Chart|{{{gambia_billboard_75|}}}}}{{Infobox/row|Number of Tracks|{{{number_of_tracks|}}}}}{{Infobox/row|Record Label|{{{record_label|}}}}}{{Infobox/row|...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox|title= | <includeonly>{{Infobox|title={{{title|{{PAGENAME}}}}}|image={{{image}}}|caption={{{caption|{{{caption|}}}}}}|content={{Infobox/row|Artist|{{{artist|}}}}}{{Infobox/row|Release Date|{{{release_date|}}}}}{{Infobox/row|US Billboard 200 Chart|{{{us_billboard_200|}}}}}{{Infobox/row|Gambia Billboard 75 Chart|{{{gambia_billboard_75|}}}}}{{Infobox/row|Number of Tracks|{{{tracks|}}}}}{{Infobox/row|Record Label|{{{record_label|}}}}}{{Infobox/row|Singles|{{{singles|}}}}}{{Infobox/row|Release Chronology|{{{chronology|}}}}}}}</includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"title": { | "title": { | ||
"description": "The name to show above the image. Defaults to the page name", | "description": "The name to show above the image. Defaults to the page name", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"image": { | "image": { | ||
"description": "The image", | |||
"description": "The image | |||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": true | "required": true | ||
}, | }, | ||
"artist": { | "artist": { | ||
"description": " | "description": "Who created this piece of music" | ||
}, | }, | ||
"release_date": { | "release_date": { | ||
"description": "When | "description": "When it was released" | ||
}, | }, | ||
"us_billboard_200": { | "us_billboard_200": { | ||
"description": " | "description": "US Billboard 200", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"gambia_billboard_75": { | "gambia_billboard_75": { | ||
"description": " | "description": "The Gambia Billboard 75" | ||
}, | |||
"record_label": { | |||
"description": "Record label" | |||
}, | }, | ||
"singles": { | |||
"description": " | "description": "Singles" | ||
}, | }, | ||
"caption": { | |||
"description": " | "description": "The caption to add below the image", | ||
"type": "string" | |||
}, | }, | ||
"tracks": { | |||
"description": " | "description": "How many tracks this has" | ||
}, | }, | ||
"chronology": { | |||
"description": " | "description": "Release chronology" | ||
} | } | ||
}, | }, | ||
"description": "Template used to display special items and objects. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’ and ‘image1’ are also accepted instead of ‘title’ and ‘image’, respectively; ‘caption1’ is also accepted, but ignored (it may be used for hover text on the image in the future). \n\nNewer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited.\n\nTo include additional character information in a page, use the ‘Character Sheet’ template (capitalisation matters!)." | "description": "Template used to display special items and objects. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’ and ‘image1’ are also accepted instead of ‘title’ and ‘image’, respectively; ‘caption1’ is also accepted, but ignored (it may be used for hover text on the image in the future). \n\nNewer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited.\n\nTo include additional character information in a page, use the ‘Character Sheet’ template (capitalisation matters!).", | ||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"artist", | |||
"release_date", | |||
"us_billboard_200", | |||
"gambia_billboard_75", | |||
"tracks", | |||
"record_label", | |||
"singles", | |||
"chronology" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:40, 25 July 2024
Template used to display special items and objects. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’ and ‘image1’ are also accepted instead of ‘title’ and ‘image’, respectively; ‘caption1’ is also accepted, but ignored (it may be used for hover text on the image in the future). Newer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited. To include additional character information in a page, use the ‘Character Sheet’ template (capitalisation matters!).
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | The name to show above the image. Defaults to the page name | String | optional |
image | image | The image | File | required |
caption | caption | The caption to add below the image | String | optional |
artist | artist | Who created this piece of music | Unknown | optional |
release_date | release_date | When it was released | Unknown | optional |
us_billboard_200 | us_billboard_200 | US Billboard 200 | Page name | optional |
gambia_billboard_75 | gambia_billboard_75 | The Gambia Billboard 75 | Unknown | optional |
tracks | tracks | How many tracks this has | Unknown | optional |
record_label | record_label | Record label | Unknown | optional |
singles | singles | Singles | Unknown | optional |
chronology | chronology | Release chronology | Unknown | optional |