Difference between revisions of "Template:PGHouse"

From Nookipedia, the Animal Crossing wiki
(Hover text compatibility with iQue houses.)
(adding TitleCase and SentenceCase modules)
(One intermediate revision by the same user not shown)
Line 55: Line 55:
 
  | value
 
  | value
 
  | <nowiki />
 
  | <nowiki />
{{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}_PG_Model.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{f{{#var: key }}-link|Item:{{{furn{{#var: key }}|}}} (Animal Crossing)}}}|{{{furn{{#var: key }}|}}}]]{{#if: {{{f{{#var: key }}-count|}}} | <nowiki /> (x{{{f{{#var: key }}-count|}}}) | }}{{#if: {{{f{{#var: key }}-note|}}} | {{Note|{{{f{{#var: key }}-note|}}}}} }}</span>
+
{{!}} [[File:{{{f{{#var: key }}-img|{{#invoke:TitleCase|main|{{{furn{{#var: key }}|}}}}}_PG_Model.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{f{{#var: key }}-link|Item:{{{furn{{#var: key }}|}}} (Animal Crossing)}}}|{{#invoke:SentenceCase|main|{{{furn{{#var: key }}|}}}}}]]{{#if: {{{f{{#var: key }}-count|}}} | <nowiki /> (x{{{f{{#var: key }}-count|}}}) | }}{{#if: {{{f{{#var: key }}-note|}}} | {{Note|{{{f{{#var: key }}-note|}}}}} }}</span>
 
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
 
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
 
}}
 
}}
Line 68: Line 68:
 
  | value
 
  | value
 
  | <nowiki />
 
  | <nowiki />
{{!}} [[File:{{{r{{#var: key }}-img|{{{req{{#var: key }}|}}}_PG_Model.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{r{{#var: key }}-link|Item:{{{req{{#var: key }}|}}} (Animal Crossing)}}}|{{{req{{#var: key }}|}}}]]{{#if: {{{r{{#var: key }}-count|}}} | <nowiki /> (x{{{freq{{#var: key }}-count|}}}) | }}{{#if: {{{r{{#var: key }}-note|}}} | {{Note|{{{r{{#var: key }}-note|}}}}} }}</span>
+
{{!}} [[File:{{{r{{#var: key }}-img|{{#invoke:TitleCase|main|{{{req{{#var: key }}|}}}}}_PG_Model.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{r{{#var: key }}-link|Item:{{{req{{#var: key }}|}}} (Animal Crossing)}}}|{{#invoke:SentenceCase|main|{{{req{{#var: key }}|}}}}}]]{{#if: {{{r{{#var: key }}-count|}}} | <nowiki /> (x{{{freq{{#var: key }}-count|}}}) | }}{{#if: {{{r{{#var: key }}-note|}}} | {{Note|{{{r{{#var: key }}-note|}}}}} }}</span>
 
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
 
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
 
}}
 
}}
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:{{{wallpaper-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|{{#invoke:TitleCase|main|{{{wallpaper|}}}}}_PG_Texture.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{wall-link|Item:{{{wallpaper|}}} (Animal Crossing)}}}|{{#invoke:SentenceCase|main|{{{wallpaper|}}}}}]]</span>
 
|-
 
|-
 
| style="padding: 3px; vertical-align:top;" | '''Floor:'''
 
| style="padding: 3px; vertical-align:top;" | '''Floor:'''
| style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{floor-img|{{{floor|}}}_PG.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{floor-link|Item:{{{floor|}}} (Animal Crossing)}}}|{{{floor|}}}]]</span>
+
| style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{floor-img|{{#invoke:TitleCase|main|{{{floor|}}}}}_PG_Texture.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{floor-link|Item:{{{floor|}}} (Animal Crossing)}}}|{{#invoke:SentenceCase|main|{{{floor|}}}}}]]</span>
 
|-
 
|-
 
| style="padding: 3px; vertical-align:top;" | '''Music:'''
 
| style="padding: 3px; vertical-align:top;" | '''Music:'''

Revision as of 20:05, December 24, 2022

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.