Difference between revisions of "Template:Infobox Music"

From Nookipedia, the Animal Crossing wiki
m (ISO codes for languages)
(Update to new infobox)
Line 1: Line 1:
{{Infobox
+
{{Infobox 2.0
|bordercolor    = E08585
+
| title          = {{{name|Music}}}
|primarycolor  = E08585
+
  | lefticon      = {{#if:{{{order#|}}}|<big>'''''#{{{order#|0}}}'''''</big>|}}
|secondarycolor = f0c1c1
+
| primarycolor  = 0 59
|title          = {{{name|Music}}}
+
| image          = {{{image|[[File:KK Slider on Note.png|180px]]}}}
|subtitleabove  =  
+
| caption        = {{{caption|}}}
<table>
+
| image2        = {{{image2|}}}
<tr>
+
| caption2      = {{{caption2|}}}
<td>[[File:Flag of Japan.png|Japanese|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{ja-name|}}}|{{{ja-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
 
<td>[[File:Flag of Korea.png|Korean|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{ko-name|}}}|{{{ko-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| widelabel      = {{{audiotitle|Audio}}}
<td>[[File:Flag of the People's Republic of China.png|Chinese|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{zh-name|}}}|{{{zh-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| widedata      = {{{audiofile|[[File:Main Theme NH.mp3]]}}}
</tr>
+
| widelabel2    = {{{audiotitle2}}}
<tr>
+
| widedata2      = {{{audiofile2|}}}
<td>[[File:Flag of France.png|French|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{fr-name|}}}|{{{fr-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
 
<td>[[File:Flag of Italy.png|Italian|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{it-name|}}}|{{{it-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| label          = Genre
<td>[[File:Flag of Spain.png|Spanish|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{es-name|}}}|{{{es-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| data          = {{{genre|}}}
</tr>
+
| label2        = Mood
<tr>
+
| data2          = {{{mood|}}}
<td>[[File:Flag of Germany.png|German|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{de-name|}}}|{{{de-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| label3        = Time
<td>[[File:Flag of the Netherlands.png|Dutch|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{nl-name|}}}|{{{nl-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| data3          = {{{time|}}}
<td>[[File:Flag of Russia.png|Russian|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{ru-name|}}}|{{{ru-name|}}}|{{Colorshow|d75b5b|Unknown}}}}</span></td>
+
| label4        = Instruments
</tr>
+
| data4          = {{{instruments|}}}
</table>
+
| label5        = Owned by
|subtitlebelow =
+
| data5          = {{{owned by|}}}
|image          = {{{image|[[File:KK Slider on Note.png|180px]]}}}
+
| label6        = Appearances
|caption       = {{{caption|}}}
+
| data6          = {{{games|}}}
|widelabelsolo  = {{{audiosolotitle}}}
+
 
|widedatasolo  = {{{audiosolofile|}}}
+
<!-- | appearances    = songs -->
|widelabel      = {{{audio1title}}}
+
<!-- | o-appearances  = songs -->
|widedata      = {{{audio1file|}}}
+
 
|widelabelend  = {{{audio2title}}}
+
| languages      = Name
|widedataend    = {{{audio2file|}}}
+
| ja-name        = {{{ja-name|}}}
|label          = Genre
+
| zh-name        = {{{zh-name|}}}
|data          = {{{genre|}}}
+
| zht-name      = {{{zht-name|{{{zh-name|}}} }}}
|label2        = Mood
+
  | ko-name        = {{{ko-name|}}}
|data2          = {{{mood|}}}
+
| fr-name       = {{{fr-name|}}}
|label3        = Time
+
| frq-name      = {{{frq-name|{{{fr-name|}}} }}}
|data3          = {{{time|}}}
+
| es-name        = {{{es-name|}}}
|label4        = Instruments
+
| esl-name      = {{{esl-name|{{{es-name|}}} }}}
|data4          = {{{instruments|}}}
+
| it-name        = {{{it-name|}}}
|label5        = Owned by
+
| de-name        = {{{de-name|}}}
|data5          = {{{owned by|}}}
+
| nl-name        = {{{nl-name|}}}
|label6        = Order
+
| ru-name        = {{{ru-name|}}}
|data6          = <b><i>{{{order#|}}}</i><b>
+
 
|labelend       = Main<br>appearances
+
| ja-note        =
|dataend       = <small>{{{games|Unknown}}}</small>
+
| zh-note        =
 +
| zht-note       =
 +
| ko-note       =
 +
| ru-note        =
 
}}<noinclude>{{Documentation}}[[Category:Infobox templates]]</noinclude>
 
}}<noinclude>{{Documentation}}[[Category:Infobox templates]]</noinclude>

Revision as of 03:27, July 20, 2020

180px
Audio
File:Main Theme NH.mp3
Name in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


More Cargo templates

Usage

{{Infobox Music
|order#      = 
|name        = 
|ja-name     = 
|ko-name     = 
|zh-name     = 
|fr-name     = 
|it-name     = 
|es-name     = 
|de-name     = 
|nl-name     = 
|ru-name     = 
|image       = 
|imagesize   = 
|caption     = 
|audiotitle  = 
|audiofile   = 
|audiotitle2 = 
|audiofile2  = 
|genre       = 
|mood        = 
|time        = 
|instruments = 
|composer    = 
|label       = 
|owned by    = 
}}

This infobox is for articles about music in the series. Many of the parameters are straightforward, but the below ones require special consideration:

  • order# is the internal order for each song throughout the games. This manifests in-game as the order in which the songs appear in the playlist menu.
  • audiotitle is for the title for the below parameter.
  • audiofile is where an audio file can be placed to appear below the image in the infobox.
  • audiotitle2 for the second file's title
  • audiofile2 for the second file's link
    • For best practice, use the following titles depending on the context of the article and audio files:
      • Aircheck for K.K. Slider song recordings
      • Live Performance for audio of K.K. Slider's live performances
      • Title Theme for video game title themes
      • Background Theme for all location and hourly music

Example

AlbumArt-Chorale NH.png
Album cover in Animal Crossing: New Horizons
Aircheck
NH BGM Audio 001 Sanbika Hifi.flac
Live Performance
NH BGM Live 001 Sanbika.flac
Genre Classical
Mood A little blue...
Instruments Organ
Owned by  Kitt[nb 1]
 Chevre[nb 2]
 Nan[nb 3]
 Alli[nb 4]
 Cookie[nb 5]
 Becky[nb 6]
 Colton[nb 6]
 Kitty[nb 6]
 Knox[nb 6]
 Mathilda[nb 6]
 Purrl[nb 6]
 Skye[nb 7]
 Boomer[nb 8]
 Elise[nb 8]
 Monique[nb 9]
 Pashmina[nb 9]
 Penelope[nb 9]
Name in other languages
 けけさんびか
 K.K.赞美诗歌
 Chorale de Kéké
 Tota-góspel
 K.K. Corale
 Хорал К. К.
 K.K.찬송가
 K.K.讚美詩歌
 Chorale de Kéké
 Tota-góspel
 K.K. Choral
 K.K.-koraal
{{Infobox Music
|order#      = 1
|name        = K.K. Chorale
|ja-name     = けけさんびか
|ko-name     = K.K.찬송가
|zh-name     = K.K.赞美诗歌
|zht-name    = K.K.讚美詩歌
|fr-name     = Chorale de Kéké
|es-name     = Tota-góspel
|it-name     = K.K. Corale
|de-name     = K.K. Choral
|nl-name     = K.K.-koraal
|ru-name     = Хорал К. К.
|image       = AlbumArt-Chorale NH.png
|caption     = Album cover in {{NH|nolink}}
|audiotitle  = Aircheck
|audiofile   = NH BGM Audio 001 Sanbika Hifi.flac
|audiotitle2 = Live Performance
|audiofile2  = NH BGM Live 001 Sanbika.flac
|genre       = Classical
|mood        = A little blue...
|instruments = Organ
|composer    = Toru Minegishi
|label       = Gaia
|owned by    = {{Availability|Villager|Kitt|nb=true}}{{Note|name=PGWWCFNL|In {{PG}}, {{WW|short}}, {{CF|short}}, and {{NL|short}}}}<br>{{Availability|Villager|Chevre|nb=true}}{{Note|name=PGWWCFNLNH|In {{PG}}, {{WW|short}}, {{CF|short}}, {{NL|short}}, and {{NH|short}}}}<br>{{Availability|Villager|Nan|nb=true}}{{Note|name=DnMe|In {{DnMe+}} only}}<br>{{Availability|Villager|Alli|nb=true}}{{Note|name=WWCFNL|In {{DnMe+}}, {{WW|short}}, {{CF|short}}, and {{NL|short}}}}<br>{{Availability|Villager|Cookie|nb=true}}{{Note|name=CF|In {{CF|short}} only}}<br>{{Availability|Villager|Becky|nb=true}}{{Note|name=NH|In {{NH|short}} only}}<br>{{Availability|Villager|Colton|nb=true}}{{Note|name=NH}}<br>{{Availability|Villager|Kitty|nb=true}}{{Note|name=NH}}<br>{{Availability|Villager|Knox|nb=true}}{{Note|name=NH}}<br>{{Availability|Villager|Mathilda|nb=true}}{{Note|name=NH}}<br>{{Availability|Villager|Purrl|nb=true}}{{Note|name=NH}}<br>{{Availability|Villager|Skye|nb=true}}{{Note|name=HHP|In {{HHP|short}} only}}<br>{{Availability|Villager|Boomer|nb=true}}{{Note|name=HHPHHD|In {{HHP|short}} and {{HHD|short}}}}<br>{{Availability|Villager|Elise|nb=true}}{{Note|name=HHPHHD}}<br>{{Availability|Villager|Monique|nb=true}}{{Note|name=HHD|In {{HHD|short}} only}}<br>{{Availability|Villager|Pashmina|nb=true}}{{Note|name=HHD}}<br>{{Availability|Villager|Penelope|nb=true}}{{Note|name=HHD}}
}}

Notes