Difference between revisions of "Template:Infobox Music"

From Nookipedia, the Animal Crossing wiki
m (Order number is irrelevant for non K.K. music)
(Update to use Template:Infobox. Refreshed visual design to match new theme. Audio files can now be placed directly in the infobox.)
Line 1: Line 1:
{| id="Infobox-music" align="right" style="background: #cd5c5c; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #8b0000; width: 25%"
+
{{Infobox
|- align="center"
+
|bordercolor    = E08585
| colspan="2" | <big><big>'''{{{name|{{PAGENAME}}}}}'''</big></big>
+
|primarycolor  = E08585
|- align="center"
+
|secondarycolor = f0c1c1
| style="background: #ffffff; {{roundy|10px}}" colspan="2" | {{{image|[[File:KK Slider on Note.png|100px]]}}}
+
|title          = {{{name|Music}}}
|-
+
|subtitleabove  =
! style="background: #b22222; {{roundytl|10px}}" align="right" | Game(s)
+
|subtitlebelow  =
| style="background:#ffffff; {{roundytr|10px}}" align="left" | {{{games|Unknown}}}
+
|image          = {{{image|[[File:KK Slider on Note.png|180px]]}}}
|- {{#if:{{{mood|}}}|
+
|caption        = {{{caption|}}}
{{!-}}
+
|widelabelsolo  = {{{audiosolotitle}}}
! style="background: #b22222" align="right" {{!}} Mood
+
|widedatasolo  = {{{audiosolofile|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{mood|}}}}}
+
|widelabel      = {{{audio1title}}}
|- {{#if:{{{time|}}}|
+
|widedata      = {{{audio1file|}}}
{{!-}}
+
|widelabelend  = {{{audio2title}}}
! style="background: #b22222" align="right" {{!}} Time
+
|widedataend    = {{{audio2file|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{time|}}}}}
+
|label          = Genre
|- {{#if:{{{instruments|}}}|
+
|data          = {{{genre|}}}
{{!-}}
+
|label2        = Mood
! style="background: #b22222" align="right" {{!}} Instruments
+
|data2          = {{{mood|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{instruments|}}}}}
+
|label3        = Time
|- {{#if:{{{owned by|}}}|
+
|data3          = {{{time|}}}
{{!-}}
+
|label4        = Instruments
! style="background: #b22222" align="right" {{!}} Owned by
+
|data4          = {{{instruments|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{owned by|}}}}}
+
|label5        = Owned by
|- {{#if:{{{order#|}}}|
+
|data5          = {{{owned by|}}}
{{!-}}
+
|label6        = Order
! style="background: #b22222" align="right" {{!}} Order number
+
|data6          = <i>{{{order#|}}}</i>
{{!}} style="background:#ffffff" align="left" {{!}} {{{order#|}}}}}
+
|labelend      = Main appearances
|}<noinclude>
+
|dataend        = {{{games|Unknown}}}
<pre>
+
}}<noinclude>{{Documentation}}[[Category:Infobox templates]]</noinclude>
{{Infobox Music
 
|name=
 
|image=
 
|games=
 
|mood=
 
|time=
 
|instruments=
 
|owned by=
 
|order#=
 
}}</pre>
 
[[Category:Infobox templates]]</noinclude>
 

Revision as of 07:33, March 21, 2020

180px
Order

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
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]
Order 1
{{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