Template talk:NHHouse

From Nookipedia, the Animal Crossing wiki

To-do[edit]

I've split this NH-specific template out from Template:House Info, to reduce the complexity of the template and allow for easier customization. We'll eventually split out the rest of the games as well.

To-do with this template:

  • Still needs testing
  • Add support for count (e.g. instead of listing a furniture multiple times, we would do f#-count= 3 and (x3) would appear next to the furniture).
  • Add field for crafting table (this is the name of the crafting table the villager brings out when crafting, if their house doesn't have one already).
  • Add field for cooking range (introduced in 1.6, needs more investigation - this is the cooking range the villager brings out while cooking).
  • Now that we have an NH-specific template, I'm also thinking it'd be worth having f#-variation and f#-pattern params to define furniture variations. This data would be nice to have in Cargo + our API, and can also be used to automatically populate the right furniture image.
    • For updating villager pages, we can at least automate instances where an image is defined with both a variation and pattern. Something like:
Replace \|f([0-9]+)-img= ([a-zA-Z ]*) \(([a-zA-Z ]*) - ([a-zA-Z ]*)\) NH Icon\.png with |f$1-variation = $3\n|f$1-pattern = $4
Unfortunately I think replacing images with only one variation or one pattern will have to be done by hand, as we don't programmatically know whether it's a variation or a pattern.

~SuperHamster Talk 01:23, November 19, 2020 (EST)

Update: added support for count, as well as f#-variation/pattern. We can add crafting table and cooking range when we're ready to mass-add those via bot. I also increased the width of the furniture list to 300px to better handle longer item names + count text. ~SuperHamster Talk 00:58, November 24, 2020 (EST)