Template:STDT
From Guild Wars 2 Wiki
Jump to navigationJump to search
class=" table"
Description[edit]
The Standard Table Design Template is used to give tables across the wiki a similar design, fitting the topic of the main article.
Usage[edit]
{{STDT}}
{{STDT|<type>}}
Parameters[edit]
- unnamed parameter 1
- Optional. The table class to apply, this determines the color of the table headers, rows and cells. The class chosen should be based on the topic:
- Any profession title
- guardian
- revenant
- warrior
- engineer
- ranger
- thief
- elementalist
- mesmer
- necromancer
- Any race name
- asura
- charr
- human
- norn
- sylvari
- Other choices match the coloring scheme of the topic's navigation bars:
- boon, condition
- crafting, recipe
- equip, item
- location
- lore
- mech1, mech2
- npc
- promo
- pve
- skin
- See #Color examples below for the result of each of the above options and a description of when they should be used.
- Style choices:
- collapsible — table is expanded by default and can be collapsed
- expandable — table is collapsed by default and can be expanded
- sortable — rows can be sorted
- text-left — left align text
- text-center — center-align text
- text-right — right-align text
- Any profession title
Examples[edit]
Basic use[edit]
{| {{STDT}} ! Heading 1 !! Heading 2 !! Heading 3 |- ! Subheading 1 | 1.1 || 1.2 |- ! Subheading 2 | 2.1 || 2.2 |}
Heading 1 | Heading 2 | Heading 3 |
---|---|---|
Subheading 1 | 1.1 | 1.2 |
Subheading 2 | 2.1 | 2.2 |
Specific use[edit]
{| {{STDT|sortable mesmer align-right}} ! Heading 1 !! Heading 2 !! Heading 3 |- ! Subheading 1 | 1.1 || 1.2 |- ! Subheading 2 | 2.1 || 2.2 |}
Heading 1 | Heading 2 | Heading 3 |
---|---|---|
Subheading 1 | 1.1 | 1.2 |
Subheading 2 | 2.1 | 2.2 |
Color examples[edit]
Professions | |
---|---|
guardian | Profession colors |
revenant | |
warrior | |
engineer | |
ranger | |
thief | |
elementalist | |
mesmer | |
necromancer | |
Races | |
asura | Racial colors |
charr | |
human | |
norn | |
sylvari | |
Common to professions and/or races | |
any | Things available to any profession/race (for example downed skill Bandage, or environmental weapon skills like asura turret Chain Lightning) |
Game mechanics and items | |
boon | Boons: aegis, swiftness, might, etc. |
condition | Conditions: burning, crippled, immobilized, etc. |
crafting | All crafting-related themes: disciplines, materials and components |
recipe | Crafting recipes |
equip | Equipment: weapons, armor, runes, sigils, etc. |
item | Other items: junk, food, consumables, etc. |
location | Locations of different levels: continents, countries, areas |
lore | Lore-related content: the Elder Dragons, religions, calendars etc. |
mech1 | Major game mechanics: attributes, achievements, PvP |
mech2 | Other game mechanics: skills, traits, effects |
npc | NPC-related tables (e.g. list of scouts in Kryta) |
promo | Promotional game-related materials, like books, soundtrack etc. |
pve | PvE tables: dynamic events, renown hearts, personal storyline, dungeons, etc. |
skin | Skins from the wardrobe |