Template:Clothing Items by Category Table: Difference between revisions
Created page with "<includeonly>{{#dpl: |namespace = |category = Outfit<&>{{{1}}} |uses = Template:Outfit Infobox |include = {Outfit Infobox}:%PAGE%:number:%PAGE%{{#if:{{{notype|}}}||:type}}:obtain |table = class="wikitable sortable",-,Image,No.,Name{{#if:{{{notype|}}}||,Type}},Obtain |tablerow = 50px|link=%%,%%,%%{{#if:{{{notype|}}}||,%%}},%% |ordermethod = sortkey }}</includeonly><noinclude>{{Documentation|type=DPL Tables}}</noinclude>" |
mNo edit summary |
||
| Line 5: | Line 5: | ||
|include = {Outfit Infobox}:%PAGE%:number:%PAGE%{{#if:{{{notype|}}}||:type}}:obtain | |include = {Outfit Infobox}:%PAGE%:number:%PAGE%{{#if:{{{notype|}}}||:type}}:obtain | ||
|table = class="wikitable sortable",-,Image,No.,Name{{#if:{{{notype|}}}||,Type}},Obtain | |table = class="wikitable sortable",-,Image,No.,Name{{#if:{{{notype|}}}||,Type}},Obtain | ||
|tablerow = [[File:%% Icon.png|50px|link=%%]],%%,[[%%]]{{#if:{{{notype|}}}||,%%}}, | |tablerow = [[File:%% Icon.png|50px|link=%%]],%%,[[%%]]{{#if:{{{notype|}}}||,%%}},source | ||
|ordermethod = sortkey | |ordermethod = sortkey | ||
}}</includeonly><noinclude>{{Documentation|type=DPL Tables}}</noinclude> | }}</includeonly><noinclude>{{Documentation|type=DPL Tables}}</noinclude> | ||
Revision as of 07:01, 16 November 2025
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
{{Clothing Items by Category Table|Face Accessory}} yields:
{{Clothing Items by Category Table|Hat|Green Clothing|nonumber = 1|notype = 1|noset = 1|nocolor = 1|nomaterial = 1|nostyle = 1}} yields:
{{Clothing Items by Category Table|Yarn Clothing}} yields:
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 |