Difference between revisions of "Template:NHHouse"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Removing Cargo queries to villager table) |
PanchamBro (talk | contribs) (adding villager exterior names to cargo table; will need to add them proper when i'm not moving around) |
||
Line 17: | Line 17: | ||
|music_image = String | |music_image = String | ||
|music_image_url = String | |music_image_url = String | ||
+ | |house_shape = Integer | ||
+ | |house_shape_image = String | ||
+ | |house_shape_url = String | ||
+ | |house_wall = String | ||
+ | |house_wall_image = String | ||
+ | |house_wall_url = String | ||
+ | |house_roof = String | ||
+ | |house_roof_image = String | ||
+ | |house_roof_url = String | ||
+ | |house_door = String | ||
+ | |house_door_image = String | ||
+ | |house_door_url = String | ||
|items = Text | |items = Text | ||
|notes = Wikitext string | |notes = Wikitext string | ||
Line 37: | Line 49: | ||
|music = {{{music|}}} | |music = {{{music|}}} | ||
|music_note = {{{music-note|}}} | |music_note = {{{music-note|}}} | ||
− | |music_image = {{#if:{{{music-img|}}}|{{{music-img|}}}|{{{ | + | |music_image = {{#if:{{{music-img|}}}|{{{music-img|}}}|{{{music|}}}_NH_Texture.png}} |
− | |music_image_url = {{filepath:{{#if:{{{music-img|}}}|{{{music-img|}}}|{{{ | + | |music_image_url = {{filepath:{{#if:{{{music-img|}}}|{{{music-img|}}}|{{{music|}}}_NH_Texture.png}}}} |
+ | |house_shape = {{{house-shape|}}} | ||
+ | |house_shape_image = {{#if:{{{house-shape-img|}}}|{{{house-shape-img|}}}|Villager_House_{{{house-shape|}}}_NH_Icon.png}} | ||
+ | |house_shape_url = {{filepath:{{#if:{{{house-shape-img|}}}|{{{house-shape-img|}}}|Villager_House_{{{house-shape|}}}_NH_Icon.png}}}} | ||
+ | |house_wall = {{{house-wall|}}} | ||
+ | |house_wall_image = {{#if:{{{house-wall-img|}}}|{{{house-wall-img|}}}|{{{house-wall|}}}_(Villager_House_{{{house-shape|}}})_NH_Icon.png}} | ||
+ | |house_wall_url = {{filepath:{{#if:{{{house-wall-img|}}}|{{{house-wall-img|}}}|{{{house-wall|}}}_(Villager_House_{{{house-shape|}}})_NH_Icon.png}}}} | ||
+ | |house_roof = {{{house-roof|}}} | ||
+ | |house_roof_image = {{#if:{{{house-roof-img|}}}|{{{house-roof-img|}}}|{{{house-roof|}}}_(Villager_House_{{{house-shape|}}})_NH_Icon.png}} | ||
+ | |house_roof_url = {{filepath:{{#if:{{{house-roof-img|}}}|{{{house-roof-img|}}}|{{{house-roof|}}}_(Villager_House_{{{house-shape|}}})_NH_Icon.png}}}} | ||
+ | |house_door = {{{house-door|}}} | ||
+ | |house_door_image = {{#if:{{{house-door-img|}}}|{{{house-door-img|}}}|{{{house-door|}}}_(Villager_House_{{{house-shape|}}})_NH_Icon.png}} | ||
+ | |house_door_url = {{filepath:{{#if:{{{house-door-img|}}}|{{{house-door-img|}}}|{{{house-door|}}}_(Villager_House_{{{house-shape|}}})_NH_Icon.png}}}} | ||
|items = [ {{#forargs: furn | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{furn{{#var: key}}|}}}", "count": {{{f{{#var: key}}-count|1}}}, "image_url": "{{filepath:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}{{#if: {{{f{{#var: key }}-variation|}}} | {{#if: {{{f{{#var: key }}-pattern|}}} | _({{{f{{#var: key }}-variation|}}}_-_{{{f{{#var: key }}-pattern|}}}) | _({{{f{{#var: key }}-variation|}}}) }} | {{#if: {{{f{{#var: key }}-pattern|}}} | _({{{f{{#var: key }}-pattern|}}}) | }} }}_NH_Icon.png}}}}}", "link": "{{canonicalurl:{{{f{{#var: key }}-link|Item:{{{furn{{#var: key}}|}}} (New Horizons)}}}}}", "note": "{{{furn{{#var: key }}-note|}}}"} | |items = [ {{#forargs: furn | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{furn{{#var: key}}|}}}", "count": {{{f{{#var: key}}-count|1}}}, "image_url": "{{filepath:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}{{#if: {{{f{{#var: key }}-variation|}}} | {{#if: {{{f{{#var: key }}-pattern|}}} | _({{{f{{#var: key }}-variation|}}}_-_{{{f{{#var: key }}-pattern|}}}) | _({{{f{{#var: key }}-variation|}}}) }} | {{#if: {{{f{{#var: key }}-pattern|}}} | _({{{f{{#var: key }}-pattern|}}}) | }} }}_NH_Icon.png}}}}}", "link": "{{canonicalurl:{{{f{{#var: key }}-link|Item:{{{furn{{#var: key}}|}}} (New Horizons)}}}}}", "note": "{{{furn{{#var: key }}-note|}}}"} | ||
}} ] | }} ] |
Revision as of 14:42, March 17, 2022
This template defines the table "nh_house". View table.
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.