Template:SongInfobox: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{Infobox
<div class="page-container">Template for displaying summary information about songs.
 
'''Usage: Copy paste the code below, filling in relevant fields after the = sign. Fields that are left empty or are removed will not show up in the generated infobox.''' If a song is on an album with a limited or deluxe edition, the fields <syntaxhighlight lang="html+handlebars">cover2, cover3, length2, length3, prev1, next1, prev2, next2</syntaxhighlight> must be filled out, the highest numbers corresponding to deluxe edition information, and the lower to limited editions. To remove limited or deluxe edition buttons, add <syntaxhighlight lang="html+handlebars">.no-le .no-dx</syntaxhighlight> in the <syntaxhighlight lang="html+handlebars">buttons</syntaxhighlight> field.
 
<syntaxhighlight lang="html+handlebars">{{PersonInfobox
|buttons=
|song=
|cover1=
|cover2=
|cover3=
|length1=
|length2=
|length3=
|type=
|releasedate=
|band=
|label=
|album=
|prev=
|next=
|prev1=
|next1=
|prev2=
|next2=
}}</syntaxhighlight></div></noinclude>{{Infobox
|bodyclass=infoboxsong {{{buttons|}}}
|bodyclass=infoboxsong {{{buttons|}}}
|above={{{song}}}
|above={{{song}}}
|subheader={{ContentToggle}}
|subheader={{ContentToggle}}
|image={{{cover1}}}{{{cover2}}}{{{cover3}}}
|image={{{cover|}}}{{{cover1|}}}{{{cover2|}}}{{{cover3|}}}
|header1=Information
|header1=Information
|label1=Length
|label1=Length
|data1={{{length1}}} {{{length2}}} {{{length3}}}
|data1={{{length|}}}{{{length1|}}} {{{length2|}}} {{{length3|}}}
|label2=Type
|label2=Type
|data2={{{type}}}
|data2={{{type|}}}
|label3=Release Date
|label3=Release Date
|data3={{{releasedate}}}
|data3={{{releasedate}}}
Line 40: Line 15:
|label5=Label
|label5=Label
|data5={{{label}}}
|data5={{{label}}}
|below=<div class="album-button">[[{{{album}}}]]</div> {{NavigationButtons|prev={{{prev}}}|next={{{next}}}|prev1={{{prev1}}}|next1={{{next1}}}|prev2={{{prev2}}}|next2={{{next2}}}}}
|below={{#if: {{{album|}}}|<div class="album-button">[[{{{album}}}]]</div>|}} {{NavigationButtons|prev={{{prev}}}|next={{{next}}}|prev1={{{prev1}}}|next1={{{next1}}}|prev2={{{prev2}}}|next2={{{next2}}}}}
}}
}}<noinclude>
<templatedata>
{
"params": {
"buttons": {
"label": "Language and Edition Buttons",
"description": "Specify what content-change buttons should display at the top of the infobox. Available options are no-re (no regular edition), no-le (no limited edition), no-dx (no deluxe/limited reservation edition), fc (fan club edition), and no-ro (no romaji option). Order does not matter.",
"example": "fc no-le no-dx",
"type": "string",
"suggested": true
},
"song": {
"label": "Title",
"description": "Title of the work.",
"type": "wiki-template-name",
"required": true
},
"cover": {
"label": "Cover",
"description": "Specify the files to be displayed as each edition's cover with the [[Template:EditionInline|EditionInline template]].",
"example": "{{EditionInline|re=[[File:NeinCover.jpg]]|le=[[File:NeinCover2.jpg]]|dx=[[File:NeinCover3.jpg]]}}",
"type": "wiki-template-name",
"suggested": true
},
"cover1": {
"label": "Regular Edition Cover",
"description": "Specify the file to be displayed as the Regular Edition cover.",
"example": "[[File:VaniSutaCover.jpg]]",
"type": "wiki-file-name",
"deprecated": "Use the EditionInline template in the Cover parameter."
},
"cover2": {
"label": "Limited Edition Cover",
"description": "Specify the file to be displayed as the Limited Edition cover.",
"example": "[[File:VaniSutaCover2.jpg]]",
"type": "wiki-file-name",
"deprecated": "Use the EditionInline template in the Cover parameter."
},
"cover3": {
"label": "Deluxe Edition Cover",
"description": "Specify the file to be displayed as the Deluxe Edition cover.",
"example": "[[File:VaniSutaCover3.jpg]]",
"type": "wiki-file-name",
"deprecated": "Use the EditionInline template in the Cover parameter."
},
"length": {
"label": "Length",
"description": "Specify the length of each edition with the [[Template:EditionInline|EditionInline template]].",
"type": "wiki-template-name",
"suggested": true
},
"length1": {
"label": "Regular Edition Length",
"description": "Total length of the content's Regular Edition in minutes and seconds. Does not include length of content on bonus discs.",
"example": "4:07",
"type": "string",
"deprecated": "Use the EditionInline template in the Length parameter."
},
"length2": {
"label": "Limited Edition Length",
"description": "Total length of the content's Limited Edition in minutes and seconds. Does not include length of content on bonus discs.",
"example": "4:07",
"type": "string",
"deprecated": "Use the EditionInline template in the Length parameter."
},
"length3": {
"label": "Deluxe Edition Length",
"description": "Total length of the content's Deluxe Edition in minutes and seconds. Does not include length of content on bonus discs.",
"example": "4:07",
"type": "string",
"deprecated": "Use the EditionInline template in the Length parameter."
},
"type": {
"label": "Type of Song",
"description": "Specify the type of song. Available options are Vocal, Instrumental, Narration.",
"example": "Vocal",
"type": "string",
"suggested": true
},
"releasedate": {
"label": "Release Date",
"description": "The work's release date. Same as the album's release date.",
"example": "1 October 2014",
"type": "string",
"suggested": true
},
"band": {
"label": "Recording Band",
"description": "Specify the band that recorded the work. Not necessary for works only credited to Revo.",
"example": "Sound Horizon",
"type": "string",
"suggested": true
},
"label": {
"label": "Record Label",
"description": "Specify the label that published the work. Use Doujin for independently published works.",
"example": "Pony Canyon",
"type": "string",
"suggested": true
},
"album": {
"label": "Album",
"description": "Specify the album this song is a part of.",
"example": "Chronicle",
"type": "string",
"suggested": true
},
"prev": {
"label": "Previous Song",
"description": "Page title for the previous song in the album's sequence. Use album title if the current song is the first or last in the sequence.",
"example": "Yodaka no Hoshi",
"type": "string",
"suggested": true
},
"next": {
"label": "Next Song",
"description": "Page title for the next song in the album's sequence. Use album title if the current song is the first or last in the sequence.",
"example": "Mother",
"type": "string",
"suggested": true
},
"prev1": {
"label": "Previous Song (LE)",
"description": "Page title for the previous song in the album's Limited Edition sequence. Use album title if the current song is the first or last in the sequence.",
"example": "Yodaka no Hoshi",
"type": "string",
"suggested": true
},
"next1": {
"label": "Next Song (LE)",
"description": "Page title for the next song in the album's Limited Edition sequence. Use album title if the current song is the first or last in the sequence.",
"example": "Mother",
"type": "string",
"suggested": true
},
"prev2": {
"label": "Previous Album (DX)",
"description": "Page title for the previous song in the album's Deluxe Edition sequence. Use album title if the current song is the first or last in the sequence.",
"example": "Yodaka no Hoshi",
"type": "string",
"suggested": true
},
"next2": {
"label": "Next Song (DX)",
"description": "Page title for the next song in the album's Deluxe Edition sequence. Use album title if the current song is the first or last in the sequence.",
"example": "Mother",
"type": "string",
"suggested": true
}
},
"description": "Template for the compact display of summary information for songs and other audio tracks.",
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 13:30, 7 June 2021

{{{song}}}
EN
RO
RE
LE
DX
FC
DVD
Blu-Ray
Information
Release Date {{{releasedate}}}
Band {{{band}}}
Label {{{label}}}

Template for the compact display of summary information for songs and other audio tracks.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Language and Edition Buttonsbuttons

Specify what content-change buttons should display at the top of the infobox. Available options are no-re (no regular edition), no-le (no limited edition), no-dx (no deluxe/limited reservation edition), fc (fan club edition), and no-ro (no romaji option). Order does not matter.

Example
fc no-le no-dx
Stringsuggested
Titlesong

Title of the work.

Templaterequired
Covercover

Specify the files to be displayed as each edition's cover with the [[Template:EditionInline|EditionInline template]].

Example
{{EditionInline|re=[[File:NeinCover.jpg]]|le=[[File:NeinCover2.jpg]]|dx=[[File:NeinCover3.jpg]]}}
Templatesuggested
Regular Edition Covercover1

Specify the file to be displayed as the Regular Edition cover.

Example
[[File:VaniSutaCover.jpg]]
Filedeprecated
Limited Edition Covercover2

Specify the file to be displayed as the Limited Edition cover.

Example
[[File:VaniSutaCover2.jpg]]
Filedeprecated
Deluxe Edition Covercover3

Specify the file to be displayed as the Deluxe Edition cover.

Example
[[File:VaniSutaCover3.jpg]]
Filedeprecated
Lengthlength

Specify the length of each edition with the [[Template:EditionInline|EditionInline template]].

Templatesuggested
Regular Edition Lengthlength1

Total length of the content's Regular Edition in minutes and seconds. Does not include length of content on bonus discs.

Example
4:07
Stringdeprecated
Limited Edition Lengthlength2

Total length of the content's Limited Edition in minutes and seconds. Does not include length of content on bonus discs.

Example
4:07
Stringdeprecated
Deluxe Edition Lengthlength3

Total length of the content's Deluxe Edition in minutes and seconds. Does not include length of content on bonus discs.

Example
4:07
Stringdeprecated
Type of Songtype

Specify the type of song. Available options are Vocal, Instrumental, Narration.

Example
Vocal
Stringsuggested
Release Datereleasedate

The work's release date. Same as the album's release date.

Example
1 October 2014
Stringsuggested
Recording Bandband

Specify the band that recorded the work. Not necessary for works only credited to Revo.

Example
Sound Horizon
Stringsuggested
Record Labellabel

Specify the label that published the work. Use Doujin for independently published works.

Example
Pony Canyon
Stringsuggested
Albumalbum

Specify the album this song is a part of.

Example
Chronicle
Stringsuggested
Previous Songprev

Page title for the previous song in the album's sequence. Use album title if the current song is the first or last in the sequence.

Example
Yodaka no Hoshi
Stringsuggested
Next Songnext

Page title for the next song in the album's sequence. Use album title if the current song is the first or last in the sequence.

Example
Mother
Stringsuggested
Previous Song (LE)prev1

Page title for the previous song in the album's Limited Edition sequence. Use album title if the current song is the first or last in the sequence.

Example
Yodaka no Hoshi
Stringsuggested
Next Song (LE)next1

Page title for the next song in the album's Limited Edition sequence. Use album title if the current song is the first or last in the sequence.

Example
Mother
Stringsuggested
Previous Album (DX)prev2

Page title for the previous song in the album's Deluxe Edition sequence. Use album title if the current song is the first or last in the sequence.

Example
Yodaka no Hoshi
Stringsuggested
Next Song (DX)next2

Page title for the next song in the album's Deluxe Edition sequence. Use album title if the current song is the first or last in the sequence.

Example
Mother
Stringsuggested