Difference between revisions of "Template:NLInteriorVillagers"

From Nookipedia, the Animal Crossing wiki
(creating template)
 
 
(One intermediate revision by the same user not shown)
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>
+
{{#invoke:NLVillagerItemOutput|interiorOutput|{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}|type={{{1|}}}}}<noinclude>{{clear}}{{Documentation}}[[Category:Cargo templates]]</noinclude>

Latest revision as of 18:47, October 28, 2022

No villagers have this item in their home, nor do any characters have this item in their RV.

No documentation for Template:NLInteriorVillagers exists. Create it.