Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) mNo edit summary |
SummerDawn (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
<tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</td></tr> | <tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</td></tr> | ||
<tr style="text-align:center; color:#ffffff; background:#252525; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> | <tr style="text-align:center; color:#ffffff; background:#252525; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> | ||
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{#switch: dept | | <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{#switch: {{{dept}}} | Command = 951116 | 454545}};">'''Character information'''</th></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: {{{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: {{{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>|}} |
Revision as of 14:24, 15 May 2016
|
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Character Infobox |dept= |name= |callsign= |image= |rank |species= |age= |gender= |birthplace= |height= |weight= |eyes= |hair= |interests= |education= |servicerecord= |decorations= }}
Display parameters
Gender: Male, Female, Hermophrodite, Neuter
Height: Xft Yin
Weight: XXXlbs