Difference between revisions of "Template:Category Maker"

From Federation Space - Official Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{ #if: {{{Character Type|}}}|{{#ifeq:{{{Character Type|}}}|NPC|[[Category:Roster-{{{Character Type}}}]]|{{#if:{{{Retired|}}}|[[Category:Roster-{{{Character Type}}}]]|[[Category:Roster-{{{Character Type}}}]][[Category:Roster-Join Date (Stardate)|{{#expr:{{{JoinY}}} - 200}}{{{JoinM}}}.{{{JoinD}}}]][[Category:Roster-Joined Stardate {{{JoinY}}}00.00|{{{JoinM}}}.{{{JoinD}}}]]}}}}|}}
+
{{ #if: {{{Character Type|}}}|{{#ifeq:{{{Character Type|}}}|NPC|[[Category:Roster-{{{Character Type}}}]]|{{#if:{{{Retired|}}}|[[Category:Roster-{{{Character Type}}}]]|[[Category:Roster-{{{Character Type}}}]][[Category:Roster-Join Date (Stardate)|{{#switch:{{{JoinY|}}}
 +
|200=00
 +
|201=01
 +
|202=02
 +
|203=03
 +
|204=04
 +
|205=05
 +
|206=06
 +
|207=07
 +
|208=08
 +
|209=09
 +
|{{#expr:{{{JoinY}}} - 200}}}}{{{JoinM}}}.{{{JoinD}}}]][[Category:Roster-Joined Stardate {{{JoinY}}}00.00|{{{JoinM}}}.{{{JoinD}}}]]}}}}|}}
 
{{ #if: {{{Position|}}}|[[Category:Roster-{{{Position}}}]]|}}
 
{{ #if: {{{Position|}}}|[[Category:Roster-{{{Position}}}]]|}}
 
{{ #if: {{{Position2|}}}|[[Category:Roster-{{{Position2}}}]]|}}
 
{{ #if: {{{Position2|}}}|[[Category:Roster-{{{Position2}}}]]|}}

Latest revision as of 21:58, 7 January 2016