Difference between revisions of "Template:Category Maker"

From Federation Space - Official Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
{{ #if: {{{Position2|}}}|[[Category:Roster-{{{Position2}}}]]|}}
 
{{ #if: {{{Position2|}}}|[[Category:Roster-{{{Position2}}}]]|}}
 
{{ #if: {{{Assignment|}}}|[[Category:Roster-{{{Assignment}}}]]|}}
 
{{ #if: {{{Assignment|}}}|[[Category:Roster-{{{Assignment}}}]]|}}
{{ #if: {{{Rank|}}}|[[Category:Roster-{{{Rank}}}]]|}}
+
{{ #if: {{{Rank|}}}|{{#if:{{{Department|}}}|{{#if:{{{Era|}}}|[[Category:Roster-Ranked {{{Rank}}}, {{{Department}}} {{#switch:{{{Era|}}}
 +
|ent
 +
|Ent
 +
|ENT=("Enterprise" Era)
 +
|{{{Era}}}}}]]|[[Category:Roster-Ranked {{{Rank}}}, {{{Department}}}]]}}|[[Category:Roster-Ranked {{{Rank}}}]]}}|}}
 
{{ #if: {{{Era|}}}|[[Category:Roster-{{#switch:{{{Era|}}}
 
{{ #if: {{{Era|}}}|[[Category:Roster-{{#switch:{{{Era|}}}
 
|ent
 
|ent

Revision as of 16:29, 2 January 2016