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: #b8c5cc !important;">
<div class="infobox" style="width: 250px; float: right; border: solid 2px darkgrey; margin: 10px; padding: 5px; background-color: #cccccc !important;">
   <div style="text-align: center; background-color: #b8c5cc !important;">
   <div style="text-align: center; background-color: #cccccc !important;">
     {{#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|300px|center|frameless|alt=Default Profile]]
       | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
     }}
     }}
   </div>
   </div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #000080; background-color: #b8c5cc !important;">{{{FullName}}}</div>
   <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #000080; background-color: #cccccc !important;">{{{FullName}}}</div>
   <hr style="background-color: #b8c5cc !important;" />
   <hr style="background-color: #b8c5cc !important;" />
   {{#if: {{{Species|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Species:</b> {{{Species}}}</div>}}
   {{#if: {{{Species|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Species:</b> {{{Species}}}</div>}}
   {{#if: {{{Sex|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Sex:</b> {{{Sex}}}</div>}}
   {{#if: {{{Sex|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Sex:</b> {{{Sex}}}</div>}}
   {{#if: {{{Title|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Title:</b> {{{Title}}}</div>}}
   {{#if: {{{Title|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Title:</b> {{{Title}}}</div>}}
   {{#if: {{{Occupation|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Occupation:</b> {{{Occupation}}}</div>}}
   {{#if: {{{Occupation|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Occupation:</b> {{{Occupation}}}</div>}}
   {{#if: {{{Homeworld|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Homeworld:</b> {{{Homeworld}}}</div>}}
   {{#if: {{{Homeworld|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Homeworld:</b> {{{Homeworld}}}</div>}}
   {{#if: {{{Residence|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Residence:</b> {{{Residence}}}</div>}}
   {{#if: {{{Residence|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Residence:</b> {{{Residence}}}</div>}}
   {{#if: {{{Group|}}} | <div style="color: #000080; background-color: #e6f7ff !important;"><b>Group:</b> {{{Group}}}</div>}}
   {{#if: {{{Group|}}} | <div style="color: #000080; background-color: #cccccc !important;"><b>Group:</b> {{{Group}}}</div>}}
</div>
</div>
</includeonly>
</includeonly>

Revision as of 00:32, 20 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)
}}