Difference between revisions of "Template:WWHouse"

From Nookipedia, the Animal Crossing wiki
(adding furniture link)
(Combine multiple music notes that contain "Does not contain a stereo initially.")
(3 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=ww_house
 
_table=ww_house
|villager = {{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}
+
|villager = {{{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|}}}}}}}}}
Line 43: Line 43:
 
  | value
 
  | value
 
  | <nowiki />
 
  | <nowiki />
{{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}_WW_Model.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">{{I|{{{furn{{#var: key }}|}}}|Wild World}}{{#if: {{{f{{#var: key }}-count|}}} | <nowiki /> (x{{{f{{#var: key }}-count|}}}) | }}{{#if: {{{f{{#var: key }}-note|}}} | {{tt|*|{{{f{{#var: key }}-note|}}}}} }}</span>
+
{{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}_WW_Model.png}}}|24px|alt=|link=]]&nbsp;<span style="font-size:.85em">[[{{{f{{#var: key }}-link|Item:{{{furn{{#var: key }}|}}} (Wild World)}}}|{{{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 56: Line 56:
 
|-
 
|-
 
| style="padding: 3px; vertical-align:top;" | '''Music:'''
 
| style="padding: 3px; vertical-align:top;" | '''Music:'''
| style="background: #ffffff; padding: 0 0 0 10px; text-align:left; {{roundybl|8px}}; {{roundybr|8px}}" | {{#if:{{{music|}}}|[[{{{music|}}}]]|No music}} {{#if: {{{music-note|}}} | {{Note|{{{music-note|}}}}}}}
+
| style="background: #ffffff; padding: 0 0 0 10px; text-align:left; {{roundybl|8px}}; {{roundybr|8px}}" | {{#if:{{{music|}}}|[[{{{music-link|{{{music|}}}}}}|{{{music|}}}]]|No music}} {{#if: {{{music-note|}}} | {{#ifeq:{{{music-note|}}}|Does not contain a stereo initially|{{Note|name=no-stereo|{{{music-note|}}}}}|{{Note|{{{music-note|}}}}}}}}}
 
|}
 
|}
 
</div>
 
</div>
 
</div><includeonly>{{#if:{{{int|}}}||[[Category:Villagers missing a Wild World interior photo]]}}{{#if:{{{wallpaper|}}}||[[Category:ACWW house info missing]]}}{{#if:{{{floor|}}}||[[Category:ACWW house info missing]]}}</includeonly><noinclude><br>{{Documentation}}</noinclude>
 
</div><includeonly>{{#if:{{{int|}}}||[[Category:Villagers missing a Wild World interior photo]]}}{{#if:{{{wallpaper|}}}||[[Category:ACWW house info missing]]}}{{#if:{{{floor|}}}||[[Category:ACWW house info missing]]}}</includeonly><noinclude><br>{{Documentation}}</noinclude>

Revision as of 06:05, May 12, 2022

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

Nia blue upload.png
Items:
Wall: 24px 
Floor: 24px 
Music: No music


No documentation for Template:WWHouse exists. Create it.