Star Trek Online Wiki

The latest Star Trek Online story update, Season Twenty-four: Reflections, is now live!

Spoiler warnings ahead!

READ MORE

Star Trek Online Wiki
Advertisement
Star Trek Online Wiki

This template is used in duty officer tables to format the trait lists. It displays the appropriate icon next to the text link, which is displayed in a smaller font.

Usage:

{{Dofftraiticontextlink|page name}}

Example:

{{Dofftraiticontextlink|Trait: Emotional/doff}}

EmotionalEmotional


There is an alternative usage provided to deal with an unusual problem: hiding a trait from the list of results returned by a semantic query. When a semicolon is included and the part before is the same as the part after, the template stops processing and returns nothing. Be warned this is an ugly hack needed by {{doffsbytraitrow}}; it's best to avoid doing this kind of thing except where necessary.

Alternative Usage:

{{Dofftraiticontextlink|page name;page name to exclude}}

Example:

{{Dofftraiticontextlink|Trait: Founders of the Federation/doff;Trait: Founders of the Federation/doff}}
Advertisement