Template:NHInteriorVillagers

From Nookipedia, the Animal Crossing wiki
Revision as of 04:02, September 11, 2020 by Vmario97 (talk | contribs) (Created page with "{{#switch:{{{1|}}}|wallpaper={{#vardefine: result | {{#cargo_query: table=nh_house|fields=CONCAT( 'File:', nh_house.villager, ' NH Villager Icon.png|25px|', nh_house.village...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#switch:|wallpaper=No villagers have this item in their home.|flooring=No villagers have this item in their home.


Template documentation (view)


Lua Logo.svg
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
  • Module:NHVillagerItemOutput
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using a Lua module
    To change certain features of this template, the following modules will need to be edited:
  • Module:NHVillagerItemOutput
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    More Cargo templates

    When placed on a Animal Crossing: New Horizons interior page, this template will automatically produce a list of villagers whose houses have that item by default. If no villagers have the item, the template will output "No villagers have this item in their home."

    The template will also provide a list of villagers that will unlock the furniture item to use for house designing in Animal Crossing: New Horizons – Happy Home Paradise. The list may also specify if it can be ordered from Wardell's catalog at the Poki price specified. If no villagers have the item available to be unlocked, the template will output "In Happy Home Paradise, no villagers or facility unlock this item for designing. It can only be used once the player's catalog is unlocked after completing the 27th vacation home.".

    This template will automatically extract the item name from the page title, so there is no need to specify any parameters; if needed, however, the item can be specified via the item parameter.

    This template pulls data from the nh_househhp_villager, and nh_interior Cargo table. Cargo table. If a villager's mention is inaccurate, it should be fixed in House Info template, Happy Home Paradise villager info template, and New Horizons interior infobox template that appears on their article. For more information on Cargo, refer to our Cargo documentation.

    Examples

    {{NHInteriorVillagers|wallpaper|item=Backyard-Fence Wall}}

    {{#switch:wallpaper|wallpaper=This item appears in the homes of the following villagers: Astrid Astrid, Benedict Benedict, Biskit Biskit, Cally Cally, Derwin Derwin, Dom Dom, Elmer Elmer, Felicity Felicity, Maggie Maggie, Patty Patty, Scoot Scoot, Sparro Sparro, Winnie Winnie.|flooring=No villagers have this item in their home.

    {{NHInteriorVillagers|flooring|item=Simple White Flooring}}

    {{#switch:flooring|wallpaper=No villagers have this item in their home.|flooring=No villagers have this item in their home.