Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
No edit summary
Line 20: Line 20:
</pre>
</pre>
</noinclude><includeonly>__NOTOC__
</noinclude><includeonly>__NOTOC__
<div class="infobox" style="width: 300px; float: right; border: solid 2px darkgrey; margin: 10px; padding: 5px; background-color: #e6f7ff !important;">
<style>
  .character-infobox {
    width: 300px;
    float: right;
    border: solid 2px darkgrey;
    margin: 10px;
    padding: 5px;
    background-color: #e6f7ff !important;
  }
  .character-infobox .sci-fi-font {
    text-align: center;
    font-size: 1.5em;
    color: #000080;
  }
  .character-infobox div {
    color: #000080;
  }
</style>
<div class="character-infobox">
   <div style="text-align: center;">
   <div style="text-align: center;">
     {{#if: {{{Portrait|}}}
     {{#if: {{{Portrait|}}}
Line 30: Line 48:
     }}
     }}
   </div>
   </div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #000080;">{{{FullName}}}</div>
   <div class="sci-fi-font">{{{FullName}}}</div>
   <hr />
   <hr />
   {{#if: {{{Species|}}} | <div style="color: #000080;"><b>Species:</b> {{{Species}}}</div>}}{{#if: {{{Sex|}}} | <div style="color: #000080;"><b>Sex:</b> {{{Sex}}}</div>}}{{#if: {{{Title|}}} | <div style="color: #000080;"><b>Title:</b> {{{Title}}}</div>}}{{#if: {{{Occupation|}}} | <div style="color: #000080;"><b>Occupation:</b> {{{Occupation}}}</div>}}{{#if: {{{Homeworld|}}} | <div style="color: #000080;"><b>Homeworld:</b> {{{Homeworld}}}</div>}}{{#if: {{{Residence|}}} | <div style="color: #000080;"><b>Residence:</b> {{{Residence}}}</div>}}{{#if: {{{Group|}}} | <div style="color: #000080;"><b>Group:</b> {{{Group}}}</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>}}
</div>
</div>
</includeonly>
</includeonly>

Revision as of 09:16, 19 May 2024

Your CharacterInfoBox information can be filled out to personalize your page (examples are included).

If you would like to exclude a line, simply delete it and it will not appear in your Character Info Box. Do not delete FullName.

Custom lines are OPTIONAL and must be formatted to include div tags as seen below.

{{CharacterInfoBox
| FullName=Lone Starr       (This can be longer than your login name. DO NOT DELETE.)
| Portrait=LoneStarr.png    (The name of an uploaded image)
| Species=Humanish          (Your species)
| Sex=Awkward               (Your sex)
| Title=Captain             (Rank, title, maybe an insult that stuck)
| Occupation=Space Vagabond (Your job or occupational identity)
| Homeworld=Druidia?        (Where you were born, or where you now live)
| Residence=Jalath, Lothal  (Where you currently reside)
| Group=Loner's Inc.        (Your most important or public group)
}}