Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
Your CharacterInfoBox information can be filled out to personalize your page. Examples can be found below.
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>
<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)
| Group=Loner's Inc.        (Your most important or public group)
}}
</pre>
</noinclude>
<includeonly>__NOTOC__
<includeonly>__NOTOC__
<div class="infobox" style="width: 250px; float: right; border: solid 2px white; margin: 5px; padding: 5px;">
<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: {{{Portrait|}}}
     {{#if: {{{Portrait|}}}
       | {{#ifexist: File:{{{Portrait}}}
       | {{#ifexist: File:{{{Portrait}}}| [[File:{{{Portrait}}}|300px|center|frameless|alt={{{FullName}}}]]
        | [[File:{{{Portrait}}}|250px|center|frameless|alt={{{FullName}}}]]
         | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
         | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
       }}
       }}
       | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
       | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
     }}
     }}
   </div>
   </div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em;">{{{FullName}}}</div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #f0f0f0;">{{{FullName}}}</div>
   <hr />
   <hr style="border-color: #333333; margin-top: 10px; margin-bottom: 10px;"/>
   {{#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: {{{Group|}}} | <div><b>Group:</b> {{{Group}}}</div>}}
   <div style="color: #f0f0f0;">
  {{#if: {{{DisableLogs|}}}
{{#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 class="SWAOACharBoxLogs" style="max-height: 200px; overflow: scroll;">
        <dpl>
          namespace = Log
          ordermethod = firstedit
          order = descending
          linksto = {{PAGENAME}}
          format = ,* [[%TITLE%|%TITLE%]]
        </dpl>
      </div>
  }}
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 04:14, 20 May 2024