Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) mNo edit summary |
Auctor Lucan (talk | contribs) m (Protected "Template:Character Infobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(52 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 | <tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr> | ||
<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: {{{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: {{{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;"> | {{#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: {{{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 | {{#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: {{{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 | {{#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: {{{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 | {{#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: {{{ | {{#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: {{{ | {{#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: {{{ | {{#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: {{{ | {{#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>|}} | |||
<tr><th colspan="2" style="text-align:left; font-weight:normal; color:{{ | {{#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: {{{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> | |||
{{#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; color:{{ | |||
<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; color:{{ | |||
<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; color:{{ | |||
<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 33: | Line 65: | ||
|callsign= | |callsign= | ||
|image= | |image= | ||
|rank | |rank= | ||
|position= | |||
|species= | |species= | ||
|age= | |age= | ||
|gender= | |gender= | ||
|orientation= | |||
|birthplace= | |birthplace= | ||
|height= | |height= | ||
Line 46: | Line 80: | ||
|servicerecord= | |servicerecord= | ||
|decorations= | |decorations= | ||
|face= | |||
|writer= | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
=== | ==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 <nowiki>[[File:image.jpg]]</nowiki> | |||
*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: <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 – 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. | |||
*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. | |||
</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.