Template:SongInfobox: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{Infobox
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 field <syntaxhighlight lang="html+handlebars">buttons</syntaxhighlight>
 
 
<syntaxhighlight lang="html+handlebars">{{SongInfobox
|buttons=
|song=
|cover1=
|cover2=
|cover3=
|length1=
|length2=
|length3=
|type=
|releasedate=
|band=
|label=
|album=
|prev=
|next=
|prev1=
|next1=
|prev2=
|next2=
}}</syntaxhighlight></noinclude>{{Infobox
|bodyclass=infoboxsong {{{buttons|}}}
|bodyclass=infoboxsong {{{buttons|}}}
|above={{{song}}}
|above={{{song}}}
Line 34: Line 8:
|data1={{{length|}}}{{{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 41: 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>
<noinclude>
<templatedata>
<templatedata>
{
{

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