Difference between revisions of "Template:NHHouse"

From Nookipedia, the Animal Crossing wiki
m (Fix)
(Removing Cargo queries to villager table)
Line 23: Line 23:
 
{{#ifeq:{{{store-cargo|}}}|No||{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
{{#ifeq:{{{store-cargo|}}}|No||{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=nh_house
 
_table=nh_house
|villager = {{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}
+
|villager = {{{name|{{PAGENAME}}}}}
|name_sort = {{{name-sort|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
+
|name_sort = {{{name-sort|{{{name|{{PAGENAME}}}}}}}}
 
|interior_image = {{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}
 
|interior_image = {{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}
 
|interior_image_url = {{filepath:{{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}}}
 
|interior_image_url = {{filepath:{{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}}}

Revision as of 04:11, December 1, 2021

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

Nia blue upload.png
Items:
Wall: 24px [[Item: (New Horizons)|]]
Floor: 24px [[Item: (New Horizons)|]]
Music: No music


Template documentation (view)


More Cargo templates