Difference between revisions of "Template:Infobox Location/doc"
From Nookipedia, the Animal Crossing wiki
m (Text replacement - "Recycling bin" to "Recycle box") |
Decomposer (talk | contribs) (Add more fields in documentation, especially since the template has changed a lot since.) |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Infobox Location | {{Infobox Location | ||
− | | title | + | | title = |
− | | image | + | | image = |
− | | caption | + | | caption = |
− | | image2 | + | | image2 = |
− | | caption2 = | + | | caption2 = |
− | | function | + | | facility = |
− | | services | + | | music = |
− | | proprietor= | + | | music-game = |
− | | time = | + | | function = |
− | | | + | | services = |
− | | | + | | proprietor = |
− | | | + | | time = |
+ | | items = | ||
+ | | bells = | ||
+ | | days = | ||
+ | | ja-name = | ||
+ | | zh-name = | ||
+ | | zht-name = | ||
+ | | ko-name = | ||
+ | | fr-name = | ||
+ | | frq-name = | ||
+ | | es-name = | ||
+ | | esl-name = | ||
+ | | it-name = | ||
+ | | de-name = | ||
+ | | nl-name = | ||
+ | | ru-name = | ||
+ | | strategywiki = | ||
}} | }} | ||
</pre> | </pre> | ||
This infobox is to be used for articles about locations though the series. Many of the parameters are straightforward, but the below ones require special consideration: | This infobox is to be used for articles about locations though the series. Many of the parameters are straightforward, but the below ones require special consideration: | ||
− | * | + | |
− | * | + | * {{code|image2}} and {{code|caption2}} are placed below {{code|image}} and {{code|caption}}, and both may be used to show the interior ''and'' exterior of a location respectively |
− | * | + | * {{code|facility}} must be set to {{code|yes}} if the location represents a [[Facility]] |
− | * | + | * {{code|music}} may contain a link to the music played in a building {{code|music-game}} |
− | * | + | * {{code|function}} describes the ''primary function'' of a location, and {{code|services}} lists the services a location provides, separated by a line break; for example, [[Resident Services]], whose primary function is to edit "Island settings", contain the services [[Nook Stop]] and [[Recycle box]] |
− | * | + | * {{code|proprietor}} lists the characters that run the location, separated by a line break |
+ | * {{code|time}} describes when a building is open | ||
+ | |||
+ | The following parameters are used for stages of [[Tom Nook's store]] and [[Timmy and Tommy's store]]: | ||
+ | |||
+ | * {{code|items}} describes the number of items available in a store | ||
+ | * {{code|bells}} describes the requirements for upgrading the store to its next iteration | ||
+ | * {{code|days}} describes the number of days that must pass before the store can be upgraded, even if the requirements in {{code|bells}} have been fulfilled | ||
+ | |||
+ | The {{code|-name}} parameters are used for localized names: | ||
+ | |||
+ | * The default value is {{code|Unknown}}, but these must be set to {{code|N/A}} if the location has not been localized. For example, no title featuring [[GracieGrace]] has been localized to Dutch, so its {{code|nl-name}} must be set to {{code|N/A}} | ||
+ | * Set {{code|esl-name}}, {{code|frq-name}}, or {{code|zht-name}} if a location's name in those localizations (Latin American Spanish, Quebec French, Traditional Chinese) is ''different'' from {{code|es-name}} (Peninsular Spanish), {{code|fr-name}} (French), or {{code|zh-name}} (Simplified Chinese); otherwise, the latter parameters will be used for the former locales. <!-- TODO: Explain this better --> | ||
+ | |||
The appearances are auto-assigned depending on category using [[Template:Infobox Appearance]] and PageInCat extension. | The appearances are auto-assigned depending on category using [[Template:Infobox Appearance]] and PageInCat extension. | ||
===Example=== | ===Example=== | ||
− | + | ||
{{Infobox Location | {{Infobox Location | ||
| title = Resident Services | | title = Resident Services | ||
| image = NH Resident Services Building.jpg | | image = NH Resident Services Building.jpg | ||
| caption = Resident Services after being upgraded | | caption = Resident Services after being upgraded | ||
− | | function = | + | | image2 = NH Resident Services Interior.png |
+ | | caption2 = Inside Resident Services after being upgraded | ||
+ | | music = '''Before upgrade'''<br>[[File:Resident Services (Tent) NH.flac]]<br>'''After upgrade'''<br>[[File:Resident Services NH.flac]] | ||
+ | | music-game= New Horizons | ||
+ | | function = Island settings | ||
| services = [[Nook Stop]]<br>[[Recycle box]]<br>[[Bulletin Board]]<br> Construction Consultation<br>Civic Consultation | | services = [[Nook Stop]]<br>[[Recycle box]]<br>[[Bulletin Board]]<br> Construction Consultation<br>Civic Consultation | ||
| proprietor= [[Tom Nook]]<br>[[Timmy and Tommy]] <small>(before [[Nook's Cranny]] open)</small><br>[[Isabelle]] <small>(after upgrading to building)</small> | | proprietor= [[Tom Nook]]<br>[[Timmy and Tommy]] <small>(before [[Nook's Cranny]] open)</small><br>[[Isabelle]] <small>(after upgrading to building)</small> | ||
− | | time = All day | + | | time = All day{{Note|Except December 31}} |
+ | | ja-name = 案内所 | ||
+ | | fr-name = Bureau des résidents | ||
+ | | de-name = Servicecenter | ||
+ | | ko-name = 안내소 | ||
+ | | it-name = Centro servizi | ||
+ | | nl-name = Servicebalie | ||
+ | | zh-name = 服务处 | ||
+ | | zht-name = 服務處 | ||
+ | | es-name = Oficina de gestión vecinal | ||
+ | | ru-name = Бюро услуг | ||
}} | }} | ||
− | |||
+ | <pre> | ||
{{Infobox Location | {{Infobox Location | ||
| title = Resident Services | | title = Resident Services | ||
| image = NH Resident Services Building.jpg | | image = NH Resident Services Building.jpg | ||
| caption = Resident Services after being upgraded | | caption = Resident Services after being upgraded | ||
− | | function = | + | | image2 = NH Resident Services Interior.png |
+ | | caption2 = Inside Resident Services after being upgraded | ||
+ | | music = '''Before upgrade'''<br>[[File:Resident Services (Tent) NH.flac]]<br>'''After upgrade'''<br>[[File:Resident Services NH.flac]] | ||
+ | | music-game= New Horizons | ||
+ | | function = Island settings | ||
| services = [[Nook Stop]]<br>[[Recycle box]]<br>[[Bulletin Board]]<br> Construction Consultation<br>Civic Consultation | | services = [[Nook Stop]]<br>[[Recycle box]]<br>[[Bulletin Board]]<br> Construction Consultation<br>Civic Consultation | ||
| proprietor= [[Tom Nook]]<br>[[Timmy and Tommy]] <small>(before [[Nook's Cranny]] open)</small><br>[[Isabelle]] <small>(after upgrading to building)</small> | | proprietor= [[Tom Nook]]<br>[[Timmy and Tommy]] <small>(before [[Nook's Cranny]] open)</small><br>[[Isabelle]] <small>(after upgrading to building)</small> | ||
− | | time = All day | + | | time = All day{{Note|Except December 31}} |
+ | | ja-name = 案内所 | ||
+ | | fr-name = Bureau des résidents | ||
+ | | de-name = Servicecenter | ||
+ | | ko-name = 안내소 | ||
+ | | it-name = Centro servizi | ||
+ | | nl-name = Servicebalie | ||
+ | | zh-name = 服务处 | ||
+ | | zht-name = 服務處 | ||
+ | | es-name = Oficina de gestión vecinal | ||
+ | | ru-name = Бюро услуг | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{clear}} | ||
+ | |||
+ | {{Infobox Location | ||
+ | | title = [[File:Logo TIY.png|150px]]<br>T.I.Y. | ||
+ | | ja-name = ホームセンターまめつぶ | ||
+ | | ko-name = 콩돌밤돌 마트 | ||
+ | | zh-name = N/A | ||
+ | | fr-name = Brico Mélimélo | ||
+ | | it-name = Brico Marco e Mirco | ||
+ | | es-name = Brico T&N | ||
+ | | de-name = Nook & Nooks Heim- und Gartenbedarf | ||
+ | | nl-name = N/A | ||
+ | | ru-name = N/A | ||
+ | | image = TIY.jpg | ||
+ | | caption = The exterior of T.I.Y. | ||
+ | | music = [[File:NL T.I.Y..flac]] | ||
+ | | music-game= New Leaf | ||
+ | | proprietor= [[Timmy and Tommy]] | ||
+ | | time = 10 AM – 11 PM{{Note|6 AM – 11 PM with the Early Bird [[ordinance]], 10 AM – 3 AM with the Night Owl ordinance}} | ||
+ | | items = 20 | ||
+ | | bells = 100,000 Bells spent at T.I.Y, passed 4 Gracie Fashion Checks | ||
+ | | days = 30 | ||
}} | }} | ||
+ | |||
+ | <pre> | ||
+ | {{Infobox Location | ||
+ | | title = [[File:Logo TIY.png|150px]]<br>T.I.Y. | ||
+ | | ja-name = ホームセンターまめつぶ | ||
+ | | ko-name = 콩돌밤돌 마트 | ||
+ | | zh-name = N/A | ||
+ | | fr-name = Brico Mélimélo | ||
+ | | it-name = Brico Marco e Mirco | ||
+ | | es-name = Brico T&N | ||
+ | | de-name = Nook & Nooks Heim- und Gartenbedarf | ||
+ | | nl-name = N/A | ||
+ | | ru-name = N/A | ||
+ | | image = TIY.jpg | ||
+ | | caption = The exterior of T.I.Y. | ||
+ | | music = [[File:NL T.I.Y..flac]] | ||
+ | | music-game= New Leaf | ||
+ | | proprietor= [[Timmy and Tommy]] | ||
+ | | time = 10 AM – 11 PM{{Note|6 AM – 11 PM with the Early Bird [[ordinance]], 10 AM – 3 AM with the Night Owl ordinance}} | ||
+ | | items = 20 | ||
+ | | bells = 100,000 Bells spent at T.I.Y, passed 4 Gracie Fashion Checks | ||
+ | | days = 30 | ||
+ | }} | ||
+ | </pre> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 23:05, June 2, 2022
Usage
{{Infobox Location | title = | image = | caption = | image2 = | caption2 = | facility = | music = | music-game = | function = | services = | proprietor = | time = | items = | bells = | days = | ja-name = | zh-name = | zht-name = | ko-name = | fr-name = | frq-name = | es-name = | esl-name = | it-name = | de-name = | nl-name = | ru-name = | strategywiki = }}
This infobox is to be used for articles about locations though the series. Many of the parameters are straightforward, but the below ones require special consideration:
andimage2
are placed belowcaption2
andimage
, and both may be used to show the interior and exterior of a location respectivelycaption
must be set tofacility
if the location represents a Facilityyes
may contain a link to the music played in a buildingmusic
music-game
describes the primary function of a location, andfunction
lists the services a location provides, separated by a line break; for example, Resident Services, whose primary function is to edit "Island settings", contain the services Nook Stop and Recycle boxservices
lists the characters that run the location, separated by a line breakproprietor
describes when a building is opentime
The following parameters are used for stages of Tom Nook's store and Timmy and Tommy's store:
describes the number of items available in a storeitems
describes the requirements for upgrading the store to its next iterationbells
describes the number of days that must pass before the store can be upgraded, even if the requirements indays
have been fulfilledbells
The
parameters are used for localized names:
-name
- The default value is
, but these must be set toUnknown
if the location has not been localized. For example, no title featuring GracieGrace has been localized to Dutch, so itsN/A
must be set tonl-name
N/A
- Set
,esl-name
, orfrq-name
if a location's name in those localizations (Latin American Spanish, Quebec French, Traditional Chinese) is different fromzht-name
(Peninsular Spanish),es-name
(French), orfr-name
(Simplified Chinese); otherwise, the latter parameters will be used for the former locales.zh-name
The appearances are auto-assigned depending on category using Template:Infobox Appearance and PageInCat extension.
Example
| ||||||
Resident Services after being upgraded Inside Resident Services after being upgraded | ||||||
Music (New Horizons) | ||||||
---|---|---|---|---|---|---|
Before upgrade After upgrade | ||||||
Function | Island settings | |||||
Services | Nook Stop Recycle box Bulletin Board Construction Consultation Civic Consultation | |||||
Staff | Tom Nook Timmy and Tommy (before Nook's Cranny open) Isabelle (after upgrading to building) | |||||
Opening Hours | All day[nb 1] | |||||
Main appearances | ||||||
| ||||||
Other appearances | ||||||
Names in other languages
案内所 服务处 服務處 안내소 Bureau des résidents Bureau des résidents Oficina de gestión vecinal Oficina de gestión vecinal Centro servizi Бюро услуг Servicecenter Servicebalie |
{{Infobox Location | title = Resident Services | image = NH Resident Services Building.jpg | caption = Resident Services after being upgraded | image2 = NH Resident Services Interior.png | caption2 = Inside Resident Services after being upgraded | music = '''Before upgrade'''<br>[[File:Resident Services (Tent) NH.flac]]<br>'''After upgrade'''<br>[[File:Resident Services NH.flac]] | music-game= New Horizons | function = Island settings | services = [[Nook Stop]]<br>[[Recycle box]]<br>[[Bulletin Board]]<br> Construction Consultation<br>Civic Consultation | proprietor= [[Tom Nook]]<br>[[Timmy and Tommy]] <small>(before [[Nook's Cranny]] open)</small><br>[[Isabelle]] <small>(after upgrading to building)</small> | time = All day{{Note|Except December 31}} | ja-name = 案内所 | fr-name = Bureau des résidents | de-name = Servicecenter | ko-name = 안내소 | it-name = Centro servizi | nl-name = Servicebalie | zh-name = 服务处 | zht-name = 服務處 | es-name = Oficina de gestión vecinal | ru-name = Бюро услуг }}
| ||||||
The exterior of T.I.Y. | ||||||
Music (New Leaf) | ||||||
---|---|---|---|---|---|---|
Staff | Timmy and Tommy | |||||
Opening Hours | 10 AM – 11 PM[nb 2] | |||||
Number of items available | 20 | |||||
Expenditure for upgrade | 100,000 Bells spent at T.I.Y, passed 4 Gracie Fashion Checks | |||||
Days passed before upgrade | 30 | |||||
Main appearances | ||||||
| ||||||
Other appearances | ||||||
Names in other languages
ホームセンターまめつぶ
N/A Brico Mélimélo Brico T&N Brico Marco e Mirco N/A
콩돌밤돌 마트 N/A Brico Mélimélo Brico T&N Nook & Nooks Heim- und Gartenbedarf N/A |
{{Infobox Location | title = [[File:Logo TIY.png|150px]]<br>T.I.Y. | ja-name = ホームセンターまめつぶ | ko-name = 콩돌밤돌 마트 | zh-name = N/A | fr-name = Brico Mélimélo | it-name = Brico Marco e Mirco | es-name = Brico T&N | de-name = Nook & Nooks Heim- und Gartenbedarf | nl-name = N/A | ru-name = N/A | image = TIY.jpg | caption = The exterior of T.I.Y. | music = [[File:NL T.I.Y..flac]] | music-game= New Leaf | proprietor= [[Timmy and Tommy]] | time = 10 AM – 11 PM{{Note|6 AM – 11 PM with the Early Bird [[ordinance]], 10 AM – 3 AM with the Night Owl ordinance}} | items = 20 | bells = 100,000 Bells spent at T.I.Y, passed 4 Gracie Fashion Checks | days = 30 }}
Cite error: <ref>
tags exist for a group named "nb", but no corresponding <references group="nb"/>
tag was found