Difference between revisions of "Template:NLClothingVillagers"

From Nookipedia, the Animal Crossing wiki
(creating template)
 
(removing unnecessary parameters)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: result | {{#cargo_query: table=nl_villager|fields=CONCAT( '[[File:', nl_villager.name, ' NL Model.png|25px|', 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.}}<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.