Template:Skins by Category Table: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Shirra (talk | contribs)
No edit summary
Shirra (talk | contribs)
mNo edit summary
 
Line 11: Line 11:
|uses        = Template:Skin Infobox
|uses        = Template:Skin Infobox
|include    = {Skin 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||,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:{{{noanima|}}}|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

Latest revision as of 21:26, 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

[edit source]
  • 1 - Category(s).
  • notX - Not category, X = 1–6.
  • noanima - Hide "Anima" column and use appropriate header.
  • collapsed - Set table to collapsed.

Examples

[edit source]
{{Skins by Category Table}}

6 Skins match the category selection:

Icon Name Quality Anima Obtain
Señor Sombrero 4 Stars Mr. Avocado Skin Store
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
{{Skins by Category Table|Mr. Avocado|noanima=1}}

Mr. Avocado has no Skins.

Template Data

[edit source]

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