Template:Clothing Items by Category Table: Difference between revisions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 41: | Line 41: | ||
-->{{#if:{{{nonumber|}}}||,%%}}<!-- | -->{{#if:{{{nonumber|}}}||,%%}}<!-- | ||
-->,[[%%]]<!-- | -->,[[%%]]<!-- | ||
-->{{#if:{{{notype|}}}||,²{Array¦%%¦;¦<ul><li>{item}</li></ul>}²}}<!-- | -->{{#if:{{{notype|}}}||,²{Array¦%%¦;¦<ul><li>[[{item}]]</li></ul>}²}}<!-- | ||
-->{{#if:{{{noset|}}}||,²{#ifexist:%%¦[[%%]]¦%%}²<!---->}}<!-- | -->{{#if:{{{noset|}}}||,²{#ifexist:%%¦[[%%]]¦%%}²<!---->}}<!-- | ||
-->{{#if:{{{nocolor|}}}||,²{Array¦%%¦;¦<ul><li>[[{item}]]</li></ul>}²}}<!-- | -->{{#if:{{{nocolor|}}}||,²{Array¦%%¦;¦<ul><li>[[{item}]]</li></ul>}²}}<!-- | ||
Revision as of 12:38, 31 August 2026
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Generates a sortable table of clothing items matching the specified categories. The table can optionally hide the Number, Type, Set, Color, Material, and Style columns.
Syntax
{{Clothing Items by Category Table|Category|Subcategory|nonumber = 1|notype = 1|noset = 1|nocolor = 1|nomaterial = 1|nostyle = 1}}
Examples
There are 11 clothing items matching the selected category:{{Clothing Items by Category Table|Hat|Green Clothing|nonumber = 1|notype = 1|noset = 1|nocolor = 1|nomaterial = 1|nostyle = 1}} yields:
There are 8 clothing items matching the selected category:{{Clothing Items by Category Table|Yarn Clothing}} yields:
There are 26 clothing items matching the selected category:
Template Data
Generates a sortable table of clothing items matching the specified categories, with optional columns that can be hidden.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category prefix | 1 | The first category used to filter clothing items. The value is appended to "Clothing Items". | String | required |
| Category | 2 | The second category used to filter clothing items. | String | optional |
| Hide number | nonumber | If set, hides the No. column from the table. | Boolean | optional |
| Hide type | notype | If set, hides the Type column from the table. | Boolean | optional |
| Hide set | noset | If set, hides the Set column from the table. | Boolean | optional |
| Hide color | nocolor | If set, hides the Color column from the table. | Boolean | optional |
| Hide material | nomaterial | If set, hides the Material column from the table. | Boolean | optional |
| Hide style | nostyle | If set, hides the Style column from the table. | Boolean | optional |