User:Aquadrizzt/Sandbox/DPL/Template2
From Guild Wars 2 Wiki
< User:Aquadrizzt | Sandbox | DPL
Jump to navigationJump to search
Documentation[edit]
This template outputs an automated table of traits, using the data present in the Template:Trait infobox.
Syntax[edit]
{{Trait table
|color=
|showTraitLine=
|category1=
|category1Name=
|category2=
|category2Name=
|category3=
|category3Name=
|category4=
|category4Name=
|category5=
|category5Name=
}}
- showTraitLine
- Optional. Defaults to "y". Defines if the first column that describes the trait line is shown.
- color
- Optional. Defaults to "any-color". Defines the color scheme the table uses. Specify either a class name or its short form.
- category1
- Required. The category of a specific group of traits (i.e. "Category:Air Magic traits"). If not specified, it pulls from "category" parameter for some backwards compatibility.
- category1Name
- Required. If showTraitLine is "y" or not given, it is the display name for the first category
- category2 (3,4,5)
- Optional. The category of a specific group of traits.
- category2Name (3,4,5)
- Optional. If showTraitLine is "y" or not given and category2 is given, it is the display name for the second category.