新站点建设中,欢迎参与一起建设,各类人才都需要,围观也可以,谢谢!编辑帮助:目录 • BWIKI反馈留言板
模板:STDT
class=" table"
Description
The Standard Table Design Template is used to give tables across the wiki a similar design, fitting the topic of the main article.
Usage
{{STDT}}
{{STDT|<type>}}
Parameters
- 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
Basic use
{| {{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
{| {{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
| 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 |

沪公网安备 31011002002714 号