|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{#vardefine: result-hhp | {{#cargo_query: table=hhp_villager|fields=CONCAT( '[[File:', hhp_villager.name, ' NH Villager Icon.png|25px|link=|alt=|', hhp_villager.name, ']] [[', hhp_villager._pageTitle, '|', hhp_villager.name, ']]' )|where=hhp_villager.facility=0 AND (hhp_villager.unlocked_items LIKE '%"{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}"%' OR hhp_villager.item1 = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}" OR hhp_villager.item2 = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}" OR hhp_villager.item3 = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}")|limit=300|order by=hhp_villager.name_sort|default=}}}}<!-- | + | {{#invoke:NHVillagerItemOutput|HHPOutput|{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|text={{{text|}}}|clothing={{#incat:New Horizons accessories|yes|{{#incat:New Horizons bags|yes|{{#incat:New Horizons bottoms|yes|{{#incat:New Horizons headwear|yes|{{#incat:New Horizons other clothing|yes|{{#incat:New Horizons shoes|yes|{{#incat:New Horizons socks|yes}}}}}}}}}}}}}}|hhpstatus={{{hhpstatus|}}}|prune-hhp={{{prune-hhp|}}}}}<noinclude>{{clear}}{{Documentation}}[[Category:Cargo templates]]</noinclude> |
− | -->{{#vardefine: facility | {{#cargo_query: table=hhp_villager|fields=CONCAT( 'the [[', hhp_villager._pageName, '|', LCASE(hhp_villager.name), ']]' )|where=hhp_villager.facility=1 AND hhp_villager.unlocked_items LIKE '%"{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}"%'|limit=300|order by=hhp_villager.name_sort|default=}}}}<!--
| |
− | -->{{#vardefine: type | {{#cargo_query: table=nh_item|fields=nh_item.plant_type|where=nh_item.en_name = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}"|limit=300|default=|no html}}}}{{#vardefine: required | {{#cargo_query: table=hhp_villager|fields=CONCAT( '[[File:', hhp_villager.name, ' NH Villager Icon.png|25px|link=|alt=|', hhp_villager.name, ']] [[', hhp_villager._pageTitle, '|', hhp_villager.name, ']]' )|where=hhp_villager.facility=0 AND (hhp_villager.item1 = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}" OR hhp_villager.item2 = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}" OR hhp_villager.item3 = "{{#replace:{{{item|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki/> <nowiki/>(New Horizons)|}}}}}|'|\'}}")|limit=300|order by=hhp_villager.name_sort|default=}}}}<!--
| |
− | -->{{#if: {{#var: result-hhp}}|In {{HHP|short}}, this item is unlocked for usage in house designing{{#incat:New Horizons tops| and as a clothing item to use on the player |{{#incat:New Horizons accessories| and as a clothing item to use on the player |{{#incat:New Horizons bags| and as a clothing item to use on the player |{{#incat:New Horizons bottoms| and as a clothing item to use on the player |{{#incat:New Horizons headwear| and as a clothing item to use on the player |{{#incat:New Horizons other clothing| and as a clothing item to use on the player |{{#incat:New Horizons shoes| and as a clothing item to use on the player |{{#incat:New Horizons socks| and as a clothing item to use on the player }}}}}}}}}}}}}}}}when doing a vacation home request for the following villagers: {{#var: result-hhp}}.{{#if: {{#var: facility}}| The item can also be unlocked when designing the following [[facilities]]: {{#var: facility}}.}}{{#if: {{#var: required}}| The item is also required to be used in the vacation homes of the following villagers: {{#var: required}}.}}|{{#if: {{#var: facility}}|In {{HHP|short}}, this item is unlocked for usage in house designing{{#incat:New Horizons tops| and as a clothing item to use on the player |{{#incat:New Horizons accessories| and as a clothing item to use on the player |{{#incat:New Horizons bags| and as a clothing item to use on the player |{{#incat:New Horizons bottoms| and as a clothing item to use on the player |{{#incat:New Horizons headwear| and as a clothing item to use on the player |{{#incat:New Horizons other clothing| and as a clothing item to use on the player |{{#incat:New Horizons shoes| and as a clothing item to use on the player |{{#incat:New Horizons socks| and as a clothing item to use on the player }}}}}}}}}}}}}}}} when tasked with designing the following [[facilities]]: {{#var: facility}}.|In {{HHP|short}}, no villagers unlock this item for usage in designing a vacation home{{#if:{{#var:type}}|, and it can only be used after the player completes the first vacation home|, and it can only be used once the player's [[catalog]] is unlocked after completing the 27th vacation home}}.}}}}<noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]]</noinclude>
| |