Difference between revisions of "Template:WWHouse"
From Nookipedia, the Animal Crossing wiki
(Creating) |
SuperHamster (talk | contribs) (Removing Cargo query to villager table) |
||
(18 intermediate revisions by 5 users not shown) | |||
Line 16: | Line 16: | ||
}} | }} | ||
[[Category:Cargo templates]]</noinclude><includeonly> | [[Category:Cargo templates]]</noinclude><includeonly> | ||
− | {{#cargo_store: | + | {{#ifeq:{{NAMESPACE}}||{{#cargo_store: |
_table=ww_house | _table=ww_house | ||
− | |villager = {{ | + | |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|}}}}}}}}} | ||
− | |||
− | |||
|wallpaper = {{{wallpaper|}}} | |wallpaper = {{{wallpaper|}}} | ||
− | |wallpaper_image = {{#if:{{{wallpaper-img|}}}|{{{wallpaper-img|}}}|{{{wallpaper|}}} | + | |wallpaper_image = {{#if:{{{wallpaper-img|}}}|{{{wallpaper-img|}}}|{{{wallpaper|}}}_WW.png}} |
− | |wallpaper_image_url = {{filepath:{{#if:{{{wallpaper-img|}}}|{{{wallpaper-img|}}}|{{{wallpaper|}}} | + | |wallpaper_image_url = {{filepath:{{#if:{{{wallpaper-img|}}}|{{{wallpaper-img|}}}|{{{wallpaper|}}}_WW.png}}}} |
|flooring = {{{floor|}}} | |flooring = {{{floor|}}} | ||
− | |flooring_image = {{#if:{{{floor-img|}}}|{{{floor-img|}}}|{{{floor|}}} | + | |flooring_image = {{#if:{{{floor-img|}}}|{{{floor-img|}}}|{{{floor|}}}_WW.png}} |
− | |flooring_image_url = {{filepath:{{#if:{{{floor-img|}}}|{{{floor-img|}}}|{{{floor|}}} | + | |flooring_image_url = {{filepath:{{#if:{{{floor-img|}}}|{{{floor-img|}}}|{{{floor|}}}_WW.png}}}} |
|music = {{{music|}}} | |music = {{{music|}}} | ||
|music_note = {{{music-note|}}} | |music_note = {{{music-note|}}} | ||
Line 34: | Line 32: | ||
}} ] | }} ] | ||
|notes = | |notes = | ||
− | }}</includeonly><div class="house-flex-container" style="width: max-content; background: #B3DAE7; border: 2px solid #8CBCD1; text-align: center; {{roundy|8px}};"> | + | }}}}</includeonly><div class="house-flex-container" style="max-width: max-content; background: #B3DAE7; border: 2px solid #8CBCD1; text-align: center; {{roundy|8px}};"> |
− | <div class="house-flex-item house-img" style="padding:5px;">{{#if:{{{ | + | <div class="house-flex-item house-img" style="padding:5px;">{{#if:{{{int|}}}|[[File:{{{int|}}}|Interior of {{PAGENAME}}'s house in Animal Crossing: Wild World]]|[[File:nia blue upload.png|link=Special:Upload]]}}</div> |
− | |||
<div class="house-flex-item" style="display: table-cell; vertical-align: middle;"> | <div class="house-flex-item" style="display: table-cell; vertical-align: middle;"> | ||
− | {| style="width: 360px; padding:0px 6px 6px 3px; text-align:right;" | + | {| style="max-width: 360px; padding:0px 6px 6px 3px; text-align:right;" |
| style="padding: 3px; vertical-align:top;" | '''Items:''' | | style="padding: 3px; vertical-align:top;" | '''Items:''' | ||
| style="background: #ffffff; padding: 0 3px 0 7px; {{roundytop|8px}}; text-align:{{#if:{{{furniture|}}}|left|center}};" | {{#if:{{{furniture|}}}|{{{furniture|}}}<includeonly>[[Category:Pages with an outdated house template]]</includeonly>| | | style="background: #ffffff; padding: 0 3px 0 7px; {{roundytop|8px}}; text-align:{{#if:{{{furniture|}}}|left|center}};" | {{#if:{{{furniture|}}}|{{{furniture|}}}<includeonly>[[Category:Pages with an outdated house template]]</includeonly>| | ||
Line 46: | Line 43: | ||
| value | | value | ||
| <nowiki /> | | <nowiki /> | ||
− | {{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}} | + | {{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}_WW_Model.png}}}|24px|alt=|link=]] <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> |
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }} | {{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }} | ||
}} | }} | ||
Line 52: | Line 49: | ||
}} | }} | ||
|- | |- | ||
− | | style="padding: 3px; vertical-align:top;" | ''' | + | | style="padding: 3px; vertical-align:top;" | '''Wall:''' |
− | | style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | [[File:{{{wallpaper|}}} | + | | style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | {{#if:{{{wallpaper-img|}}}|[[File:{{{wallpaper-img|}}}|24px|alt=|link=]]|[[File:{{{wallpaper|}}}_WW_Model.png|24px|alt=|link=]]}} <span style="font-size:.85em">{{{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|}}} | + | | style="background: #ffffff; padding: 0 0 0 7px; text-align:left;" | {{#if:{{{floor-img|}}}|[[File:{{{floor-img|}}}|24px|alt=|link=]]|[[File:{{{floor|}}}_WW_Model.png|24px|alt=|link=]]}} <span style="font-size:.85em">{{{floor|}}}</span> |
|- | |- | ||
| style="padding: 3px; vertical-align:top;" | '''Music:''' | | style="padding: 3px; vertical-align:top;" | '''Music:''' | ||
Line 62: | Line 59: | ||
|} | |} | ||
</div> | </div> | ||
− | </div><includeonly>{{#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 05:56, December 1, 2021
This template defines the table "ww_house". View table.
No documentation for Template:WWHouse exists. Create it.