Difference between revisions of "Template:Character"


(Updated character box template)
(Updated sidebar template)
 
Line 1: Line 1:
{| width="275" align="right" cellpadding="3" cellspacing="0" style="border: 1px #444 solid; background: #bbb; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #222;"
+
<div class="infobox">
 +
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
 +
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
 
|-
 
|-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:{{#switch:{{{department|}}}
+
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665!important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
 
 
 
 
  |Command      = &#032; #6A0C05
 
  |Flight Control
 
  |Tactical
 
  |Security
 
  |Engineering
 
  |Operations      = &#032; #9b7c13
 
  |Medical
 
  |Science      = &#032; #0E615A
 
  |Marine      = &#032; #225B15
 
  |Intel      = &#032; #464646
 
  |Starfighter      = &#032; #15495b
 
  |Diplomatic      = &#032; #54155B
 
  |Civilian    = &#032; #999999
 
  |&#032; #999999}}; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
 
 
|-
 
|-
{{#if: {{{image|}}}|
+
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Basic information'''
{{!}} colspan="2" bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; border-top: 1px solid #444; color: #222; font-size:7pt; text-align: center;"}}} {{!}} {{{image}}}}}
 
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #444; text-align: center; color: #e5e5ed; background-color:{{#switch:{{{department|}}}
+
{{#if: {{{fullname|}}}|
 
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Full Name
  |Command      = &#032; #6A0C05
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
  |Flight Control
+
{{{fullname }}}}}
  |Tactical
 
  |Security
 
  |Engineering
 
  |Operations      = &#032; #9b7c13
 
  |Medical
 
  |Science      = &#032; #0E615A
 
  |Marine      = &#032; #225B15
 
  |Intel      = &#032; #464646
 
  |Starfighter      = &#032; #15495b
 
  |Diplomatic      = &#032; #54155B
 
  |Civilian    = &#032; #999999
 
  |&#032; #999999}}; text-align:center; font-size:8pt;" | '''Profile'''
 
|-
 
{{#if: {{{name|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Name:
 
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
 
{{{name}}}}}
 
 
|-
 
|-
 
{{#if: {{{species|}}}|
 
{{#if: {{{species|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Species:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Species
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{{species}}}}}
+
{{{species }}}}}
 
|-
 
|-
 
{{#if: {{{gender|}}}|
 
{{#if: {{{gender|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Gender:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Gender
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
 
{{{gender}}}}}
 
{{{gender}}}}}
 
|-
 
|-
{{#if: {{{birth|}}}|
+
{{#if: {{{dateofbirth|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Birth:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Date of Birth
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{{birth}}}}}
+
{{{dateofbirth}}}}}
 
|-
 
|-
{{#if: {{{death|}}}|
+
{{#if: {{{age|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Death:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Age
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{{death}}}}}
+
{{{age}}}}}
 
|-
 
|-
{{#if: {{{affiliation|}}}|
+
{{#if: {{{placeoforigin|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Affiliation:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Place of Origin
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{{affiliation}}}}}
+
{{{placeoforigin}}}}}
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #444; text-align: center; color: #e5e5ed; background-color:{{#switch:{{{department|}}}
+
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Assignment'''
 
 
  |Command      = &#032; #6A0C05
 
  |Flight Control
 
  |Tactical
 
  |Security
 
  |Engineering
 
  |Operations      = &#032; #9b7c13
 
  |Medical
 
  |Science      = &#032; #0E615A
 
  |Marine      = &#032; #225B15
 
  |Intel      = &#032; #464646
 
  |Starfighter      = &#032; #15495b
 
  |Diplomatic      = &#032; #54155B
 
  |Civilian    = &#032; #999999
 
  |&#032; #999999}}; text-align:center; font-size:8pt;" | '''Career'''
 
|-
 
{{#if: {{{occupation|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Occupation:
 
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}
 
{{{occupation}}}}}
 
|-
 
{{#if: {{{previous|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Previous Assignment:
 
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}
 
{{{previous}}}}}
 
|-
 
{{#if: {{{assignment|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Assignment:
 
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}
 
{{{assignment}}}}}
 
 
|-
 
|-
 
{{#if: {{{rank|}}}|
 
{{#if: {{{rank|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Rank:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Rank
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
 
{{{rank}}}}}
 
{{{rank}}}}}
 
|-
 
|-
{{#if: {{{insignia|}}}|
+
{{#if: {{{posting|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Insignia:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Posting
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{{insignia}}}}}
+
{{{posting}}}}}
 
|-
 
|-
{{#if: {{{played by|}}}|
+
{{#if: {{{position|}}}|
{{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Played By:
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Position
{{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{{played by}}}}}
+
{{{position}}}}}
 
|-
 
|-
{{#if: {{{image2|}}}|
+
{{#if: {{{affiliation|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; border-top: 1px solid #444; color: #444; font-size:smaller; text-align: center;"}}} {{!}} {{{image2}}}}}
+
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
|-
+
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; border-top: 1px solid #444; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:{{#switch:{{{department|}}}{{#switch:{{{department|}}}
+
{{{affiliation}}}}}
 
+
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
  |Command      = &#032; #6A0C05
+
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Character]]
  |Flight Control
+
|}</div>
  |Tactical
+
<includeonly>[[Category:Characters]]
  |Security
+
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly>
  |Engineering
 
  |Operations      = &#032; #9b7c13
 
  |Medical
 
  |Science      = &#032; #0E615A
 
  |Marine      = &#032; #225B15
 
  |Intel      = &#032; #464646
 
  |Starfighter      = &#032; #15495b
 
  |Diplomatic      = &#032; #54155B
 
  |Civilian    = &#032; #999999
 
  |&#032; #999999}}; text-align:center; border-top: 1px solid #444;" | {{Link color|Template:Character|{{#switch:{{{department|}}}
 
  
  |Command      = &#032; #6A0C05
 
  |Flight Control
 
  |Tactical
 
  |Security
 
  |Engineering
 
  |Operations      = &#032; #9b7c13
 
  |Medical
 
  |Science      = &#032; #0E615A
 
  |Marine      = &#032; #225B15
 
  |Intel      = &#032; #464646
 
  |Starfighter      = &#032; #15495b
 
  |Diplomatic      = &#032; #54155B
 
  |Civilian    = &#032; #999999
 
  |&#032; #666}}|[ Source ]}}
 
|}
 
 
<noinclude>
 
<noinclude>
 
<br clear=all>
 
<br clear=all>
 
<pre>
 
<pre>
 
{{Character
 
{{Character
|department =
+
| name =  
|name=  
+
| fullname =
|image=
+
| image =  
|image2=
+
| species =
|species=
+
| gender =  
|gender=
+
| dateofbirth =  
|birth=
+
| age =
|death=
+
| placeoforigin =
|affiliation=
+
| posting =  
|occupation=
+
| position =  
|previous=
+
| rank =  
|assignment=
+
| affiliation =  
|rank=
+
}}
|insignia=
+
</pre>
|played by=
+
[[Category:Infobox Templates|{{PAGENAME}}]]
}}</pre>
+
</noinclude>
 
 
{| border=0 cellspacing=2 cellpadding=10 style="margin: 1em auto;text-align:center;"
 
|-style="text-align: center; background: #fafafa; font-size:10pt; width: 100%;"
 
! Department field values
 
|- style="text-align: center; background: #6A0C05; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Command
 
|- style="text-align: center; background: #6A0C05; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Flight Control
 
|- style="text-align: center; background: #6A0C05; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Tactical
 
|- style="text-align: center; background: #9b7c13; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Security
 
|- style="text-align: center; background: #9b7c13; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Operations
 
|- style="text-align: center; background: #9b7c13; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Engineering
 
|- style="text-align: center; background: #0E615A; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Science
 
|- style="text-align: center; background: #0E615A; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Medical
 
|- style="text-align: center; background: #225B15; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Marine
 
|- style="text-align: center; background: #464646; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Intel
 
|- style="text-align: center; background: #15495b; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" width="50%" | Starfighter
 
|- style="text-align: center; background: #54155B; font-size:10pt; width: 100%;"
 
| style="color: #e5e5ed;" "width="50%" | Diplomatic
 
|- style="text-align: center; background: #999999; font-size:10pt; width: 100%;"
 
| width="50%" | Civilian
 
|-style="text-align: center; background: #999999; font-size:10pt; width: 100%;"
 
| colspan="2" | No color value = Civilian
 
|}
 
[[Category:Infobox Templates|Character]]</noinclude>
 

Latest revision as of 21:22, 26 March 2022

{{{name}}}
Basic information
Assignment



{{Character
| name = 
| fullname =
| image = 
| species =
| gender = 
| dateofbirth = 
| age =
| placeoforigin =
| posting = 
| position = 
| rank = 
| affiliation = 
}}