Template:Material

From Nookipedia, the Animal Crossing wiki

Template documentation (view)


Lua Logo.svg
This template is using one or many Lua modules
To change certain features of this template, the following modules will need to be edited:
  • Module:Materials
  • Module:SentenceCase
  • 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 one or many Lua modules
    To change certain features of this template, the following modules will need to be edited:
  • Module:Materials
  • Module:SentenceCase
  • 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.

    Usage

    {{Material|<material>|<quantity>|size=<optional>|nb=<optional>|sentence-case=<optional>}}
    

    This template will generate the name and associated icon for a specific material in Animal Crossing: New Horizons, primarily for use in tables. The material name used must be exact to the name used in-game. There is also an optional parameter to specify a quantity. The icon's size can be manipulated using the size parameter; the default size is 15px. The nb parameter can be given any value to remove the line break at the end of the template, while the sentence-case parameter is used to sentence case the item names in certain cases; this may not work for certain materials however.

    Although this template supports Bells, it should only be used for recipes that require Bells to craft. For item monetary values please use Template:Currency instead. This template is primarily used for Animal Crossing: New Horizons items; for Animal Crossing: Pocket Camp items, refer to Template:PC Material instead.

    The following materials are supported by this template:

    Natural Resources
    Cooking ingredients
    Star Fragments
    Seasonal
    Trash
    Tools
    Fruit
    Flowers
    Shells
    Furniture
    Interior items
    Miscellaneous

    Example

    {{Material|wood|12}}
    

    12× wood

    {{Material|stone|2|sentence-case=yes}} {{Material|clay|3|sentence-case=yes}}
    
    Stone
    Clay