Nookipedia:Project Items/Table Templates

The following sections show you how each template works to create different parts of the table. If you're still confused on how to use these templates, head over to some of the more completed furniture pages and edit the page to study the coding structure. If you need any one-on-one help, you can contact any of our members, preferably our more active, experienced ones (or sunmarsh, he's the complete moron absolute genius who made them). Oh, and remember to use the preview button before you save!

Template:TableHeader
This template will automatically create a collapsible container for the table as well as its column heading labels. By inputting the correct parameters, the table will automatically generate a table with the appropriate amount of columns for the list you are creating. The template accepts several parameters as outlined in its documentation; however, I will be going over only the required parameters here.


 * game - Specifies the game the item list is referencing. Possible values: DnM, DnM+, ACGC, DnMe+, ACWW, ACCF, ACNL
 * type - Specifies the type of item(s) the table will contain. Possible values: accessory, carpet, clothing, fish, fossil, furniture, gyroid, insect, misc, music, seafood, stationery, wallpaper
 * collection - Specifies the type of list being created/the type of page the page the list will be on. Possible values: category, other, series, set, theme
 * title - The table's name that will appear at the top of the collapsible container.

Example: Let's say you want to create a furniture table for the Pirate theme in ACWW because you like pirates and you want your villagers to mistake you for a pirate. You would use the following wikitext code:

and it produces:

Template:TableContent
This template formats each cell's contents appropriately and automatically creates new rows. It does not have any required parameters. If you are creating a critter table, however, you will want to use the type parameter to specify insect, fish, or seafood, so it can change the cell border color appropriately.

Example: Let's try the template out on a bug table...

Produces:

Template:TableFooter
This template will produce the appropriate closing tags for a table and its container. If you don't end your tables with this tag, they will take up the entire page and may 'swallow' other elements on the page. That's not good! Your tables don't deserve this! If you look at the wikitext code for this page, you will see I closed the tables in the examples above using this template. This template accepts an optional div parameter which may be set to true or false (default is true). If set to false it will not insert closing div tags. This allows you to embed other tables inside the container before closing it, like in the example below.

Table style guide
Because Template:TableHeader can generate so many different tables it's not really feasible to provide examples of every possible type. Instead the following list provides a style guide for how a cell's contents should be formatted depending on the type of information they contain.


 * Item: Capitalize the first letter of every word in an item's name, except for articles or prepositions.
 * Song Title: Used in place of 'Item' on music tables. Capitalization rules still apply.
 * Name: Used in place of 'Item' on insect, fish, and seafood tables. Capitalization rules still apply.
 * Listen: Used on music tables; insert the appropriate audio file. See Help:Audio for more info.
 * Image: Image width should be set to 75px. If the item is missing an image use the template  .
 * Buy price: Always use Nook's catalog buy price (or other NPC's, if applicable), not Redd's buy price. If buy price is not bells, note the currency used. (e.g. 40 medals)
 * Sell price: Always use Nook's base sale price. If buy price is not bells (e.g. 40 medals), note the currency in the sell price (e.g. 250 bells).
 * Available from: How does one acquire the item? Make sure this content links to the appropriate Nookipedia article.
 * Group: (A, B, C, or -) Only applicable to ACWW and older games.
 * Feng Shui: (Red, Orange, Yellow, Green, Special, Lucky, or -) Only applicable to DnMe+ and older games.
 * Color: (Red, Green, Yellow, Orange, Purple, Blue, Aqua, Beige, Pink, White, Gray, Black, Brown and/or Colorful) Be sure to put the color name in brackets to call the appropriate template. If an item has more than one color, list them in alphabetical order with a "/" between each one. (e.g.  / ). In specific color lists, however, list the article's color first (e.g. in "List of pink furniture", always list  first). Applicable to ACWW and newer games.
 * Genre(s):(Old School, Modern, Chic, and/or Lovely) Applicable to ACWW & ACCF only.
 * HHA Theme(s): (Harmonious, Antique, Rustic, Trendy, Fairy Tale, Toy Shop, Sci-Fi, or Quirky) If an item has more than one then list them in alphabetical order with a "&" between each one. (e.g. Antique & Trendy) Applicable to ACNL only.
 * Style: (Basic, Cute, Flashy, Historical, Iconic, Modern, Official, Ornate, Rock 'n' Roll, or Sporty) Applicable to ACNL only.
 * Size: How much space an item takes up. (, or  ). On fish and seafood tables indicates shadow size instead.
 * Location: Used in insect and fish tables. Notes where the critter can be caught.
 * Time: Used in insect, fish, and seafood tables. Notes which times & months the critter can be caught.
 * Months: Used in insect and fish tables. Notes which months the critter can be caught. The contents will automatically be formatted to be grey and small. Add the appropriate color formatting to months the critter is available in. Remember that equals signs must be placed in brackets to avoid breaking the template.
 * Info: Can the item do anything special? (e.g. Table, Stereo, Storage, Lamp, TV, Wall furniture, Can place on table etc.)
 * Customize: Can Cyrus customize the item? (Yes or No). Applicable to ACNL only.