Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>__NOTOC__
Your CharacterInfoBox information can be filled out to personalize your page (examples are included).
<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;">
If you would like to exclude a line, simply delete it and it will not appear in your Character Info Box. <u>Do not delete FullName.</u>
 
Custom lines are <b>OPTIONAL</b> and must be formatted to include div tags as seen below.
 
<pre>
{{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)
}}
</pre>
</noinclude><includeonly>__NOTOC__
<div class="infobox" style="width: 600px; float: right; border: solid 2px darkgrey; margin: 10px; padding: 5px; background-color: #e6f7ff !important;">
   <div style="text-align: center; background-color: #e6f7ff !important;">
     {{#if: {{{Portrait|}}}
     {{#if: {{{Portrait|}}}
       | {{#ifexist: File:{{{Portrait}}}
       | {{#ifexist: File:{{{Portrait}}}| [[File:{{{Portrait}}}|300px|center|frameless|alt={{{FullName}}}]]
        | [[File:{{{Portrait}}}|300px|center|frameless|alt={{{FullName}}}]]
         | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
         | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
       }}
       }}
Line 30: Line 9:
     }}
     }}
   </div>
   </div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #000080; background-color: #e6f7ff !important;">{{{FullName}}}</div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #f0f0f0;">{{{FullName}}}</div>
   <hr style="background-color: #e6f7ff !important;" />
   <hr style="border-color: #333333; margin-top: 10px; margin-bottom: 10px;"/>
   {{#if: {{{Species|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Species:</b> {{{Species}}}</div>}}
   <div style="color: #f0f0f0;">
  {{#if: {{{Sex|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><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: {{{Title|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Title:</b> {{{Title}}}</div>}}
  </div>
  {{#if: {{{Occupation|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Occupation:</b> {{{Occupation}}}</div>}}
  {{#if: {{{Homeworld|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Homeworld:</b> {{{Homeworld}}}</div>}}
  {{#if: {{{Residence|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Residence:</b> {{{Residence}}}</div>}}
  {{#if: {{{Group|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Group:</b> {{{Group}}}</div>}}
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 04:14, 20 May 2024