Template:Skins by Category Table: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#DPL: |namespace = |category = Skin&{{{1}}} |notcategory = {{{not|}}} |notcategory = {{{not1|}}} |notcategory = {{{not2|}}} |notcategory = {{{not3|}}} |notcategory = {{{not4|}}} |notcategory = {{{not5|}}} |notcategory = {{{not6|}}} |uses = Template:Skin Infobox |include = {Outfit Infobox}:%PAGE%:%PAGE:quality{{#ifeq:{{{noanima|}}}|1||:anima}}:obtain |table = class="article-table sortable alternating-colors-table mw-collapsible {{#ife..." |
No edit summary |
||
| Line 10: | Line 10: | ||
|notcategory = {{{not6|}}} | |notcategory = {{{not6|}}} | ||
|uses = Template:Skin Infobox | |uses = Template:Skin Infobox | ||
|include = { | |include = {Skin Infobox}:%PAGE%:%PAGE:quality{{#ifeq:{{{noanima|}}}|1||:anima}}:obtain | ||
|table = class="article-table sortable alternating-colors-table mw-collapsible {{#ifeq:{{{collapsed|}}}|1|mw-collapsed}}" data-expandtext="+" data-collapsetext="−" ,-,Icon,Name,Quality{{#ifeq:{{{nocharacter|}}}|1||, | |table = class="article-table sortable alternating-colors-table mw-collapsible {{#ifeq:{{{collapsed|}}}|1|mw-collapsed}}" data-expandtext="+" data-collapsetext="−" ,-,Icon,Name,Quality{{#ifeq:{{{nocharacter|}}}|1||,Anima}},Obtain | ||
|tablerow = text-align:center;"¦[[File:%% Icon.png|50px|link=%PAGE%]],[[%PAGE%]],²{Icon/Stars¦%%}²{{#ifeq:{{{noanima|}}}|1||,[[%%]]}},%% | |tablerow = text-align:center;"¦[[File:%% Icon.png|50px|link=%PAGE%]],[[%PAGE%]],²{Icon/Stars¦%%}²{{#ifeq:{{{noanima|}}}|1||,[[%%]]}},%% | ||
|ordermethod = sortkey | |ordermethod = sortkey | ||
|oneresultheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has }}'''%PAGES%''' [[Skin]]{{#ifeq:{{{ | |oneresultheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has }}'''%PAGES%''' [[Skin]]{{#ifeq:{{{noanima|}}}|1|| matches the category selection}}:\n | ||
|resultsheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has }}'''%PAGES%''' [[Skin]]s{{#ifeq:{{{ | |resultsheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has }}'''%PAGES%''' [[Skin]]s{{#ifeq:{{{noanima|}}}|1|| match the category selection}}:\n | ||
|noresultsfooter = \n{{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has no|No}} [[Skin]]s{{#ifeq:{{{ | |noresultsfooter = \n{{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has no|No}} [[Skin]]s{{#ifeq:{{{noanima|}}}|1|| match the category selection}}. | ||
}}</includeonly><noinclude>{{Documentation|type=DPL Table}}</noinclude> | }}</includeonly><noinclude>{{Documentation|type=DPL Table}}</noinclude> | ||
Revision as of 21:22, 20 September 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Uses DPL to create a table of Skins that include the category in the first unnamed parameter.
Syntax
- 1 - Category(s).
- notX - Not category, X = 1–6.
- noanima - Hide "Anima" column and use appropriate header.
- collapsed - Set table to collapsed.
Examples
{{Skins by Category Table}}
6 Skins match the category selection:
{{Skins by Category Table|Mr. Avocado|noanima=1}}
Mr. Avocado has no Skins.
Template Data
Create table of Skins.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category(s) | 1 | Category to query for. | String | suggested |
| Not Category | not | Category to exclude | String | optional |
| Not Category 1 | not1 | Category to exclude 1 | String | optional |
| Not Category 2 | not2 | Category to exclude 2 | String | optional |
| Not Category 3 | not3 | Category to exclude 3 | String | optional |
| Not Category 4 | not4 | Category to exclude 4 | String | optional |
| Not Category 5 | not5 | Category to exclude 5 | String | optional |
| Not Category 6 | not6 | Category to exclude 6 | String | optional |
| noanima | noanima | Hides "noanima" column
| Boolean | optional |
| Collapse Table | collapsed | Set to 1 to collapse table.
| Boolean | optional |