Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) No edit summary |
Auctor Lucan (talk | contribs) m (Protected "Template:Character Infobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<table border="0" cellspacing=" | <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;"> | ||
<tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr> | <tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></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> | <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: {{{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>|}} | {{#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: {{{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>|}} | {{#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>|}} | ||
{{#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: {{{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: {{{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>|}} | {{#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: {{{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: {{{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</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{orientation}}}</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: </td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{orientation}}}</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: {{{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: {{{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: {{{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: {{{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: {{{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: {{{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 color</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{eyes|}}}</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 color:</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{eyes|}}}</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;"> | {{#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: {{{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>|}} | |||
<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; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''Interests'''</th></tr> | ||
Line 30: | Line 30: | ||
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{CITC|{{{dept}}}}}; background:{{CIBC|{{{dept}}}}};">'''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></ | </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 51: | Line 75: | ||
|weight= | |weight= | ||
|eyes= | |eyes= | ||
|hair= | |hair= | ||
|interests= | |interests= | ||
Line 57: | Line 80: | ||
|servicerecord= | |servicerecord= | ||
|decorations= | |decorations= | ||
|face= | |||
|writer= | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 74: | Line 99: | ||
*weight – 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.) | *weight – 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 – Put in the character's eye color. | *eyes – Put in the character's eye color. | ||
*age – Put in the character's hair/fur color. | *age – Put in the character's hair/fur color. | ||
*interests – Put in the character's interests. Insert <br> as required for newlines. | *interests – Put in the character's interests. Insert <br> as required for newlines. | ||
Line 80: | Line 104: | ||
*servicerecord – Put in the character's service record. 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. | *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. | |||
</noinclude> | </noinclude> |
Latest revision as of 22:27, 1 October 2021
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.