Template:Character: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Wiki Templates]]
<includeonly><table border="0" cellspacing="2" cellpadding="2" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#252525; border-collapse:collapse; border:1px solid #999999; line-height:1.5;">
<div class="infobox">
<tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr>
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
 
{{#if: {{{image|}}}|
<tr><th colspan="2" style="text-align:left; font-weight:normal; vertical-align:middle; padding:0; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};"><table width="100%" style="border:0px;margin:0 0 0 0"><td width="100%" style="vertical-align: middle;">'''Personnel File'''</td><td width="0px">[[File:{{CIRI|{{{dept}}}|{{{rank}}}}}|frameless|x25px]]</td></table></th></tr>
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
{{#if: {{{name|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Name:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{name}}}</td></tr>|}}
    {{!}}-
{{#if: {{{rank|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rank:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{rank}}}</td></tr>|}}
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
{{#if: {{{position|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Position:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{position}}}</td></tr>|}}
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
{{#if: {{{callsign|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Callsign:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{callsign}}}</td></tr>|}}
}}
{{#if: {{{species|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Species:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{species}}}</td></tr>|}}
|-
{{#if: {{{age|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Age:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{age}}}</td></tr>|}}
| class="ibheader" colspan="2" | '''Biographical Information'''
{{#if: {{{gender|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{gender}}}</td></tr>|}}
|-
{{#if: {{{orientation|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Orientation:&nbsp;&nbsp;</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{orientation}}}</td></tr>|}}
{{#if: {{{fullname|}}}|
{{#if: {{{birthplace|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Birthplace:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{birthplace}}}</td></tr>|}}
{{!}} class="ibleft" {{!}} Full Name
{{#if: {{{height|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{height}}}</td></tr>|}}
{{!}} class="ibright" {{!}} {{{fullname}}}
{{#if: {{{weight|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Weight:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{weight}}}</td></tr>|}}
}}
{{#if: {{{hair|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{hair}}}</td></tr>|}}
|-
{{#if: {{{eyes|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Eye&nbsp;color:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{eyes|}}}</td></tr>|}}
{{#if: {{{placeoforigin|}}}|
{{#if: {{{face|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Played by:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{face|}}}</td></tr>|}}
{{!}} class="ibleft" {{!}} Place of Origin
{{#if: {{{writer|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Writer:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{writer|}}}</td></tr>|}}
{{!}} class="ibright" {{!}} {{{placeoforigin}}}
 
}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Interests'''</th></tr>
|-
{{#if: {{{interests|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{interests}}}</td></tr>|}}
{{#if: {{{species|}}}|
 
{{!}} class="ibleft" {{!}} Species
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Education'''</th></tr>
{{!}} class="ibright" {{!}} {{{species}}}
{{#if: {{{education|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{education}}}</td></tr>|}}
}}
 
|-
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Service Record'''</th></tr>
{{#if: {{{gender|}}}|
{{#if: {{{servicerecord|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{servicerecord}}}</td></tr>|}}
{{!}} class="ibleft" {{!}} Gender
{{!}} class="ibright" {{!}} {{{gender}}}
}}
|-
{{#if: {{{dateofbirth|}}}|
{{!}} class="ibleft" {{!}} Date of Birth
{{!}} class="ibright" {{!}} {{{dateofbirth}}}
}}
|-
{{#if: {{{dateofdeath|}}}|
{{!}} class="ibleft" {{!}} Date of Death
{{!}} class="ibright" {{!}} {{{dateofdeath}}}
}}
|-
{{#if: {{{age|}}}|
{{!}} class="ibleft" {{!}} Age
{{!}} class="ibright" {{!}} {{{age}}}
}}
|-  
{{#if: {{{height|}}}{{{weight|}}}{{{hair|}}}{{{eyes|}}}|
{{!}} class="ibheader" colspan="2" {{!}} '''Physical Description'''
}}
|-
{{#if: {{{height|}}}|
{{!}} class="ibleft" {{!}} Height
{{!}} class="ibright" {{!}} {{{height}}}
}}
|-
{{#if: {{{weight|}}}|
{{!}} class="ibleft" {{!}} Weight
{{!}} class="ibright" {{!}} {{{weight}}}
}}
|-
{{#if: {{{hair|}}}|
{{!}} class="ibleft" {{!}} Hair
{{!}} class="ibright" {{!}} {{{hair}}}
}}
|-
{{#if: {{{eyes|}}}|
{{!}} class="ibleft" {{!}} Eyes
{{!}} class="ibright" {{!}} {{{eyes}}}
}}
|-
{{#if: {{{affiliation|}}}{{{rank|}}}{{{posting|}}}{{{position|}}}|
{{!}} class="ibheader" colspan="2" {{!}} '''Career Information'''
}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}
{{{affiliation}}}
}}
|-
{{#if: {{{rank|}}}|
{{!}} class="ibleft" {{!}} Rank
{{!}} class="ibright" {{!}} {{{rank}}}
}}
|-
{{#if: {{{posting|}}}|
{{!}} class="ibleft" {{!}} Posting
{{!}} class="ibright" {{!}}
{{{posting}}}
}}
|-
{{#if: {{{position|}}}|
{{!}} class="ibleft" {{!}} Position
{{!}} class="ibright" {{!}}
{{{position}}}
}}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Character]]
|}
</div>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Character]]{{DEFAULTSORT:{{{name}}}}}
}}
</includeonly><noinclude>
==Character==
All fields, if not assigned values, will not render in the infobox. Physical Description and Career Information headers will not render without at least one of the appropriate fields having information.


Fullname exists to allow for a character to have an excessively long name in full with a more short handed version displayed in the title of the infobox.
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Decorations'''</th></tr>
<pre>
{{#if: {{{decorations|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{decorations}}}</td></tr>|}}
</table>
</includeonly>
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
<noinclude>
===Usage instructions===
{{Character
{{Character
| image =  
|dept= Command
| name = First and last name ideally
|name= Nobody
| fullname = Go buck crazy, show all those middle names and lordly titles
|callsign= Foxtrot
| placeoforigin =  
|image=KRen-01.png
| species =  
|rank= Ensign
| gender =  
|position= Fodder
| dateofbirth =  
|species= Cat
| dateofdeath =  
|age= 34
| age =  
|gender= Femal
| height =  
|orientation= Upright
| weight =  
|birthplace= Home
| hair =  
|height= 5' 6"
| eyes =  
|weight= 120lbs
| affiliation = Government or organisation they work for or are part of. Link if you can for beautiful cross-linking.
|eyes= brown
| rank = Where to they stand in their group
|hair= long
| posting = Where are they currently working ie Peace Moon, Starbase Kickass, Subspace Radar Station Alaska
|interests= N/A
| position = What are they doing there ie Commanding Officer, Lord High Inquisitor, Tea-lady
|education= N/A
|servicerecord= N/A
|decorations= N/A
|face= Leah Dizon
|writer= Nobody
}}
}}
</pre>
Paste the following code into the top of an article, filling all known fields:
{{clear}}
<pre><nowiki>
==Example==
{{Character
{{Character
| image =  
|dept=
| name = Old Lady Higgins
|name=
| fullname = Old Lady Gertrude Higgins
|callsign=
| placeoforigin = Starbase Kickass
|image=
| species = Old Lady
|rank=
| gender = Female
|position=
| dateofbirth = Big Bang
|species=
| dateofdeath =  
|age=
| age = Eternal
|gender=
| height = 1.65m
|orientation=
| weight = Don't you date ask
|birthplace=
| hair = Grey
|height=
| eyes = Hazel
|weight=
| affiliation = She's a strong independent woman
|eyes=
| rank = Grandma to all
|hair=
| posting = Starbase Kickass' only knitting shop
|interests=
| position = Not too old to give you a good smacking sonny
|education=
| templatemode = nocats
|servicerecord=
}}
|decorations=
The following code generates the infobox to the right.
|face=
<pre>{{Character
|writer=
| image =
}}</nowiki></pre>
| name = Old Lady Higgins
 
| fullname = Old Lady Gertrude Wilhemina Higgins
==Data fields==
| placeoforigin = Starbase Kickass
*dept &ndash; Put in one of the following: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian
| species = Old Lady
*name &ndash; Put in the character's name.
| gender = Female
*name &ndash; Put in the character's callsign.
| dateofbirth = Big Bang
*image &ndash; Put in the filename, not the entire wiki markup. ie: image.jpg not <nowiki>[[File:image.jpg]]</nowiki>
| dateofdeath =
*rank &ndash; Put in the character's rank.
| age = Eternal
*position &ndash; Put in the character's position aboard ship.
| height = 1.65m
*species &ndash; Put in the character's species.
| weight = Don't you date ask
*age &ndash; Put in the character's age.
| hair = Grey
*gender &ndash; Put in the character's gender. (Male, Female, Herm, etc)
| eyes = Hazel
*orientation &ndash; Put in the characters sexual orientation. (Heterosexual, Gay, Lesbian, Bi-Sexual, etc)
| affiliation = She's a strong independent woman
*birthplace &ndash; Put in the character's place of birth.
| rank = Grandma to all
*height &ndash; Put in the character's height using the following: <nowiki>{{height|X|Y}}</nowiki> X is feet, Y is inches (ex: 5ft 6in is <nowiki>{{height|5|6}}</nowiki> System will add metric measurements.)
| posting = Starbase Kickass' only knitting shop
*weight &ndash; Put in the character's weight using the following: <nowiki>{{weight|X}}</nowiki> where X is the weight in pounds. System will add metric measurements.)
| position = Not too old to give you a good smacking sonny
*eyes &ndash; Put in the character's eye color.
}}
*age &ndash; Put in the character's hair/fur color.
</pre>
*interests &ndash; Put in the character's interests. Insert &lt;br&gt; as required for newlines.
[[Category:Infobox Templates]]
*education &ndash; Put in the character's education. Insert &lt;br&gt; as required for newlines.
{{clear}}
*servicerecord &ndash; Put in the character's service record. Insert &lt;br&gt; as required for newlines.
*decorations &ndash; Put in the character's decorations/medals. Insert &lt;br&gt; as required for newlines.
*face &ndash; Put in the faceclaim used for the character.
*writer &ndash; Put in the name of the current writer.
</noinclude>
</noinclude>

Revision as of 05:13, 22 February 2024


Usage instructions

File:KRen-01.png
Personnel FileFile:R-o1.png
Name:Nobody
Rank:Ensign
Position:Fodder
Callsign:Foxtrot
Species:Cat
Age:34
Gender:Femal
Orientation:  Upright
Birthplace:Home
Height:5' 6"
Weight:120lbs
Hair:long
Eye color:brown
Played by:Leah Dizon
Writer:Nobody
Interests
N/A
Education
N/A
Service Record
N/A
Decorations
N/A


Paste the following code into the top of an article, filling all known fields:

{{Character
|dept=
|name=
|callsign=
|image=
|rank=
|position=
|species=
|age=
|gender=
|orientation=
|birthplace=
|height=
|weight=
|eyes=
|hair=
|interests=
|education=
|servicerecord=
|decorations=
|face=
|writer=
}}

Data fields

  • dept – Put in one of the following: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian
  • name – Put in the character's name.
  • name – Put in the character's callsign.
  • image – Put in the filename, not the entire wiki markup. ie: image.jpg not [[File:image.jpg]]
  • rank – Put in the character's rank.
  • position – Put in the character's position aboard ship.
  • species – Put in the character's species.
  • age – Put in the character's age.
  • gender – Put in the character's gender. (Male, Female, Herm, etc)
  • orientation – Put in the characters sexual orientation. (Heterosexual, Gay, Lesbian, Bi-Sexual, etc)
  • birthplace – Put in the character's place of birth.
  • height – Put in the character's height using the following: {{height|X|Y}} X is feet, Y is inches (ex: 5ft 6in is {{height|5|6}} System will add metric measurements.)
  • weight – Put in the character's weight using the following: {{weight|X}} where X is the weight in pounds. System will add metric measurements.)
  • eyes – Put in the character's eye color.
  • age – Put in the character's hair/fur color.
  • interests – Put in the character's interests. Insert <br> as required for newlines.
  • education – Put in the character's education. Insert <br> as required for newlines.
  • servicerecord – Put in the character's service record. Insert <br> as required for newlines.
  • decorations – Put in the character's decorations/medals. Insert <br> as required for newlines.
  • face – Put in the faceclaim used for the character.
  • writer – Put in the name of the current writer.