Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
No edit summary
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>__NOTOC__
Character box template!
<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;">
Use it like so (feel free to delete lines that don't apply to you, except for FullName)
    {{#if: {{{Portrait|}}}
<pre>
      | {{#ifexist: File:{{{Portrait}}}| [[File:{{{Portrait}}}|300px|center|frameless|alt={{{FullName}}}]]
{{CharacterBox
        | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
| FullName=Han Solo
      }}
| Portrait={{Image|https://i.imgur.com/hOam9SK.jpg}}  (if it's a file on another server OR)
      | [[File:Default_Profile.png|300px|center|frameless|alt=Default Profile]]
| Portrait=HanSolo.png (if it's an uploaded [[File:HanSolo.png]] here.)
    }}
| Race=Human
  </div>
| Sex=Male
  <div class="sci-fi-font" style="text-align: center; font-size: 1.5em; color: #f0f0f0;">{{{FullName}}}</div>
| Title=General
  <hr style="border-color: #333333; margin-top: 10px; margin-bottom: 10px;"/>
| Profession=Smuggler (Use this line for your coded Profession)
  <div style="color: #f0f0f0;">
| Occupation=Rebel (Use this line for whatever you want)
{{#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>}}
| Homeworld=Corellia
  </div>
| Organization=Rebel Alliance
</div>
| Ship=Millennium Falcon
</includeonly>
}}
</pre>
</noinclude><includeonly>__NOTOC__
<div class="SWAOACharacterBox" style="width: 250px; float: right; border: solid 2px white; margin: 5px; padding: 5px;">
<div class="Portrait">{{#if:{{{Portrait|}}}|{{#ifexist:File:{{{Portrait}}}|[[File:{{{Portrait}}}|250px]]|{{{Portrait}}}}}}}</div>
=={{{FullName}}}==
{{#if:{{{Title|}}}|'''Title''': [[{{{Title}}}]]<br/>}}{{#if:{{{Race|}}}|'''Race''':  [[{{{Race}}}]]<br/>}}{{#if:{{{Sex|}}}|'''Sex''': {{{Sex|Male}}}<br/>}}{{#if:{{{Occupation|}}}|'''Occupation''': [[{{{Occupation}}}]]<br/>}}{{#if:{{{Profession|}}}|'''Profession''': [[{{{Profession|Janitor}}}]]<br/>}}{{#if:{{{Homeworld|}}}|'''Homeworld''': [[{{{Homeworld|Nar Shaddaa}}}]]<br/>}}{{#if:{{{Organization|}}}|'''Organization''':  [[{{{Organization|Resistence}}}]]<br/>}}{{#if:{{{Ship|}}}|'''Ship''': [[{{{Ship|None}}}]]<br/>}}{{#if:{{{Picture|}}}|'''Picture''':  [[{{{Picture|me}}}]]<br/>}}
{{#if:{{{DisableLogs|}}}| | <div class="SWAOACharBoxLogs" style="max-height: 200px; overflow: scroll;">{{#dpl:resultsheader=<hr/>'''Logs'''<br/>|suppresserrors=true|namespace=Log|ordermethod=firstedit|order=descending|linksto={{PAGENAME}}¦{{#dpl:|debug=0|linksto={{PAGENAME}}|format=,*%PAGE%¦%TITLE%\n,|redirects=only}}}}</div>}}</div>[[Category:Characters]]</includeonly>

Latest revision as of 04:14, 20 May 2024