User:Sunmarsh/Sandbox

Working on a Template:ItemList revamp to make it easier to use.

Template:TableHeader
This template will create a collapsible container for the item table and will generate the table header (table title and column names). This template accepts various parameters which determine the type of list to be created.

! style="" |

! style="border-bottom:4px solid #; border-right: 2px solid #; border-left: 2px solid #; background-color:#; color:#666;" |

! style="border-bottom:4px solid #; border-right: 2px solid #; border-left: 2px solid #; background-color:#; color:#666;" |

! style="border-bottom:4px solid #; border-right: 2px solid #; border-left: 2px solid #; background-color:#; color:#666;" |

! style="border-bottom:4px solid #; border-right: 2px solid #; border-left: 2px solid #; background-color:#; color:#666;" |

! style="border-bottom:4px solid #; border-right: 2px solid #; border-left: 2px solid #; background-color:#; color:#666;" | {{#switch:{{{collection|}}} other = {{#switch:{{{type|}}} | fish | insect | seafood = Time | music = {{#switch:{{{game|}}} | ACNL = Available From}} | wallpaper | carpet = Sell Price | Available From}} | {{#switch:{{{game|}}} | ACCF | ACNL = Color(s) | Group}}

Parameters
All parameters are required unless otherwise noted.
 * title - The table heading text.
 * collapsed - Optional. Will cause the table to appear collapsed by default. Accepts a true or false value; default value is false.
 * game - Enter the appropriate abbreviation to display an item table with headings corresponding to that AC title. Acceptable values listed below.
 * type - The type of item you're creating a list for (e.g. furniture, wallpaper, clothing, accessories etc.). Acceptable values listed below.
 * collection - The type of item grouping you're creating a list for (e.g. series, theme, set etc.). Acceptable values listed below.