Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(51 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="border: 1px solid #000; width: 250px; float: right;"
<includeonly>__NOTOC__
|-
<div class="infobox" style="width: 300px; float: right; border: solid 2px darkgrey; margin: 10px; padding: 5px; background-color: #282828; clear: right;">
! colspan="2" style="text-align: center; font-size: 1.25em;" | Character Information
  <div style="text-align: center;">
|-
    {{#if: {{{Portrait|}}}
| colspan="2" style="text-align: center;" |
      | {{#ifexist: File:{{{Portrait}}}| [[File:{{{Portrait}}}|300px|center|frameless|alt={{{FullName}}}]]
{{#if: {{{image|}}}
        | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
  | [[File:{{{image|Default_Profile.png}}}|250px|Profile Image]]
      }}
  | [[File:Default_Profile.png|250px|Profile Image]]
      | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
}}
    }}
|-
  </div>
| colspan="2" style="text-align: center;" | <hr />
  <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #f0f0f0;">{{{FullName}}}</div>
|-
  <hr style="border-color: #333333; margin-top: 10px; margin-bottom: 10px;"/>
{{#if: {{{fullname|}}} | <tr><td><b>Full Name:</b> </td><td>{{{fullname}}}</td></tr> }}
  <div style="color: #f0f0f0;">
{{#if: {{{species|}}} | <tr><td><b>Species:</b> </td><td>{{{species}}}</td></tr> }}
{{#if: {{{Species|}}} | <div><b>Species:</b> {{{Species}}}</div>}}{{#if: {{{Sex|}}} | <div><b>Sex:</b> {{{Sex}}}</div>}}{{#if: {{{Title|}}} | <div><b>Title:</b> {{{Title}}}</div>}}{{#if: {{{Occupation|}}} | <div><b>Occupation:</b> {{{Occupation}}}</div>}}{{#if: {{{Homeworld|}}} | <div><b>Homeworld:</b> {{{Homeworld}}}</div>}}{{#if: {{{Residence|}}} | <div><b>Residence:</b> {{{Residence}}}</div>}}{{#if: {{{Group|}}} | <div><b>Group:</b> {{{Group}}}</div>}}
{{#if: {{{sex|}}} | <tr><td><b>Sex:</b> </td><td>{{{sex}}}</td></tr> }}
  </div>
{{#if: {{{homeworld|}}} | <tr><td><b>Homeworld:</b> </td><td>{{{homeworld}}}</td></tr> }}
</div>
{{#if: {{{occupation|}}} | <tr><td><b>Occupation:</b> </td><td>{{{occupation}}}</td></tr> }}
</includeonly>
{{#if: {{{group|}}} | <tr><td><b>Group:</b> </td><td>{{{group}}}</td></tr> }}
|}

Latest revision as of 04:14, 20 May 2024