Difference between revisions of "Template:Sidebar\bio-test"
Jump to navigation
Jump to search
m |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
-->{{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 28: | 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 38: | 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 65: | Line 63: | ||
|Columns=3 | |Columns=3 | ||
|Align=center | |Align=center | ||
− | |Text={{ | + | |Text={{convert-assignment|{{{Assignment}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}|}} | }}|}} | ||
}}<!-- | }}<!-- | ||
Line 126: | 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 166: | 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 173: | 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 182: | 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 190: | Line 120: | ||
|Columns=4 | |Columns=4 | ||
|Text=Biographical Attributes | |Text=Biographical Attributes | ||
− | |Background={{ | + | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 423: | Line 353: | ||
|Columns=4 | |Columns=4 | ||
|Text=Familial Relationships | |Text=Familial Relationships | ||
− | |Background={{ | + | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|Undeclared}}}}}| }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
Line 532: | Line 462: | ||
|} | |} | ||
{{#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 Test | {{Category Maker Test | ||
|Character Type={{{Character Type|}}} | |Character Type={{{Character Type|}}} | ||
+ | |Retired={{{Retired|}}} | ||
|JoinY={{{JoinY|}}} | |JoinY={{{JoinY|}}} | ||
|JoinM={{{JoinM|}}} | |JoinM={{{JoinM|}}} | ||
Line 544: | Line 475: | ||
|Position2={{{Position2|}}} | |Position2={{{Position2|}}} | ||
|Assignment={{{Assignment|}}} | |Assignment={{{Assignment|}}} | ||
− | |Rank={{ | + | |Rank={{convert-rank|{{{Rank|}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |{{{Rank|}}}}} | ||
|Era={{{Era|}}} | |Era={{{Era|}}} | ||
|Department={{{Department|}}} | |Department={{{Department|}}} | ||
Line 563: | 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