Template:Character Infobox: Difference between revisions

From Star Trek: Theurgy Wiki

mNo edit summary
m (Protected "Template:Character Infobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(76 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:bgcolor|
<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;">
{{#switch: {{{dept}}}
<tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr>
| Command = 951116}}
 
| 454545
<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>
}}
{{#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>|}}
<table border="0" cellspacing="0" cellpadding="0" 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;">
{{#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>|}}
<tr><td colspan="2"><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#252525; border-collapse:collapse;">
{{#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>|}}
<tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</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>|}}
<tr style="text-align:center; color:#ffffff; background:#252525; font-size:larger;"><th colspan="2">{{{name}}}</th></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>|}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{bgcolor}};">'''Character information'''</th></tr>
{{#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: {{{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>|}}
{{#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: {{{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;">Rank</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{callsign}}}</td></tr>|}}
{{#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>|}}
{{#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: {{{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>|}}
{{#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>|}}
{{#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: {{{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: {{{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: {{{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>|}}
{{#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: {{{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>|}}
{{#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>|}}
{{#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: {{{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>|}}
{{#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>|}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Interests'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#454545;">'''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: {{{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>|}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#454545;">'''Education'''</th></tr>
 
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Education'''</th></tr>
{{#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>|}}
{{#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; background:#454545;">'''Service Record'''</th></tr>
 
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Service Record'''</th></tr>
{{#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>|}}
{{#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>|}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#454545;">'''Decorations'''</th></tr>
 
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Decorations'''</th></tr>
{{#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>|}}
{{#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></td></tr></table>
</table>
</includeonly>
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
<noinclude>
<noinclude>
===Usage instructions===
===Usage instructions===
{{Character Infobox
|dept= Command
|name= Nobody
|callsign= Foxtrot
|image=KRen-01.png
|rank= Ensign
|position= Fodder
|species= Cat
|age= 34
|gender= Femal
|orientation= Upright
|birthplace= Home
|height= 5' 6"
|weight= 120lbs
|eyes= brown
|hair= long
|interests= N/A
|education= N/A
|servicerecord= N/A
|decorations= N/A
|face= Leah Dizon
|writer= Nobody
}}
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:
<pre><nowiki>
<pre><nowiki>
Line 39: Line 65:
|callsign=
|callsign=
|image=
|image=
|rank
|rank=
|position=
|species=
|species=
|age=
|age=
|gender=
|gender=
|orientation=
|birthplace=
|birthplace=
|height=
|height=
Line 52: Line 80:
|servicerecord=
|servicerecord=
|decorations=
|decorations=
|face=
|writer=
}}</nowiki></pre>
}}</nowiki></pre>


===Display parameters===
==Data fields==
 
*dept &ndash; Put in one of the following: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian
Dept: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian
*name &ndash; Put in the character's name.
 
*name &ndash; Put in the character's callsign.
Gender: Male, Female, Hermophrodite, Neuter
*image &ndash; Put in the filename, not the entire wiki markup. ie: image.jpg not <nowiki>[[File:image.jpg]]</nowiki>
 
*rank &ndash; Put in the character's rank.
Height: Xft Yin
*position &ndash; Put in the character's position aboard ship.
 
*species &ndash; Put in the character's species.
Weight: XXXlbs
*age &ndash; Put in the character's age.
 
*gender &ndash; Put in the character's gender. (Male, Female, Herm, etc)
[[Category:Infoboxes]][[Category:Character Templates]][[Category:Templates]]</noinclude>
*orientation &ndash; Put in the characters sexual orientation. (Heterosexual, Gay, Lesbian, Bi-Sexual, etc)
*birthplace &ndash; Put in the character's place of birth.
*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.)
*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.)
*eyes &ndash; Put in the character's eye color.
*age &ndash; Put in the character's hair/fur color.
*interests &ndash; Put in the character's interests. Insert &lt;br&gt; as required for newlines.
*education &ndash; Put in the character's education. Insert &lt;br&gt; as required for newlines.
*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>

Latest revision as of 22:27, 1 October 2021


Usage instructions

KRen-01.png
Personnel FileR-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 Infobox
|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.