Difference between revisions of "Template:Category Maker"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ #if: {{{Character Type|}}}|[[Category:Roster-{{{Character Type}}}]]|}} | + | {{ #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}}}]]|}} | ||
{{ #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}}}]][[Category:Roster-Ranked {{{Rank}}}, {{{Department}}} {{#switch:{{{Era|}}} |
+ | |ent | ||
+ | |Ent | ||
+ | |ENT=("Enterprise" Era) | ||
+ | |{{{Era}}}}}]]|[[Category:Roster-Ranked {{{Rank}}}]][[Category:Roster-Ranked {{{Rank}}}, {{{Department}}}]]}}|[[Category:Roster-Ranked {{{Rank}}}]]}}|}} | ||
{{ #if: {{{Era|}}}|[[Category:Roster-{{#switch:{{{Era|}}} | {{ #if: {{{Era|}}}|[[Category:Roster-{{#switch:{{{Era|}}} | ||
|ent | |ent |