Difference between revisions of "Template:NLPhoto"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "color-class" to "colorclass")
 
(9 intermediate revisions by 3 users not shown)
Line 25: Line 25:
 
|version_added = String
 
|version_added = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Leaf|''New Leaf''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NLLang/CargoAttach}}{{NHIdentifier/CargoAttach}}<!-- Cargo Store for photos -->{{#cargo_store:
+
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Leaf|''New Leaf''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NLLang/CargoAttach}}{{NLIdentifier/CargoAttach}}<!-- Cargo Store for photos -->{{#cargo_store:
 
_table=nl_photo
 
_table=nl_photo
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
 
|name_sort = {{{name-sort|{{{name|}}}}}}
 
|name_sort = {{{name-sort|{{{name|}}}}}}
|in_na = {{{in-na|}}}
+
|in_na = {{#if:{{{in-na|}}}|Yes|No}}
|in_eu = {{{in-eu|}}}
+
|in_eu = {{#if:{{{in-eu|}}}|Yes|No}}
|in_jp = {{{in-jp|}}}
+
|in_jp = {{#if:{{{in-jp|}}}|Yes|No}}
|in_ko = {{{in-ko|}}}
+
|in_ko = {{#if:{{{in-ko|}}}|Yes|No}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
Line 54: Line 54:
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
 +
|engb_name = {{{engb-name|}}}
 
|de_name = {{{de-name|}}}
 
|de_name = {{{de-name|}}}
 
|es_name = {{{es-name|}}}
 
|es_name = {{{es-name|}}}
Line 66: Line 67:
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|category = Photos
+
|category = Photo
}}}}{{#seo:|image={{filepath:{{{image|{{{name|}}} NL Model.png}}}}}}}</includeonly>{{Infobox 2.0
+
}}}}{{#seo:|image={{filepath:{{{image|{{#invoke:SentenceCase|main|{{{name|}}}}} NL Model.png}}}}}}}</includeonly>{{Infobox 2.0
 +
| colorclass      = color-series
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
Line 75: Line 77:
 
  | righticon        = &nbsp;
 
  | righticon        = &nbsp;
  
  | image            = [[File:{{{image|}}}|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
+
  | image            = {{TabStart}}
 
+
{{TabHeader|Model}}
| image2          = [[File:{{{texture|}}}|64px|Texture of {{{name|}}}]]
+
[[File:{{{image|}}}|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 +
{{TabHeader|Texture}}
 +
[[File:{{{texture|}}}|64px|Texture of {{{name|}}}]]
 +
{{TabEnd}}
  
 
  | leftlabel        = Buy price
 
  | leftlabel        = Buy price
Line 94: Line 99:
  
 
  | widebottomlabel = In other games
 
  | widebottomlabel = In other games
  | widebottomdata  = {{#cargo_query:tables=nh_photo|fields=CONCAT("[[Item:", nh_photo.en_name, " (New Horizons)|''New Horizons'' (", nh_photo.en_name, ")]]<br />")|where=nh_photo.identifier="{{{identifier|}}}"|default=}}
+
  | widebottomdata  = {{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nh_photo|fields=CONCAT("[[Item:", nh_photo.en_name, " (New Horizons)|''New Horizons'' (", nh_photo.en_name, ")]]<br />")|where=nh_photo.identifier="{{{identifier|}}}"|delimiter=|default=}}
  
 
  | languages        = Names
 
  | languages        = Names

Latest revision as of 01:02, May 19, 2024

This template defines the table "nl_photo". View table.

Model

[[File:|128px|]]

Texture

[[File:|64px|Texture of ]]


Buy price Sell price
Not for sale Cannot be sold
Size
.0 x .0   × 
HHA points Unknown
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 Unknown
 Unknown
 N/A



No documentation for Template:NLPhoto exists. Create it.