Difference between revisions of "Template:Category Maker"
Jump to navigation
Jump to search
(15 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|}}} |
− | {{ #if: {{{Department|}}}|[[Category:Roster-{{{Department}}}]]|}} | + | |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|}}} | ||
+ | |ent | ||
+ | |Ent | ||
+ | |ENT=Historical Divisions ("Enterprise" Era) | ||
+ | |{{{Era}}} "Department"}}]]|}} | ||
+ | {{ #if: {{{Department|}}}|{{#ifeq:{{{Department|}}}|Command|{{#ifeq:{{#switch:{{{Era|}}} | ||
+ | |ent | ||
+ | |Ent | ||
+ | |ENT=Ent | ||
+ | |{{{Era|}}}}}|Ent|[[Category:Roster-Command Division (Historical)]][[Category:Roster-Command Department/Division]]|[[Category:Roster-Command Department]][[Category:Roster-Command Department/Division]]}}|[[Category:Roster-{{#switch:{{{Department|}}} | ||
+ | |Bajoran=Bajoran Divisions | ||
+ | |Cardassian=Cardassian Divisions | ||
+ | |Civilian=Civilian "Department" | ||
+ | |Klingon=Klingon Divisions | ||
+ | |MACO=MACO Division (Historical) | ||
+ | |Operations=Operations Division (Historical) | ||
+ | |Romulan=Romulan Divisions | ||
+ | |Sciences=Sciences Division (Historical) | ||
+ | |Special="Special Department" | ||
+ | |Tal'Shiar=Tal'Shiar Divisions | ||
+ | |{{{Department|}}} Department}}]]}}|}} | ||
{{ #if: {{{Species|}}}|[[Category:Roster-{{{Species}}}]]|}} | {{ #if: {{{Species|}}}|[[Category:Roster-{{{Species}}}]]|}} | ||
{{ #if: {{{Species2|}}}|[[Category:Roster-{{{Species2}}}]]|}} | {{ #if: {{{Species2|}}}|[[Category:Roster-{{{Species2}}}]]|}} | ||
Line 11: | Line 46: | ||
{{ #if: {{{Species5|}}}|[[Category:Roster-{{{Species5}}}]]|}} | {{ #if: {{{Species5|}}}|[[Category:Roster-{{{Species5}}}]]|}} | ||
{{ #if: {{{Species6|}}}|[[Category:Roster-{{{Species6}}}]]|}} | {{ #if: {{{Species6|}}}|[[Category:Roster-{{{Species6}}}]]|}} | ||
− | {{ #if: {{{Affiliation|}}}|[[Category:Roster-{{{Affiliation}}}]]|}} | + | {{ #if: {{{Affiliation|}}}|[[Category:Roster-{{{Affiliation}}} Affiliates]]|}} |
<noinclude>[[Category:Bio Templates]] | <noinclude>[[Category:Bio Templates]] | ||
− | [[Category:Templates| | + | [[Category:Templates|{{PAGENAME}}]]</noinclude> |