Difference between revisions of "Template:EH Character"

From Emperor's Hammer Encyclopaedia Imperia
m (Protected "Template:EH Character" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{|style="border:solid 3px {{{brdrclr|}}}; -moz-border-radius:10px; float:right;" width="35%"
+
{| width="250" align="right" cellpadding="3" cellspacing="0" class="sidebar" style="float: right; clear: right; font-size: smaller;"
 
|-
 
|-
|colspan="2" style="text-align:center; background:{{{BG3|}}}; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em; color:white"|<big>'''{{{name|}}}'''<big>
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" class="sidebar-heading-image" {{!}} {{{image}}}}}
 
|-
 
|-
|colspan="2" style="text-align:center; background:{{{BG4|}}}; color:#CCCCCC"|'''Character Information'''
+
{{!}} colspan="2" class="sidebar-heading-heading" style="text-align: center; font-variant:small-caps;" {{!}} '''{{{name}}}'''
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC" width="35%"|Specie:
+
{{!}} colspan="2" class="sidebar-heading-subheading" style="text-align: center;" {{!}} '''Biographical Information'''
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{specie|}}}
 
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC" width="35%"|Homeworld:
+
{{#if: {{{homeworld|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{home|}}}
+
{{!}} class="sidebar-label" {{!}} Homeworld:
 +
{{!}} class="sidebar-value" {{!}}  
 +
{{{homeworld}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|Age:
+
{{#if: {{{birth|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{age|}}}
+
{{!}} class="sidebar-label" {{!}} Date of Birth:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{birth}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|Birth:
+
{{#if: {{{death|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{birth|}}}
+
{{!}} class="sidebar-label" {{!}} Date of Death:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{death}}}}}
 
|-
 
|-
|{{t|1=style="background:{{{BG1|}}}; color:#CCCCCC"|Death:
+
{{!}} colspan="2" class="sidebar-heading-subheading" style="text-align: center;" {{!}} '''Physical Description'''
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{death|}}}=}}
 
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|Height:
+
{{#if: {{{species|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{height|}}}
+
{{!}} class="sidebar-label" {{!}} Species:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{species}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|Weight:
+
{{#if: {{{gender|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{weight|}}}
+
{{!}} class="sidebar-label" {{!}} Gender:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{gender}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|Hair:
+
{{#if: {{{skin|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{hair|}}}
+
{{!}} class="sidebar-label" {{!}} Skin Colour:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{skin}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|Eyes:
+
{{#if: {{{hair|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{eyes|}}}
+
{{!}} class="sidebar-label" {{!}} Hair Colour:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{hair}}}}}
 
|-
 
|-
|colspan="2" style="text-align:center; background:{{{BG4|}}}; color:#CCCCCC"|'''Group Information'''
+
{{#if: {{{eyes|}}}|
 +
{{!}} class="sidebar-label" {{!}} Eye Colour:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{eyes}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|TC PIN:
+
{{#if: {{{height|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{tcpin|}}}
+
{{!}} class="sidebar-label" {{!}} Height:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{height}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|TC Rank:
+
{{#if: {{{weight|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{tcrank|}}}
+
{{!}} class="sidebar-label" {{!}} Weight:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{weight}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|TC Position:
+
{{!}} colspan="2" class="sidebar-heading-subheading" style="text-align:center;" {{!}} '''Social Information'''
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{tcpos|}}}
 
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|TC Affiliations:
+
{{#if: {{{allies|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{tcaffil|}}}
+
{{!}} class="sidebar-label" {{!}} Allies:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{allies}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DB PIN:
+
{{#if: {{{enemies|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dbpin|}}}
+
{{!}} class="sidebar-label" {{!}} Enemies:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{enemies}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DB Rank:
+
{{!}} colspan="2" class="sidebar-heading-subheading" style="text-align: center;" {{!}} '''Combat Information'''
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dbrank|}}}
 
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DB Position:
+
{{#if: {{{saber|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dbpos|}}}
+
{{!}} class="sidebar-label" {{!}} Lightsaber Name(s):
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{saber}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DB Affiliations:
+
{{#if: {{{form|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dbaffil|}}}
+
{{!}} class="sidebar-label" {{!}} Lightsaber Form(s):
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{form}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DIR PIN:
+
{{#if: {{{fightingstyle|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dirpin|}}}
+
{{!}} class="sidebar-label" {{!}} Fighting Style:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{fightingstyle}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DIR Rank:
+
{{#if: {{{ship|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dirrank|}}}
+
{{!}} class="sidebar-label" {{!}} Personal Ship:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{ship}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DIR Position:
+
{{!}} colspan="2" class="sidebar-heading-subheading" style="text-align: center;" {{!}} '''Career Information'''
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{dirpos|}}}
 
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|DIR Affiliations:
+
{{#if: {{{affiliation|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{diraffil|}}}
+
{{!}} class="sidebar-label" {{!}} Affiliation(s):
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{affiliation}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|HF PIN:
+
{{#if: {{{profession|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{hfpin|}}}
+
{{!}} class="sidebar-label" {{!}} Profession(s):
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{profession}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|HF Rank:
+
{{#if: {{{position|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{hfrank|}}}
+
{{!}} class="sidebar-label" {{!}} Position(s):
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{position}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC"|HF Position:
+
{{#if: {{{rank|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller"|{{{hfpos|}}}
+
{{!}} class="sidebar-label" {{!}} Rank(s):
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{rank}}}}}
 
|-
 
|-
|style="background:{{{BG1|}}}; color:#CCCCCC; -moz-border-radius-bottomleft: 0.5em"|HF Affiliations:
+
{{#if: {{{tcdossier|}}}|
|style="background:{{{BG2|}}}; color:#CCCCCC; font-size:smaller; -moz-border-radius-bottomright: 0.5em"|{{{hfaffil|}}}
+
{{!}} class="sidebar-label" {{!}} TIE Corps Record:
 +
{{!}} class="sidebar-value" {{!}}
 +
[http://tc.emperorshammer.org/pilot/{{{tcdossier|0}}} {{{tcdossier}}}]}}
 +
|-
 +
{{#if: {{{ehdossier|}}}|
 +
{{!}} class="sidebar-label" {{!}} Emperor's Hammer Record:
 +
{{!}} class="sidebar-value" {{!}}
 +
[http://www.emperorshammer.org/profile={{{ehdossier|0}}}&type=profile {{{ehdossier}}}]}}
 
|}
 
|}
 +
[[Category:People of the Emperor's Hammer]]
 +
<noinclude>{{Clear}}
 +
== Usage ==
 +
To use: Paste the following text into the desired character article, and fill in the appropriate fields. If fields are left blank, they will auto-fill with "Classified". If you wish it to display something other than that, fill it in!
  
<noinclude>
+
Please do not link things that don't need it - ie: colours, gender, etc...
==Field List==
 
 
 
*brdrclr: the color of the border for the template, it surrounds the entire template, use HEX
 
*BG3: the background color for the line where your name will appear, use HEX.
 
*Name: The name of your character, will appear at the top of the template
 
*BG4: The background color for your sections, use HEX
 
*BG1: the color for the question part of the template, try to stray from light colors, use HEX
 
*BG2: the color for the answer part of the template, try to stray from light colors, use HEX
 
*specie: the specie of your character
 
*home: the homeworld of your character (where he was born)
 
*age: the age of your character, please check [[Galactic Timeline|Timeline]] if you don't know where we are
 
*birth: the year your were born in
 
*death: the year you died in, just leave blank if you're still alive
 
*height: how tall your character is
 
*weight: how much does your character weight
 
*hair: what color/type of hair do you have
 
*eyes: what color eyes do you have
 
*tcpin: the PIN number for your TC dossier
 
*tcrank: the rank your character is in the TC
 
*tcpos: the position you hold in the TC (squadron leader, ship commodore, etc)
 
*tcaffil: the affiliations you have in the TC if more then 1 please use bullets (squadron, ship, etc)
 
*dbpin: your PIN number for your DB dossier
 
*dbrank: the rank for your character in the DB
 
*dbpos: the position you hold in the db (dux, vicarius, etc)
 
*dbaffil: the affiliations you have in the TC, if more then 1 please use bullets (hetaria, SA, etc)
 
*dirpin: the PIN number of your DIR dossier
 
*dirrank: the rank of your character in the Directorate
 
*dirpos: the position your character holds in the DIR (LG, GG, SMF, HMF, etc)
 
*diraffil: your DIR affiliations (planet, system, sector, DGA)
 
*hfpin: the PIN for your HF dossier
 
*hfrank: your HF rank
 
*hfpos: your position in the HF (platoon leader, PRF, XO, etc)
 
*hfaffil: your HF affiliations (squad, platoon, company, battalion)
 
 
 
==Usage Instructions==
 
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank. Please refer to the above section for descriptions on all of the fields.<br />'''Note: This template has customizable colors.<br /> Also, if you are not in a subgroup, remove the asterisk from that subgroup's affiliations SUBGROUPaffil'''
 
  
 +
To link to your rank or position or affiliation, type it in this format so it is legible: <nowiki>[[RANK|<span style="color:white;">RANK</span>]]</nowiki>
 
<pre>
 
<pre>
<nowiki>
 
 
{{EH Character
 
{{EH Character
|brdrclr=
+
|image=
|BG3=
 
 
|name=
 
|name=
|BG4=
+
|homeworld=
|BG1=
 
|BG2=
 
|specie=
 
|home=
 
|age=
 
 
|birth=
 
|birth=
 
|death=
 
|death=
 +
|species=
 +
|gender=
 +
|skin=
 +
|hair=
 +
|eyes=
 
|height=
 
|height=
 
|weight=
 
|weight=
|hair=
+
|allies=
|eyes=
+
|enemies=
|tcpin=
+
|saber=
|tcrank=
+
|form=
|tcpos=
+
|fightingstyle=
|tcaffil=*
+
|ship=
|dbpin=
+
|affiliation=
|dbrank=
+
|profession=
|dbpos=
+
|position=
|dbaffil=*
+
|rank=
|dirpin=
+
|tcdossier=
|dirrank=
+
|dbdossier=
|dirpos=
+
|hfdossier=
|diraffil=*
+
}}  
|hfpin=
 
|hfrank=
 
|hfpos=
 
|hfaffil=*
 
}}
 
</nowiki>
 
 
</pre>
 
</pre>
</noinclude>
+
[[Category:Templates]]

Latest revision as of 21:23, 18 December 2022

Usage

To use: Paste the following text into the desired character article, and fill in the appropriate fields. If fields are left blank, they will auto-fill with "Classified". If you wish it to display something other than that, fill it in!

Please do not link things that don't need it - ie: colours, gender, etc...

To link to your rank or position or affiliation, type it in this format so it is legible: [[RANK|<span style="color:white;">RANK</span>]]

{{EH Character
|image=
|name=
|homeworld=
|birth=
|death=
|species=
|gender=
|skin=
|hair=
|eyes=
|height=
|weight=
|allies=
|enemies=
|saber=
|form=
|fightingstyle=
|ship=
|affiliation=
|profession=
|position=
|rank=
|tcdossier=
|dbdossier=
|hfdossier=
}}