Difference between revisions of "Template:NLClothingVillagers"
From Nookipedia, the Animal Crossing wiki
|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{#vardefine: result | {{#cargo_query: table=nl_villager|fields=CONCAT( '[[File:', nl_villager.icon, '|x25px|', nl_villager.name, ']] [[', nl_villager._pageTitle, '|', nl_villager.name, ']]' )|where=nl_villager.clothing='{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}|'|\'}}'|limit=300|default=}}}}{{#if: {{#var: result}}|This item is worn by the following villagers: {{#var: result}}.|No villagers wear this item as their default outfit.}}{{#if: {{#var: result-house}}| This item appears in the homes of the following villagers: {{#var: result-house}}.{{#if: {{#var: result-rv}}| This item also appears in the [[RV]] of the following characters: {{#var: result-rv}}}}|{{#if: {{#var: result-rv}}| This item appears in the [[RV]] of the following characters: {{#var: result-rv}}|}}}}<noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]]</noinclude> | + | {{#invoke:NLVillagerItemOutput|clothingOutput|{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Leaf)|}}}}}}}<noinclude>{{clear}}{{Documentation}}[[Category:Cargo templates]]</noinclude> |
Latest revision as of 18:49, October 28, 2022
No villagers wear this item as their default outfit.
No documentation for Template:NLClothingVillagers exists. Create it.