Template:Doffsbytrait/doc

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 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:

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