Template:Skins by Category Table: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Shirra (talk | contribs)
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..."
 
Shirra (talk | contribs)
No edit summary
Line 10: Line 10:
|notcategory = {{{not6|}}}
|notcategory = {{{not6|}}}
|uses        = Template:Skin Infobox
|uses        = Template:Skin Infobox
|include    = {Outfit Infobox}:%PAGE%:%PAGE:quality{{#ifeq:{{{noanima|}}}|1||:anima}}:obtain
|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||,Character}},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||,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&#32;}}'''%PAGES%''' [[Skin]]{{#ifeq:{{{nocharacter|}}}|1||&#32;matches the category selection}}:\n
|oneresultheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has&#32;}}'''%PAGES%''' [[Skin]]{{#ifeq:{{{noanima|}}}|1||&#32;matches the category selection}}:\n
|resultsheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has&#32;}}'''%PAGES%''' [[Skin]]s{{#ifeq:{{{nocharacter|}}}|1||&#32;match the category selection}}:\n
|resultsheader = {{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has&#32;}}'''%PAGES%''' [[Skin]]s{{#ifeq:{{{noanima|}}}|1||&#32;match the category selection}}:\n
|noresultsfooter = \n{{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has no|No}} [[Skin]]s{{#ifeq:{{{nocharacter|}}}|1||&#32;match the category selection}}.
|noresultsfooter = \n{{#ifeq:{{{noanima|}}}|1|[[{{Replace|{{{1}}}|{space}Skins|}}]] has no|No}} [[Skin]]s{{#ifeq:{{{noanima|}}}|1||&#32;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

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

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:

Icon Name Quality Anima Obtain
Musketeer Queen 4 Stars Vixemourne Skin Store
Flower Witch 4 Stars Olivesper Skin Store
Beef Noodles 4 Stars Pupanoo Skin Store
Crimson Racer 4 Stars Furrari Skin Store
Court Magistrate 4 Stars Magisdrake Skin Store
Señor Sombrero 4 Stars Mr. Avocado Skin Store
{{Skins by Category Table|Mr. Avocado|noanima=1}}

Mr. Avocado has no Skins.

Template Data

Create table of Skins.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Category(s)1

Category to query for.

Stringsuggested
Not Categorynot

Category to exclude

Stringoptional
Not Category 1not1

Category to exclude 1

Stringoptional
Not Category 2not2

Category to exclude 2

Stringoptional
Not Category 3not3

Category to exclude 3

Stringoptional
Not Category 4not4

Category to exclude 4

Stringoptional
Not Category 5not5

Category to exclude 5

Stringoptional
Not Category 6not6

Category to exclude 6

Stringoptional
noanimanoanima

Hides "noanima" column

Example
1
Booleanoptional
Collapse Tablecollapsed

Set to 1 to collapse table.

Example
1
Booleanoptional