No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
|001=::''Are you looking for the [[{{#titleparts:{{PAGENAME}}|1|1}}/doff|duty officer version]] of this trait?''{{#set:|Has other versions=doff}} |
|001=::''Are you looking for the [[{{#titleparts:{{PAGENAME}}|1|1}}/doff|duty officer version]] of this trait?''{{#set:|Has other versions=doff}} |
||
|000=::''This trait is only available for {{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}||player characters|}}{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|boff|bridge officers|}}{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|doff|duty officers|}}. |
|000=::''This trait is only available for {{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}||player characters|}}{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|boff|bridge officers|}}{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|doff|duty officers|}}. |
||
− | }}{{#switch:{{#titleparts:{{PAGENAME}}|1|2}} |
+ | }}{{#switch:{{#titleparts:{{PAGENAME}}|1|2}}|doff=|==Basic information== |
<ul><!-- |
<ul><!-- |
||
-->{{#if:{{{desc|}}}|<li>'''Game description''': [[Has game description::{{{desc|}}}]]</li>|}}<!-- |
-->{{#if:{{{desc|}}}|<li>'''Game description''': [[Has game description::{{{desc|}}}]]</li>|}}<!-- |
Revision as of 08:59, 20 January 2019
- 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 |career=if it is exclusive to a specific career path (optional - eng/sci/tac) |source=method of attainment (optional) }}
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.