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
The following documentation is transcluded from Template:Doffsbytrait/doc (edit):

This template generates a table of duty officers that have the given trait. Duty officers will show up if they have a page in the wiki, the page uses {{Doffpage}} (as all duty officer pages generated by Form:Duty officer do), and the trait is correctly entered.

The table rows are generated by {{Doffsbytraitrow}}.

This template uses a slight hack to pass the queried trait to {{Doffsbytraitrow}} as a parameter. This is the last printout statement in the query that checks if the officer is in Category:Duty officers, which all should be.

Usage:

{{Doffsbytrait|trait name}}

The trait name has to be in the format of the wiki page name.


Advertisement