STO Awakening.jpg

Template:Trait/doc

From Star Trek Online Wiki
Jump to: navigation, search

This template creates a link to a trait page with only the trait name as the link text.

Parameters[edit source]

1
The name of the trait (Required)
2
A sub-page of the trait, usually 'boff' or 'doff'. For if the trait is specific to a bridge or duty officer.
3
Any prefix for the name of the trait, usually 'Superior'. Saves you having to create redirects!
4
Pixel size of the icon, if an icon is desired (E.g. 24px).
5
Icon file name, if different from trait name.
6
nofloat=true should be used when this template appears in an element of a bullet-point list to ensure correct text formatting of bullet points.

Usage[edit source]

{{trait|trait name}}
{{trait|trait name|boff}}
{{trait|trait name|doff}}
{{trait|trait name|boff|Superior}}
{{trait|trait name|boff|Superior|24px}}

Examples[edit source]

{{trait|Efficient Captain}}

Efficient Captain

{{trait|Creative|boff}}

Creative

{{trait|Cunning|doff}}

Cunning

{{trait|Acute Senses|boff|Superior}}

Superior Acute Senses

{{trait|Efficient Captain|boff|Superior|24px}}
Efficient Captain icon.png

Superior Efficient Captain

 {{trait|Creative||24px|nofloat=true}}
 {{trait|Efficient Captain|boff|Superior|24px|nofloat=true}}