Difference between revisions of "Template:Sidebar\bio-test"
Jump to navigation
Jump to search
m |
|||
(38 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{#if:{{{Retired|}}}|{{InfoBox\Heading | {{#if:{{{Retired|}}}|{{InfoBox\Heading | ||
|Columns=4 | |Columns=4 | ||
− | |Text=RETIRED | + | |Text=RETIRED<ref>Please note that familial and historical references to age may be current only to time of retirement.</ref> |
+ | |Text2=RETIRED | ||
}}[[Category:Roster-Retired]]|}}<!-- | }}[[Category:Roster-Retired]]|}}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
-->{{Infobox\Heading | -->{{Infobox\Heading | ||
|Columns=4 | |Columns=4 | ||
− | |Text={{{Name|}}} | + | |Style=font-size:120%; line-height: 130%; |
− | |Background={{ | + | |Text={{small|PERSONNEL}} |
+ | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} | ||
+ | }}<!-- | ||
+ | -->{{clear}}<!-- | ||
+ | -->{{Infobox\Heading | ||
+ | |Columns=4 | ||
+ | |Text={{ #if: {{{Affiliation|}}}|{{AffiliationImage|{{convert-affiliation|{{{Affiliation|Undeclared}}} }}}}{{ #if: {{{Name|}}}|{{{Name|}}}|{{PAGENAME}}}}{{ #if: {{{Affiliation|}}}|{{AffiliationImage|{{convert-affiliation|{{{Affiliation|Undeclared}}} }}}}}}}} | ||
+ | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} | ||
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 27: | Line 35: | ||
|Columns=4 | |Columns=4 | ||
|Text=Career Occupation | |Text=Career Occupation | ||
− | |Background={{ | + | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{Position|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Position: | |Text=Position: | ||
Line 37: | Line 45: | ||
|Align=center | |Align=center | ||
|Columns=3 | |Columns=3 | ||
− | |Text=[[{{{Position|}}}]], [[{{{Position2|}}}]] | + | |Text={{#if:{{{Position2|}}}|[[{{{Position|}}}]], [[{{{Position2|}}}]]|[[{{{Position|}}}]]}} |
− | + | }}|}}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
− | -->{{#if:{{{AssignmentText|}}}|{{Infobox\Row | + | -->{{#if:{{{AssignmentText|}}}|[[Category:Fix Assignments]]{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Assignment: | |Text=Assignment: | ||
Line 64: | Line 63: | ||
|Columns=3 | |Columns=3 | ||
|Align=center | |Align=center | ||
− | |Text={{ | + | |Text={{convert-assignment|{{{Assignment}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}|}} | }}|}} | ||
}}<!-- | }}<!-- | ||
Line 125: | Line 73: | ||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
− | |Text={{ | + | |Text={{convert-rank|{{{Rank|}}}}} |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
|Height=32px | |Height=32px | ||
|Columns=2 | |Columns=2 | ||
− | |Text= | + | |Text={{#lst:Rank Graphics|{{{Department|}}}-{{{Rank|}}}}} |
+ | }} | ||
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
-->{{#if:{{{SFReg|}}}|{{Infobox\Row | -->{{#if:{{{SFReg|}}}|{{Infobox\Row | ||
|NewRow=Bold | |NewRow=Bold | ||
− | |Text={{#switch:{{{Affiliation|}}} | + | |Text={{#switch:{{convert-affiliation|{{{Affiliation|}}}}} |
|United Federation of Planets=Star Fleet Registration: | |United Federation of Planets=Star Fleet Registration: | ||
|Registration:}} | |Registration:}} | ||
Line 161: | Line 96: | ||
|}}<!-- | |}}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
− | -->{{#ifeq:{{{Character Type|}}}| | + | -->{{#ifeq:{{{Character Type|}}}|PRC|{{#if:{{{Retired|}}}||{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Time on Site: | |Text=Time on Site: | ||
Line 168: | Line 103: | ||
|Align=center | |Align=center | ||
|Columns=3 | |Columns=3 | ||
− | |Text={{EventImage|Longevity Medal|{{#ifexpr:{{#time: | + | |Text={{EventImage|Longevity Medal|{{#ifexpr:{{#time:Y}} - {{convert-year|{{{JoinY|{{#time:Y}}}}}}} = 0|0|{{#ifexpr:{{#time:m}}.{{#time:d}} >= {{{JoinM|}}}.{{{JoinD|}}}|{{#expr:{{#time:Y}} - {{convert-year|{{{JoinY|}}}}}|{{#expr:{{#time:Y}} - {{convert-year|{{{JoinY|}}}}} - 1}}}}}}}} |
}} | }} | ||
− | }}|{{#ifeq:{{{Character Type|}}}| | + | }}|{{#ifeq:{{{Character Type|}}}|SRC|{{#if:{{{Retired|}}}||{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Time on Site: | |Text=Time on Site: | ||
Line 177: | Line 112: | ||
|Align=center | |Align=center | ||
|Columns=3 | |Columns=3 | ||
− | |Text={{EventImage|Longevity Medal|{{#ifexpr:{{#time: | + | |Text={{EventImage|Longevity Medal|{{#ifexpr:{{#time:Y}} - {{convert-year|{{{JoinY|{{#time:Y}}}}}}} = 0|0|{{#ifexpr:{{#time:m}}.{{#time:d}} >= {{{JoinM|}}}.{{{JoinD|}}}|{{#expr:{{#time:Y}} - {{convert-year|{{{JoinY|}}}}}|{{#expr:{{#time:Y}} - {{convert-year|{{{JoinY|}}}}} - 1}}}}}}}} |
}} | }} | ||
}}|}} | }}|}} | ||
Line 185: | Line 120: | ||
|Columns=4 | |Columns=4 | ||
|Text=Biographical Attributes | |Text=Biographical Attributes | ||
− | |Background={{ | + | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 260: | Line 195: | ||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
− | | | + | |Columns={{#if:{{{Weight|}}}|1|3}} |
− | |Text={{{Height | + | |Text={{{Height}}} |
}}|}}<!-- | }}|}}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 270: | Line 205: | ||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
− | | | + | |Columns={{#if:{{{Height|}}}|1|3}} |
− | |Text={{{Weight | + | |Text={{{Weight}}} |
}}|}}<!-- | }}|}}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 344: | Line 279: | ||
}}|}}<!-- | }}|}}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
− | -->{{#if:{{{Affiliation|}}}|{{Infobox\Row | + | -->{{#ifeq:{{{Affiliation|}}}|Undeclared||{{#if:{{{Affiliation|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Affiliation: | |Text=Affiliation: | ||
Line 352: | Line 287: | ||
|Columns=3 | |Columns=3 | ||
|Text=[[{{{Affiliation|}}}]] | |Text=[[{{{Affiliation|}}}]] | ||
− | }}|}}<!-- | + | }}|}}}}<!-- |
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
-->{{#if:{{{Homeworld|}}}|{{Infobox\Row | -->{{#if:{{{Homeworld|}}}|{{Infobox\Row | ||
Line 380: | Line 315: | ||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
− | | | + | |Columns={{#if:{{{Age|}}}|1|3}} |
− | |Text={{{DOB | + | |Text={{{DOB}}} |
}}|}}<!-- | }}|}}<!-- | ||
+ | -->{{clear}}<!-- | ||
-->{{#if:{{{Age|}}}|{{Infobox\Row | -->{{#if:{{{Age|}}}|{{Infobox\Row | ||
|NewRow={{#if:{{{DOB|}}}|Head|Bold}} | |NewRow={{#if:{{{DOB|}}}|Head|Bold}} | ||
Line 389: | Line 325: | ||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
− | | | + | |Columns={{#if:{{{DOB|}}}|1|3}} |
− | |Text={{{Age | + | |Text={{{Age}}} |
}}|}}<!-- | }}|}}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 417: | Line 353: | ||
|Columns=4 | |Columns=4 | ||
|Text=Familial Relationships | |Text=Familial Relationships | ||
− | |Background={{ | + | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
− | -->{{#if:{{{Father|}}}{{{Adoptive Father|}}}{{{Mother|}}}{{{Adoptive Mother|}}}{{{Parents|}}}{{{Sibling|}}}{{{Marital|}}}{{{Spouse(s)|}}}{{{Children|}}}{{{Image2|}}}|{{#if: {{{Father|}}} | | + | -->{{#if:{{{Father|}}}{{{Adoptive Father|}}}{{{Mother|}}}{{{Adoptive Mother|}}}{{{Parents|}}}{{{Sibling|}}}{{{Marital|}}}{{{Spouse(s)|}}}{{{Children|}}}{{{Image2|}}}|{{#if: {{{Father|}}}|{{Infobox\Row |
− | {{Infobox\Row | ||
|NewRow=Bold | |NewRow=Bold | ||
|Text=Father: | |Text=Father: | ||
Line 429: | Line 364: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Father|}}} | |Text={{{Father|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Adoptive Father|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Adoptive Father|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Adoptive Father: | |Text=Adoptive Father: | ||
Line 439: | Line 374: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Adoptive Father|}}} | |Text={{{Adoptive Father|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Mother|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Mother|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Mother: | |Text=Mother: | ||
Line 449: | Line 384: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Mother|}}} | |Text={{{Mother|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Adoptive Mother|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Adoptive Mother|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Adoptive Mother: | |Text=Adoptive Mother: | ||
Line 459: | Line 394: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Adoptive Mother|}}} | |Text={{{Adoptive Mother|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Parents|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Parents|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Status of Parents: | |Text=Status of Parents: | ||
Line 469: | Line 404: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Parents|}}} | |Text={{{Parents|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Sibling|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Sibling|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Siblings: | |Text=Siblings: | ||
Line 479: | Line 414: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Sibling|}}} | |Text={{{Sibling|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Marital|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Marital|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Marital Status: | |Text=Marital Status: | ||
Line 489: | Line 424: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Marital|}}} | |Text={{{Marital|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Spouse(s)|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Spouse(s)|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Spouse(s): | |Text=Spouse(s): | ||
Line 499: | Line 434: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Spouse(s)|}}} | |Text={{{Spouse(s)|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Children|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Row | + | -->{{#if:{{{Children|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Children: | |Text=Children: | ||
Line 509: | Line 444: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Children|}}} | |Text={{{Children|}}} | ||
− | }} }}{{clear}} | + | }}|}}<!-- |
− | {{#if: {{{Image2|}}} | | + | -->{{clear}}<!-- |
− | {{Infobox\Image | + | -->{{#if:{{{Image2|}}}|{{Infobox\Image |
|NewRow=Yes | |NewRow=Yes | ||
|Columns=4 | |Columns=4 | ||
|Align=Center | |Align=Center | ||
|Image={{{Image2|}}} | |Image={{{Image2|}}} | ||
− | }} | + | }}|}}|{{#if:{{{Family|}}}|{{Infobox\Row |
− | | }} | {{#if: {{{Family|}}} | | ||
− | {{Infobox\Row | ||
|NewRow=Bold | |NewRow=Bold | ||
|Text=Family: | |Text=Family: | ||
Line 526: | Line 459: | ||
|Columns=3 | |Columns=3 | ||
|Text={{{Family|}}} | |Text={{{Family|}}} | ||
− | }} }}}} | + | }}|}}}} |
|} | |} | ||
{{#switch:{{{Character Type|}}} | {{#switch:{{{Character Type|}}} | ||
− | | | + | |PRC=[[Category:Roster-PRC]] |
|NPC=[[Category:Roster-NPC]] | |NPC=[[Category:Roster-NPC]] | ||
− | | | + | |SRC=[[Category:Roster-PRC]][[Category:Roster-SRC]] |
|}} | |}} | ||
− | {{Category Maker | + | {{Category Maker Test |
|Character Type={{{Character Type|}}} | |Character Type={{{Character Type|}}} | ||
+ | |Retired={{{Retired|}}} | ||
+ | |JoinY={{{JoinY|}}} | ||
+ | |JoinM={{{JoinM|}}} | ||
+ | |JoinD={{{JoinD|}}} | ||
|Position={{{Position|}}} | |Position={{{Position|}}} | ||
|Position2={{{Position2|}}} | |Position2={{{Position2|}}} | ||
|Assignment={{{Assignment|}}} | |Assignment={{{Assignment|}}} | ||
− | |Rank={{ | + | |Rank={{convert-rank|{{{Rank|}}}}} |
− | | | + | |Era={{{Era|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Department={{{Department|}}} | |Department={{{Department|}}} | ||
|Species={{{Species|}}} | |Species={{{Species|}}} | ||
Line 556: | Line 485: | ||
|Species6={{{Species6|}}} | |Species6={{{Species6|}}} | ||
|Affiliation={{{Affiliation|}}} | |Affiliation={{{Affiliation|}}} | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{doc}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 23:37, 7 June 2020
- This template is not yet documented. Please create documentation here:Template:Sidebar\bio-test/doc