Difference between revisions of "Template:PGInterior"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) (+iQue parameters) |
PanchamBro (talk | contribs) m (Text replacement - "color-class" to "colorclass") |
||
(26 intermediate revisions by 6 users not shown) | |||
Line 33: | Line 33: | ||
|universal_code = String | |universal_code = String | ||
|notes = String | |notes = String | ||
− | }}</noinclude><includeonly>{{DISPLAYTITLE:{{# | + | }}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{PGIdentifier/CargoAttach}}{{#cargo_store: |
_table=pg_interior | _table=pg_interior | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
|in_dnm = {{#if:{{{num-dnm|}}}|Yes|{{{in-dnm|No}}}}} | |in_dnm = {{#if:{{{num-dnm|}}}|Yes|{{{in-dnm|No}}}}} | ||
|in_plus = {{#if:{{{num-plus|}}}|Yes|{{{in-plus|No}}}}} | |in_plus = {{#if:{{{num-plus|}}}|Yes|{{{in-plus|No}}}}} | ||
Line 69: | Line 69: | ||
}}<!-- Cargo Store for different language names -->{{#cargo_store: | }}<!-- Cargo Store for different language names -->{{#cargo_store: | ||
_table=pg_language_name | _table=pg_language_name | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
|de_name = {{{de-name|}}} | |de_name = {{{de-name|}}} | ||
|es_name = {{{es-name|}}} | |es_name = {{{es-name|}}} | ||
Line 76: | Line 76: | ||
|it_name = {{{it-name|}}} | |it_name = {{{it-name|}}} | ||
|ja_name = {{{ja-name|}}} | |ja_name = {{{ja-name|}}} | ||
− | |zh_name = {{# | + | |zh_name = {{{zh-name|}}} |
+ | }}<!-- Cargo Store for identifiers -->{{#cargo_store: | ||
+ | _table=pg_identifier | ||
+ | |identifier = {{{identifier|}}} | ||
+ | |en_name = {{{name|}}} | ||
+ | |category = Interior | ||
}}}}</includeonly>{{Infobox 2.0 | }}}}</includeonly>{{Infobox 2.0 | ||
+ | | colorclass = color-series | ||
| primarycolor = 39 100 | | primarycolor = 39 100 | ||
| secondarycolor = 42 73 | | secondarycolor = 42 73 | ||
− | | title = {{{ | + | | title = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}} |
| subtitleabove = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}} | | subtitleabove = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}} | ||
− | | lefticon = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{{num-pg|}}}'''| }} | + | | lefticon = [[File:{{#switch: {{{category|}}} |
− | + | | Wallpaper = Wallpaper PG Inv Icon.png{{!}}Type of wallpaper | |
− | + | | Carpet = Carpet PG Inv Icon.png{{!}}Type of carpet}}|sub|class=sprite|link=]] | |
− | + | | righticon = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-pg|}}}}}'''| }}{{#if:{{{num-dnm|}}}{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|{{Note|{{#if:{{{num-pg|}}}|{{PG}} catalog number<nowiki>;</nowiki> }}{{#if:{{{num-dnm|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-dnm|}}}}} in {{DnM}}{{#if:{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-plus|}}}}} in {{DnM+}}{{#if:{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-e-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-e-plus|}}}}} in {{DnMe+}}{{#if:{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-ique|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-ique|}}}}} in {{iQue}}}}}}}} | |
− | |||
− | | image = [[File:{{{image|}}}|256px|class=sprite|{{{name|}}}]] | + | | image = [[File:{{{image|}}}|256px|class=sprite|{{#invoke:SentenceCase|main|{{{name|}}}}}]] |
| caption = | | caption = | ||
Line 97: | Line 102: | ||
| label = Obtain via | | label = Obtain via | ||
− | | data = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{plus-availability|}}}|{{Availability|{{{plus-availability|}}}|note={{{plus-availability-note|}}}}}}} | + | | data = {{#if:{{{availability1|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{plus-availability|}}}|{{Availability|{{{plus-availability|}}}|note={{{plus-availability-note|}}}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}} |
− | | label2 = Rarity group | + | | label2 = [[Group|Rarity group]] |
− | | data2 = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown} | + | | data2 = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown}}} | None}} |
| label3 = [[Happy Home Academy|HRA]] points | | label3 = [[Happy Home Academy|HRA]] points | ||
Line 106: | Line 111: | ||
| widebottomlabel = Appearances | | widebottomlabel = Appearances | ||
− | | widebottomdata = {{#if: {{{num-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM|shortest}}|appears=no}} }}{{#if: {{{num-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM+|shortest}}|appears=no}} }}{{#if: {{{num-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{Infobox Appearance|game={{PG|shortest}}|appears=no}} }}{{#if: {{{num-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}} }} | + | | widebottomdata = {{#if: {{{num-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{#if: {{{in-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM|shortest}}|appears=no}} }} }}{{#if: {{{num-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{#if: {{{in-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM+|shortest}}|appears=no}} }} }}{{#if: {{{num-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{#if: {{{in-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{Infobox Appearance|game={{PG|shortest}}|appears=no}} }} }}{{#if: {{{num-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{#if: {{{in-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}} }} }}{{#if: {{{num-ique|}}} | {{Infobox Appearance|game={{iQue|shortest}}|appears=yes}}| {{#if: {{{in-ique|}}} | {{Infobox Appearance|game={{iQue|shortest}}|appears=yes}}| {{Infobox Appearance|game={{iQue|shortest}}|appears=no}} }} }} |
| widebottomlabel2 = Notes | | widebottomlabel2 = Notes | ||
Line 112: | Line 117: | ||
| widebottomlabel3 = In other games | | widebottomlabel3 = In other games | ||
− | | widebottomdata3 = {{#cargo_query:tables=nh_interior|fields=CONCAT("[[Item:", nh_interior.en_name, " (New Horizons)|''New Horizons'' (", nh_interior.en_name, ")]]<br />")|where=nh_interior.identifier="{{{identifier|}}}"|default=}} | + | | widebottomdata3 = {{#cargo_query:tables=ww_interior|fields=CONCAT("[[Item:", ww_interior.en_name, " (Wild World)|''Wild World'' (", ww_interior.en_name, ")]]<br />")|where=ww_interior.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=cf_interior|fields=CONCAT("[[Item:", cf_interior.en_name, " (City Folk)|''City Folk'' (", cf_interior.en_name, ")]]<br />")|where=cf_interior.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nl_interior|fields=CONCAT("[[Item:", nl_interior.en_name, " (New Leaf)|''New Leaf'' (", nl_interior.en_name, ")]]<br />")|where=nl_interior.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nh_interior|fields=CONCAT("[[Item:", nh_interior.en_name, " (New Horizons)|''New Horizons'' (", nh_interior.en_name, ")]]<br />")|where=nh_interior.identifier="{{{identifier|}}}"|delimiter=|default=}} |
− | | languages = | + | | languages = Names |
− | | ja-name = {{{ja-name|}}} | + | | ja-name = {{#if:{{{ja-name|}}}|{{{ja-name|}}}|N/A}} |
− | | zh-name = {{#if:{{{ | + | | zh-name = {{#if:{{{zh-name|}}}|{{{zh-name|}}}|N/A}} |
− | | fr-name = {{{fr-name|}}} | + | | fr-name = {{#if:{{{fr-name|}}}|{{{fr-name|}}}|N/A}} |
− | | es-name = {{{es-name|}}} | + | | es-name = {{#if:{{{es-name|}}}|{{{es-name|}}}|N/A}} |
− | | it-name = {{{it-name|}}} | + | | it-name = {{#if:{{{it-name|}}}|{{{it-name|}}}|N/A}} |
− | | de-name = {{{de-name|}}} | + | | de-name = {{#if:{{{de-name|}}}|{{{de-name|}}}|N/A}} |
| zht-name = N/A | | zht-name = N/A | ||
| ko-name = N/A | | ko-name = N/A | ||
Line 127: | Line 132: | ||
| nl-name = N/A | | nl-name = N/A | ||
| ru-name = N/A | | ru-name = N/A | ||
− | }}<includeonly> | + | }}<includeonly>[[Category:First-generation Animal Crossing {{#switch: {{{category|}}} |
| Wallpaper = wallpapers | | Wallpaper = wallpapers | ||
| Carpet = carpets | | Carpet = carpets | ||
− | | {{{category|}}}}}]]}}{{#if:{{{num-plus|}}}|[[Category: | + | | {{{category|}}}}}]]{{#if:{{{num-dnm|}}}|[[Category:Doubutsu no Mori {{#switch: {{{category|}}} |
+ | | Wallpaper = wallpapers | ||
+ | | Carpet = carpets | ||
+ | | {{{category|}}}}}]]}}{{#if:{{{num-plus|}}}|[[Category:Doubutsu no Mori+ {{#switch: {{{category|}}} | ||
| Wallpaper = wallpapers | | Wallpaper = wallpapers | ||
| Carpet = carpets | | Carpet = carpets | ||
Line 139: | Line 147: | ||
| Wallpaper = wallpapers | | Wallpaper = wallpapers | ||
| Carpet = carpets | | Carpet = carpets | ||
− | | {{{category|}}}}}]]}}{{#if:{{{num-ique|}}}|[[Category: | + | | {{{category|}}}}}]]}}{{#if:{{{num-ique|}}}|[[Category:Dòngwù Sēnlín {{#switch: {{{category|}}} |
| Wallpaper = wallpapers | | Wallpaper = wallpapers | ||
| Carpet = carpets | | Carpet = carpets | ||
− | | {{{category|}}}}}]]}}</includeonly><noinclude>{{clear}} | + | | {{{category|}}}}}]]}}{{#if: {{{availability1|}}} | [[Category:Acquired from {{{availability1|}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{{availability2|}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{{availability3|}}}]]}}{{#if: {{{availability-other|}}} | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}</includeonly><noinclude>{{clear}} |
== Notes == | == Notes == | ||
{{Note list}} | {{Note list}} |
Latest revision as of 01:02, May 19, 2024
This template defines the table "pg_interior". View table.
| ||||||||
[[File:|256px|class=sprite|]] | ||||||||
Buy price | Sell price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Unknown | |||||||
Rarity group | None | |||||||
HRA points | Unknown | |||||||
Appearances | ||||||||
Names in other languages
N/A
N/A N/A N/A
N/A
N/A N/A N/A
N/A N/A N/A N/A |
Notes
No documentation for Template:PGInterior exists. Create it.