Difference between revisions of "Template:Category Maker"

From Federation Space - Official Wiki
Jump to navigation Jump to search
 
(11 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-{{#switch:{{{Department|}}}
+
|ent
|Bajoran=Bajoran "Department"
+
|Ent
|Cardassian=Cardassian "Department"
+
|ENT=("Enterprise" Era)
|Klingon=Klingon "Department"
+
|{{{Era}}}}}]]|[[Category:Roster-Ranked {{{Rank}}}]][[Category:Roster-Ranked {{{Rank}}}, {{{Department}}}]]}}|[[Category:Roster-Ranked {{{Rank}}}]]}}|}}
|Marine=Marine Department
+
{{ #if: {{{Era|}}}|[[Category:Roster-{{#switch:{{{Era|}}}
|Romulan=Romulan "Department"
+
|ent
|{{{Department|}}}}}]]|}}
+
|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 17: 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|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:58, 7 January 2016