Difference between revisions of "Template:Sidebar\bio-test"
Jump to navigation
Jump to search
m |
m |
||
Line 10: | Line 10: | ||
|Style=font-size:120%; line-height: 130%; | |Style=font-size:120%; line-height: 130%; | ||
|Text={{small|PERSONNEL}} | |Text={{small|PERSONNEL}} | ||
− | |Background={{Color|{{{Affiliation|}}}}} | + | |Background={{Color|{{#if:{{{Affiliation|}}}|{{convert-affiliation|{{{Affiliation|}}}|Undeclared}} }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
-->{{Infobox\Heading | -->{{Infobox\Heading | ||
|Columns=4 | |Columns=4 | ||
− | |Text={{ #if: {{{Affiliation|}}}|{{AffiliationImage|{{{Affiliation}}}}}|}}{{ #if: {{{Name|}}}|{{{Name|}}}|{{PAGENAME}}}}{{ #if: {{{Affiliation|}}}|{{AffiliationImage|{{{Affiliation}}}}}|}} | + | |Text={{ #if: {{{Affiliation|}}}|{{AffiliationImage|{{convert-affiliation|{{{Affiliation|Undeclared}}} }}|}}{{ #if: {{{Name|}}}|{{{Name|}}}|{{PAGENAME}}}}{{ #if: {{{Affiliation|}}}|{{AffiliationImage|{{convert-affiliation|{{{Affiliation|Undeclared}}} }}}}|}} |
|Background={{Color|{{{Affiliation|}}}}} | |Background={{Color|{{{Affiliation|}}}}} | ||
}}<!-- | }}<!-- | ||
Line 35: | Line 35: | ||
|Columns=4 | |Columns=4 | ||
|Text=Career Occupation | |Text=Career Occupation | ||
− | |Background={{Color|{{{Affiliation|}}}}} | + | |Background={{Color|{{convert-affiliation|{{{Affiliation|Undeclared}}} }}}} |
}}<!-- | }}<!-- | ||
-->{{clear}}<!-- | -->{{clear}}<!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{Position|}}}|{{Infobox\Row |
|NewRow=Bold | |NewRow=Bold | ||
|Text=Position: | |Text=Position: | ||
Line 45: | 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 72: | Line 63: | ||
|Columns=3 | |Columns=3 | ||
|Align=center | |Align=center | ||
− | |Text={{ | + | |Text={{convert-assignment|{{{Assignment}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}|}} | }}|}} | ||
}}<!-- | }}<!-- | ||
Line 133: | Line 73: | ||
{{Infobox\Row | {{Infobox\Row | ||
|Align=center | |Align=center | ||
− | |Text={{ | + | |Text={{convert-rank|{{{Rank|}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
}}|}} | }}|}} | ||
{{Infobox\Row | {{Infobox\Row | ||
Line 162: | Line 88: | ||
-->{{#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 180: | Line 106: | ||
|Align=center | |Align=center | ||
|Columns=3 | |Columns=3 | ||
− | |Text={{EventImage|Longevity Medal|{{#ifexpr:{{#time:Y}} - {{{JoinY|{{#time:Y}}}}} = 0|0|{{#ifexpr:{{#time:m}}.{{#time:d}} >= {{{JoinM|}}}.{{{JoinD|}}}|{{#expr:{{#time:Y}} - {{{JoinY|}}}}}|{{#expr:{{#time:Y}} - {{{JoinY|}}} - 1}}}}}}}} | + | |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|}}}|SRC|{{#if:{{{Retired|}}}||{{Infobox\Row | }}|{{#ifeq:{{{Character Type|}}}|SRC|{{#if:{{{Retired|}}}||{{Infobox\Row | ||
Line 189: | Line 115: | ||
|Align=center | |Align=center | ||
|Columns=3 | |Columns=3 | ||
− | |Text={{EventImage|Longevity Medal|{{#ifexpr:{{#time:Y}} - {{{JoinY|{{#time:Y}}}}} = 0|0|{{#ifexpr:{{#time:m}}.{{#time:d}} >= {{{JoinM|}}}.{{{JoinD|}}}|{{#expr:{{#time:Y}} - {{{JoinY|}}}}}|{{#expr:{{#time:Y}} - {{{JoinY|}}} - 1}}}}}}}} | + | |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 552: | Line 478: | ||
|Position2={{{Position2|}}} | |Position2={{{Position2|}}} | ||
|Assignment={{{Assignment|}}} | |Assignment={{{Assignment|}}} | ||
− | |Rank={{ | + | |Rank={{convert-rank|{{{Rank|}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |{{{Rank|}}}}} | ||
|Era={{{Era|}}} | |Era={{{Era|}}} | ||
|Department={{{Department|}}} | |Department={{{Department|}}} | ||
Line 571: | Line 488: | ||
|Species6={{{Species6|}}} | |Species6={{{Species6|}}} | ||
|Affiliation={{{Affiliation|}}} | |Affiliation={{{Affiliation|}}} | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{doc}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 10:57, 7 June 2020
- This template is not yet documented. Please create documentation here:Template:Sidebar\bio-test/doc