Difference between revisions of "Template:NLInteriorVillagers"

From Nookipedia, the Animal Crossing wiki
(creating template)
 
m
 
Line 1: Line 1:
{{#switch:{{{1|}}}|wallpaper={{#vardefine: result | {{#cargo_query: table=nl_house|fields=CONCAT( '[[File:', nl_house.villager, ' NL Villager Icon.png|25px|link=|alt=|', nl_house.villager, ']] [[', nl_house._pageTitle, '|', nl_house.villager, ']]' )|where=nl_house.wallpaper='{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}|'|\'}}'|limit=300|default=}}}}{{#if: {{#var: result}}|This item appears in the homes of the following villagers: {{#var: result}}.|No villagers have this item in their home.}}|flooring={{#vardefine: result | {{#cargo_query: table=nl_house|fields=CONCAT( '[[File:', nl_house.villager, ' NH Villager Icon.png|25px|link=|alt=|', nl_house.villager, ']] [[', nl_house._pageTitle, '|', nl_house.villager, ']]' )|where=nl_house.flooring='{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}|'|\'}}'|limit=300|default=}}}}{{#if: {{#var: result}}|This item appears in the homes of the following villagers: {{#var: result}}.|No villagers have this item in their home.}}}}<noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]]</noinclude>
+
{{#switch:{{{1|}}}|wallpaper={{#vardefine: result | {{#cargo_query: table=nl_house|fields=CONCAT( '[[File:', nl_house.villager, ' NL Villager Icon.png|25px|link=|alt=|', nl_house.villager, ']] [[', nl_house._pageTitle, '|', nl_house.villager, ']]' )|where=nl_house.wallpaper='{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}|'|\'}}'|limit=300|default=}}}}{{#if: {{#var: result}}|This item appears in the homes of the following villagers: {{#var: result}}.|No villagers have this item in their home.}}|carpet={{#vardefine: result | {{#cargo_query: table=nl_house|fields=CONCAT( '[[File:', nl_house.villager, ' NH Villager Icon.png|25px|link=|alt=|', nl_house.villager, ']] [[', nl_house._pageTitle, '|', nl_house.villager, ']]' )|where=nl_house.flooring='{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}|'|\'}}'|limit=300|default=}}}}{{#if: {{#var: result}}|This item appears in the homes of the following villagers: {{#var: result}}.|No villagers have this item in their home.}}}}<noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]]</noinclude>

Latest revision as of 19:42, February 25, 2022


No documentation for Template:NLInteriorVillagers exists. Create it.