Template:Character Infobox: Difference between revisions

From USS Wolff Wiki
Jump to navigation Jump to search
(Undo revision 331 by TheDrew (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
<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;">
<tr><td colspan="2"><div id="infoboxinternal">
<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;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#444444}}};">{{Image|{{{image|}}}|300}}</td></tr>
 
<tr style="text-align:center; color:#ffffff; background:#444444; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<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>
{{t|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Biographical information'''</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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{homeworld|}}}</td></tr>|1{{{homeworld|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;birth</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{birth|}}}</td></tr>|1{{{birth|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Age</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{age|}}}</td></tr>|1{{{age|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;death</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{death|}}}</td></tr>|1{{{death|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Personal Information'''</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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{species|}}}</td></tr>|1{{{species|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{gender|}}}</td></tr>|1{{{gender|}}}=}}
{{#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</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{orientation}}}</td></tr>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{height|}}}</td></tr>|1{{{height|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Weight</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{weight|}}}</td></tr>|1{{{weight|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Build</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{build|}}}</td></tr>|1{{{build|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{hair|}}}</td></tr>|1{{{hair|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Eye&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{eyes|}}}</td></tr>|1{{{eyes|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Chronological and political information'''</th></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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Stationed on</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{ship|}}}</td></tr>|1{{{ship|}}}=}}
{{#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>|}}
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Position</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{position|}}}</td></tr>|1{{{position|}}}=}}
 
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rank</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{rank|}}}</td></tr>|1{{{rank|}}}=}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Interests'''</th></tr>
{{t|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{affiliation|}}}</td></tr>|1{{{affiliation|}}}=}}
{{#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>|}}
</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Character Infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
 
{{clear}}
<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>|}}
 
<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>|}}
 
<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>|}}
</table></td></tr></table>
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
<noinclude>
===Usage instructions===
===Usage instructions===
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>
{{Character Infobox
{{Character Infobox
|dept=
|name=
|name=
|callsign=
|image=
|image=
|homeworld=
|rank=
|birth=
|position=
|death=
|species=
|species=
|age=
|gender=
|gender=
|orientation=
|birthplace=
|height=
|height=
|weight=
|weight=
|build=
|eyes=
|hair=
|hair=
|eyes=
|interests=
|ship=
|education=
|position=
|servicerecord=
|rank=
|decorations=
|affiliation=
|face=
|writer=
}}</nowiki></pre>
}}</nowiki></pre>


===Example===
==Data fields==
 
*dept &ndash; Put in one of the following: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian
{{Character Infobox
*name &ndash; Put in the character's name.
|name=Test User
*name &ndash; Put in the character's callsign.
|image=Helena.jpg
*image &ndash; Put in the filename, not the entire wiki markup. ie: image.jpg not <nowiki>[[File:image.jpg]]</nowiki>
|homeworld=Earth
*rank &ndash; Put in the character's rank.
|birth=
*position &ndash; Put in the character's position aboard ship.
|death=
*species &ndash; Put in the character's species.
|species=Human
*age &ndash; Put in the character's age.
|gender=Female
*gender &ndash; Put in the character's gender. (Male, Female, Herm, etc)
|height=5ft 2in
*orientation &ndash; Put in the characters sexual orientation. (Heterosexual, Gay, Lesbian, Bi-Sexual, etc)
|weight=120lbs
*birthplace &ndash; Put in the character's place of birth.
|build=Slim
*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.)
|hair=Blond
*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=Blue
*eyes &ndash; Put in the character's eye color.
|ship=Mekong
*age &ndash; Put in the character's hair/fur color.
|position=Engineer
*interests &ndash; Put in the character's interests. Insert &lt;br&gt; as required for newlines.
|rank=Ensign
*education &ndash; Put in the character's education. Insert &lt;br&gt; as required for newlines.
|affiliation=Federation
*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.
<pre><nowiki>
*writer &ndash; Put in the name of the current writer.
{{Character Infobox
</noinclude>
|name=Test User
|image=Helena.jpg
|homeworld=Earth
|birth=
|death=
|species=Human
|gender=Female
|height=5ft 2in
|weight=120lbs
|build=Slim
|hair=Blond
|eyes=Blue
|ship=Mekong
|position=Engineer
|rank=Ensign
|affiliation=Federation
}}</nowiki></pre>
 
===Display parameters===
Birth/Death format MM/DD/YYYY
 
Gender: Male, Female, Hermophrodite, Neuter
 
Height: Xft Yin
 
Weight: XXXlbs
 
Build: Petite, Slim, Average, Toned, Athletic, Curvy
 
[[Category:Infoboxes]][[Category:Character Templates]][[Category:Templates]]</noinclude>

Revision as of 23:42, 18 April 2020












[[File:{{{image}}}|300px]]
Personnel FileW-blank.png
Interests
Education
Service Record
Decorations

Usage instructions

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.