Template:CharacterInfoBox: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>
<noinclude>
This template is used to create character info boxes. Use it like so:
Character box template!


Use it like so (feel free to delete lines that don't apply to you, except for FullName)
<pre>
<pre>
{{CharacterInfoBox
{{CharacterBox
| image=http://example.com/image.jpg (if it's an external image URL)
| FullName=Han Solo
| image=Example.jpg  (if it's an uploaded [[File:Example.jpg]] here)
| Portrait={{Image|http://www.swaoa-mush.com/resources/assets/wiki.png}} (if it's a file on another server OR)
| species=Human
| Portrait=HanSolo.png (if it's an uploaded [[File:HanSolo.png]] here.)
| sex=Male
| Race=Human
| homeworld=Earth
| Sex=Male
| occupation=Explorer
| Title=General
| Profession=Smuggler (Use this line for your coded Profession)
| Occupation=Rebel (Use this line for whatever you want)
| Homeworld=Corellia
| Organization=Rebel Alliance
| Ship=Millennium Falcon
}}
}}
</pre>
</pre>
</noinclude><includeonly>__NOTOC__
</noinclude><includeonly>__NOTOC__
{| class="infobox" style="border: 1px solid #000; width: 250px; float: right;"
<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>
! colspan="2" style="text-align: center; font-size: 1.25em;" | Character Information
=={{{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/>}}
| colspan="2" style="text-align: center;" |
{{#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>
{{#if:{{{image|}}}|{{#ifexist:File:{{{image}}}|[[File:{{{image}}}|250px]]|<img src="{{{image}}}" alt="Profile Image" style="max-width: 250px;" />}}|<img src="https://i.imgur.com/U2BrC9O.jpg" alt="Profile Image" style="max-width: 250px;" />}
|-
| colspan="2" style="text-align: center;" | <hr />
|-
|'''Species:''' || {{{species|}}}
|-
|'''Sex:''' || {{{sex|}}}
|-
|'''Homeworld:''' || {{{homeworld|}}}
|-
|'''Occupation:''' || {{{occupation|}}}
|}
[[Category:Characters]]
</includeonly>

Revision as of 11:21, 18 May 2024

Character box template!

Use it like so (feel free to delete lines that don't apply to you, except for FullName)

{{CharacterBox
| FullName=Han Solo
| Portrait={{Image|http://www.swaoa-mush.com/resources/assets/wiki.png}}  (if it's a file on another server OR)
| Portrait=HanSolo.png (if it's an uploaded [[File:HanSolo.png]] here.)
| Race=Human
| Sex=Male
| Title=General
| Profession=Smuggler (Use this line for your coded Profession)
| Occupation=Rebel (Use this line for whatever you want)
| Homeworld=Corellia
| Organization=Rebel Alliance
| Ship=Millennium Falcon
}}