Template:Clothing Items by Category Table: Difference between revisions
mNo edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 48: | Line 48: | ||
-->¦1 = %%<!-- | -->¦1 = %%<!-- | ||
-->¦2 = ;<!-- | -->¦2 = ;<!-- | ||
-->¦3 | -->¦3 = <ul><li>^2{Material Link¹{item}¹}^2</li></ul><!-- | ||
-->¦template = 1<!-- | -->¦template = 1<!-- | ||
-->¦sort = 1<!-- | |||
-->}²<!-- | -->}²<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 15:42, 25 October 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
[edit source]{{Clothing Items by Category Table|Category|Subcategory|nonumber = 1|notype = 1|noset = 1|nocolor = 1|nomaterial = 1|nostyle = 1}}
Examples
[edit source]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
[edit source]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 |