Difference between revisions of "Template:PGHouse"

From Nookipedia, the Animal Crossing wiki
m
m (Consistency with the other house templates.)
(One intermediate revision by one other user not shown)
Line 23: Line 23:
 
{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=pg_house
 
_table=pg_house
|villager = {{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}
+
|villager = {{{name|{{PAGENAME}}}}}
 
|islander = {{#if:{{{islander|}}}|Yes|No}}
 
|islander = {{#if:{{{islander|}}}|Yes|No}}
 
|game = {{#if:{{{game|}}}|{{{game|}}}|PG}}
 
|game = {{#if:{{{game|}}}|{{{game|}}}|PG}}
Line 75: Line 75:
 
|-
 
|-
 
| style="padding: 3px; vertical-align:top;" | '''Wall:'''
 
| style="padding: 3px; vertical-align:top;" | '''Wall:'''
| style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{wall-img|{{{wallpaper|}}}_PG.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{wall-link|Item:{{{wallpaper|}}} (Animal Crossing)}}}|{{{wallpaper|}}}]]</span>
+
| style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{wallpaper-img|{{{wallpaper|}}}_PG.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{wall-link|Item:{{{wallpaper|}}} (Animal Crossing)}}}|{{{wallpaper|}}}]]</span>
 
|-
 
|-
 
| style="padding: 3px; vertical-align:top;" | '''Floor:'''
 
| style="padding: 3px; vertical-align:top;" | '''Floor:'''

Revision as of 08:07, December 1, 2021

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

Nia blue upload.png
Nia blue upload.png
Items:
Requested
items:
Wall: 24px [[Item: (Animal Crossing)|]]
Floor: 24px [[Item: (Animal Crossing)|]]
Music: No music


No documentation for Template:PGHouse exists. Create it.