Template:PlayerInfobox: Difference between revisions

From Star Trek Equilism
m (templated)
m (testing)
Line 25: Line 25:
|}
|}
| <!-------Righthand side: template-------></noinclude>
| <!-------Righthand side: template-------></noinclude>
{| class="infobox" style="float; width: 25em; font-size: 95%;" align="right" cellpadding="3" cellspacing="3" style="border:1px solid black;"
!  colspan="2" bgcolor="{{{bgcolor}}}" | <font size="+1">'''{{{name}}}'''</font>
|-
| '''Species'''
| {{{species}}}
|-
| '''Gender'''
| {{{gender}}}
|-
| '''Birthdate'''
| {{{birthdate}}}
|-
| '''Birthplace'''
| {{{birthplace}}}
|-
| '''Posting'''
| {{{posting}}}
|-
| '''Rank'''
| {{{rank}}}
|-
| '''Insignia'''
| {{{rankinsignia}}}
|-
| '''Serial Number'''
| {{{serialnumber}}}
|-
| '''Status'''
| {{{status}}}
|-
| '''Played By'''
| {{{playername}}}
|}


<div style="float: right; margin: 0 0 1em 2em; width: 25em; text-align: right; font-size: 0.86em; line-height: normal;">
<!-- start of floated right section -->
<div style="border: 2px solid {{{bgcolor}}}; background: #E2E2E2; text-align: left; padding: 0.5em 1em; text-align: center;"><!-- start of slate grey box -->
<big>'''{{{name}}}'''</big>
<table style="background: transparent; text-align: left; table-layout: auto; border-collapse: collapse; padding: 0; font-size: 100%;" cellspacing="0" cellpadding="0">
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Species</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{species}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; t[ext-align: left;">Gender</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{gender}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Birthdate</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{birthdate}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Birthplace</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{birthplace}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Posting</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{posting}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Rank</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{rank}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Insignia</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{rankinsignia}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Serial Number</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{serialnumber}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Status</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{status}}}</td></tr>
<tr>
  <th style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Played By</th>
  <td style="border-top: solid 1px {{{bgcolor}}}; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{playername}}}</td></tr>
</table></div></div>
<noinclude>[[Category:Official wiki templates]]</noinclude>
<noinclude>[[Category:Official wiki templates]]</noinclude>

Revision as of 12:11, 24 November 2008

This is a template for playable character pages.

When adjusting 'bgcolor', it should be appropriate to the section the character works in. These are rough guides:

Section Colour Code
Command #B22222
Ops/Engineering #FFD700
Medical/Science #87CEEB
Civilian #2E8B57

{{{name}}}

Species {{{species}}}
Gender {{{gender}}}
Birthdate {{{birthdate}}}
Birthplace {{{birthplace}}}
Posting {{{posting}}}
Rank {{{rank}}}
Insignia {{{rankinsignia}}}
Serial Number {{{serialnumber}}}
Status {{{status}}}
Played By {{{playername}}}