Template:CharacterInfoBox: Difference between revisions

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

Latest revision as of 04:14, 20 May 2024