Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

Template:Doffsbytrait

From Star Trek Online Wiki
Jump to: navigation, search
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.