STO Awakening.jpg

Template:Traitpage

From Star Trek Online Wiki
(Redirected from Template:Traitheader)
Jump to: navigation, search

This template defines the table "Traits". View table.

The following documentation is transcluded from Template:Traitpage/doc (edit):

This template displays the header text for a trait page, whether that trait be for characters, bridge officers, or duty officers.

Usage:

{{traitpage
  |environment=ground or space (keep either lowercase)
  |type=optional trait type, often "reputation"
  |icon=name of the icon, not including the icon part (optional - if not provided, it defaults to the page name)
  |iconAlt=alt text for the icon (optional - if not provided, it defaults to the page name)
  |icon2=name of the icon, not including the icon part (optional - erase to have only one icon)
  |iconAlt2=alt text for the second icon
  |desc=in-game description
  |required=comma separated list of species that always have the trait
  |possible=comma separated list of species that can have the trait
  |available=what makes it available, often a reputation tier
}}

Note that the template determines the trait type from the page name as follows:

  • page names ending in /boff are determined to be for bridge officer traits;
  • page names ending in /doff are determined to be for duty officer traits;
  • all other page names are determined to be for character traits.