Template:ItemList

From Nookipedia, the Animal Crossing wiki
Revision as of 21:30, October 15, 2014 by Sunmarsh (talk | contribs) (Trying to figure out wall/floor width problem. Set to 100% in meantime.)


Example

{{ItemList|game=AC}}* produces:

Item Image Buy Price Sell Price Available From Group Feng Shui Size Info


{{ItemList|game=WW|collapsible=yes}} produces:


{{ItemList|game=CF|embed=yes|title=This is a test}} produces:

This is a test

Item Image Buy Price Sell Price Available From Color(s) Genres Size Info


{{ItemList|game=NL|embed=yes|collapsible=yes|title=This is a test}} produces:

This is a test

Item Image Buy Price Sell Price Available From Color(s) HHA Theme Style Size Info Customize


Important: Use of the embed parameter (with non-wall/floor tables) creates two divs which must be closed "" AFTER the table end markup "|}".


Wallpaper & flooring tables

Each game has a corresponding wallpaper and flooring table associated with it. This may be a stand-alone table, or can be embedded in other tables.

{{ItemList|game=AC wall}}* produces:

Item Image Buy Price Sell Price Available From Group


{{ItemList|game=CF wall}} produces:

Item Image Buy Price Sell Price Available From


{{ItemList|game=NL wall}} produces:

Item Image Buy Price Sell Price Color HHA Theme Style Available From


Usage

{{ItemList
|game= 
|collapsible=
|embed=
|title=
}}

Parameters:

  • game: Enter the appropriate abbreviation to display an item table with headings corresponding to that AC title. For ease of use the template accepts several abbreviation variations, as seen below.
  • collapsible: Enter any string to make the table collapsible. If no value is entered the table will not be collapsible.
  • embed: Enter any string to produce a table that allows for other tables to be embedded inside it (e.g. wall/floor tables) while maintaining column-sorting functionality. OR If a wall/floor table is designated in the game parameter, it will produce an embeddable wall/floor table.
  • title: This parameter is only used in conjunction with embed. The embed parameter encapsulates the table(s) in a div; text placed in the title parameter will appear as the table heading.
Acceptable game Parameters
Furniture: DnM, AF, DnM+, AF+, AC, ACGC, PG, DnMe+, AFe+, WW, ACWW, CF, ACCF, NL, ACNL
Wall/Floor: DnM wall, DnM floor, AF wall, AF floor, DnM+ wall, DnM+ floor, AF+ wall, AF+ floor, AC wall, AC floor, ACGC wall, ACGC floor, PG wall, PG floor, DnMe+ wall, DnMe+ floor, AFe+ wall, AFe+ floor, WW wall, WW floor, ACWW wall, ACWW floor, CF wall, CF floor, ACCF wall, ACCF floor, NL wall, NL floor, ACNL wall, ACNL floor

Note: It does not matter whether one uses "AC wall" or "AC floor", they will result in the same table.