Difference between revisions of "Template:WWHouse"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (adding furniture link) |
PanchamBro (talk | contribs) (adding TitleCase and SentenceCase modules) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|interior_image = String | |interior_image = String | ||
|interior_image_url = String | |interior_image_url = String | ||
+ | |exterior = String | ||
|wallpaper = String | |wallpaper = String | ||
|wallpaper_image = String | |wallpaper_image = String | ||
Line 18: | Line 19: | ||
{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | {{#ifeq:{{NAMESPACE}}||{{#cargo_store: | ||
_table=ww_house | _table=ww_house | ||
− | |villager = {{ | + | |villager = {{{name|{{PAGENAME}}}}} |
+ | |exterior = {{{ext|}}} | ||
|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 45: | ||
| value | | value | ||
| <nowiki /> | | <nowiki /> | ||
− | {{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}_WW_Model.png}}}|24px|alt=|link=]] <span style="font-size:.85em">{{ | + | {{!}} [[File:{{{f{{#var: key }}-img|{{#invoke:TitleCase|main|{{{furn{{#var: key }}|}}}}}_WW_Model.png}}}|24px|alt=|link=]] <span style="font-size:.85em">[[{{{f{{#var: key }}-link|Item:{{{furn{{#var: key }}|}}} (Wild World)}}}|{{#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 50: | Line 52: | ||
|- | |- | ||
| 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;" | + | | style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{wallpaper-img|{{#invoke:TitleCase|main|{{{wallpaper|}}}}}_WW_Model.png}}}|24px|alt=|link=]] <span style="font-size:.85em">[[{{{wall-link|Item:{{{wallpaper|}}} (Wild World)}}}|{{#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;" | + | | style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{floor-img|{{#invoke:TitleCase|main|{{{floor|}}}}}_WW_Model.png}}}|24px|alt=|link=]] <span style="font-size:.85em">[[{{{floor-link|Item:{{{floor|}}} (Wild World)}}}|{{#invoke:SentenceCase|main|{{{floor|}}}}}]]</span> |
|- | |- | ||
| 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> |
Latest revision as of 20:01, December 24, 2022
This template defines the table "ww_house". View table.
No documentation for Template:WWHouse exists. Create it.