Difference between revisions of "Template:Infobox Music"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Updating documentation) |
Dorsal Axe (talk | contribs) (Switching to CSS colour class) |
||
(44 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | <noinclude>{{#cargo_declare: |
− | | | + | _table=song |
− | | | + | |url = String |
− | |- | + | |name = String |
− | | | + | |name_sort = String |
− | | | + | |order_number = Integer |
− | + | |image = String | |
− | | | + | |image_url = String |
− | | | + | |aircheck = String |
− | {{ | + | |aircheck_url = String |
− | + | |live = String | |
− | {{ | + | |live_url = String |
− | |- {{#if:{{{ | + | |mood = String |
− | {{ | + | |debut = String |
− | + | |debut_aircheck = String | |
− | {{ | + | |label = String |
− | | | + | |dnm = Boolean |
− | {{ | + | |ac = Boolean |
− | + | |e_plus = Boolean | |
− | {{ | + | |ww = Boolean |
− | |- | + | |cf = Boolean |
− | {{ | + | |nl = Boolean |
− | + | |nh = Boolean | |
− | {{ | + | }}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#incat:K.K. Slider songs|{{#cargo_store: |
− | |- | + | _table=song |
− | + | |url = {{canonicalurl:{{PAGENAME}}}} | |
− | | | + | |name = {{{name|{{PAGENAME}}}}} |
− | |} | + | |name_sort = {{{name-sort|{{{name|}}}}}} |
− | + | |order_number = {{{order#|}}} | |
− | {{ | + | |image = {{{image|}}} |
− | |name= | + | |image_url = {{filepath:{{{image|}}}}} |
− | | | + | |aircheck = {{{audiofile|}}} |
− | + | |aircheck_url = {{filepath:{{{audiofile|}}}}} | |
− | | | + | |live = {{{audiofile2|}}} |
− | | | + | |live_url = {{filepath:{{{audiofile2|}}}}} |
− | | | + | |mood = {{{mood|}}} |
− | | | + | |debut = {{#incat:Doubutsu no Mori songs|DnM|{{#incat:Animal Crossing songs|PG|{{#incat:Doubutsu no Mori e+ songs|DnMe+|{{#incat:Wild World songs|WW|{{#incat:City Folk songs|CF|{{#incat:New Leaf songs|NL|{{#incat:Happy Home Designer songs|HHD|{{#incat:Welcome amiibo songs|NLWa|{{#incat:New Horizons songs|NH|}}}}}}}}}}}}}}}}}} |
− | | | + | |debut_aircheck = {{#switch:{{{name|{{PAGENAME}}}}}|Forest Life|To the Edge|My Place=DnMe+|Spring Blossoms|Stale Cupcakes|Wandering=CF|K.K. Birthday|K.K. Island|K.K. Stroll|Hypno K.K.=NL|Animal City|Drivin'|Farewell=NH|}} |
− | }}< | + | |label = {{{label|}}} |
− | [[Category:Infobox templates]]</noinclude> | + | |dnm = {{#incat:Doubutsu no Mori songs|Yes|No}} |
+ | |ac = {{#incat:Animal Crossing songs|Yes|No}} | ||
+ | |e_plus = {{#incat:Doubutsu no Mori e+ songs|Yes|No}} | ||
+ | |ww = {{#incat:Wild World songs|Yes|No}} | ||
+ | |cf = {{#incat:City Folk songs|Yes|No}} | ||
+ | |nl = {{#incat:New Leaf songs|Yes|No}} | ||
+ | |nh = {{#incat:New Horizons songs|Yes|No}} | ||
+ | }}|}}}}<metakeywords>music,song,songs,k.k.,kk,k.k. slider,kk slider,animal crossing, acnh, new horizons</metakeywords>{{#seo:|image={{{image|}}}}}</includeonly>{{Infobox 2.0 | ||
+ | | colorclass = color-music | ||
+ | | title = {{{name|Music}}} | ||
+ | | lefticon = {{#if:{{{order#|}}}|<big>'''''#{{{order#|0}}}'''''</big>|}} | ||
+ | | righticon = {{#if:{{{order#|}}}| |}} | ||
+ | | primarycolor = 0 59 | ||
+ | | image = [[File:{{{image|Nia.png|}}}|{{{imagesize|256px}}}]] | ||
+ | | caption = {{{caption|}}} | ||
+ | | image2 = {{{image2|}}} | ||
+ | | caption2 = {{{caption2|}}} | ||
+ | |||
+ | | widelabel = {{{audiotitle|Audio}}} | ||
+ | | widedata = {{#if:{{{audiofile|}}}|[[File:{{{audiofile|}}}]]|}} | ||
+ | | widelabel2 = {{{audiotitle2|Audio}}} | ||
+ | | widedata2 = {{#if:{{{audiofile2|}}}|[[File:{{{audiofile2|}}}]]|}} | ||
+ | |||
+ | | label = Composed by | ||
+ | | data = {{{composer|}}} | ||
+ | | label2 = Mood | ||
+ | | data2 = {{{mood|}}} | ||
+ | | label3 = Owned by | ||
+ | | data3 = <div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{{owned by|}}}</div> | ||
+ | |||
+ | | label4 = Genre | ||
+ | | data4 = {{{genre|}}} | ||
+ | | label5 = Instruments | ||
+ | | data5 = {{{instruments|}}} | ||
+ | |||
+ | | appearances = songs | ||
+ | | o-appearances = songs | ||
+ | |||
+ | | languages = Names | ||
+ | | ja-name = {{{ja-name|}}} | ||
+ | | zh-name = {{{zh-name|}}} | ||
+ | | zht-name = {{{zht-name|{{{zh-name|}}} }}} | ||
+ | | ko-name = {{{ko-name|}}} | ||
+ | | fr-name = {{{fr-name|}}} | ||
+ | | frq-name = {{{frq-name|{{{fr-name|}}} }}} | ||
+ | | es-name = {{{es-name|}}} | ||
+ | | esl-name = {{{esl-name|{{{es-name|}}} }}} | ||
+ | | it-name = {{{it-name|}}} | ||
+ | | de-name = {{{de-name|}}} | ||
+ | | nl-name = {{{nl-name|}}} | ||
+ | | ru-name = {{{ru-name|}}} | ||
+ | |||
+ | | ja-note = | ||
+ | | zh-note = | ||
+ | | zht-note = | ||
+ | | ko-note = | ||
+ | | ru-note = | ||
+ | }}<noinclude>{{Clear}} | ||
+ | {{Documentation}}[[Category:Cargo templates]][[Category:Infobox templates]]</noinclude> |
Latest revision as of 18:44, May 17, 2024
This template defines the table "song". View table.
| ||||||
Owned by | ||||||
---|---|---|---|---|---|---|
Main appearances | ||||||
| ||||||
Other appearances | ||||||
Names in other languages
Unknown
Unknown Unknown Unknown
Unknown
Unknown Unknown Unknown
Unknown Unknown Unknown Unknown |
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
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 titleaudiofile2
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
- For best practice, use the following titles depending on the context of the article and audio files:
Example
| ||||||||
Album cover in Animal Crossing: New Horizons | ||||||||
Aircheck | ||||||||
---|---|---|---|---|---|---|---|---|
Live Performance | ||||||||
Composed by | Toru Minegishi | |||||||
Mood | A little blue... | |||||||
Owned by | ||||||||
Genre | Classical | |||||||
Instruments | Organ | |||||||
Main appearances | ||||||||
| ||||||||
Other appearances | ||||||||
Names 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
- ↑ In Animal Crossing, Wild World, City Folk, and New Leaf
- ↑ In Animal Crossing, Wild World, City Folk, New Leaf, and New Horizons
- ↑ In Doubutsu no Mori e+ only
- ↑ In Doubutsu no Mori e+, Wild World, City Folk, and New Leaf
- ↑ In City Folk only
- ↑ 6.0 6.1 6.2 6.3 6.4 6.5 In New Horizons only
- ↑ In Happy Home Paradise only
- ↑ 8.0 8.1 In Happy Home Paradise and Happy Home Designer
- ↑ 9.0 9.1 9.2 In Happy Home Designer only