Template:CharacterPage: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
Character page template!
Character box template!


Use it like so (feel free to delete lines that don't apply to you, except for FullName)
Use it like so (feel free to delete lines that don't apply to you, except for FullName)
<pre>
<pre>
{{CharacterPage
{{CharacterBox
| FullName=Han Solo
| FullName=Han Solo
| Portrait=HanSolo.png
| 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
| Race=Human
| Sex=Male
| Sex=Male
| Title=General
| Title=General
| Profession=Smuggler
| Profession=Smuggler (Use this line for your coded Profession)
| Occupation=Rebel
| Occupation=Rebel (Use this line for whatever you want)
| Homeworld=Corellia
| Homeworld=Corellia
| Organization=Rebel Alliance
| Organization=Rebel Alliance
Line 18: Line 19:
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly>
<includeonly>__NOTOC__
{{CharacterBox
<div class="infobox" style="width: 250px; float: right; border: solid 2px white; margin: 5px; padding: 5px;">
| FullName={{{FullName}}}
  <div style="text-align: center;">
| Portrait={{{Portrait}}}
    {{#if: {{{Portrait|}}}
| Race={{{Race}}}
      | {{#ifexist: File:{{{Portrait}}}
| Sex={{{Sex}}}
        | [[File:{{{Portrait}}}|250px|center|frameless|alt={{{FullName}}}]]
| Title={{{Title}}}
        | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
| Profession={{{Profession}}}
      }}
| Occupation={{{Occupation}}}
      | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
| Homeworld={{{Homeworld}}}
    }}
| Organization={{{Organization}}}
  </div>
| Ship={{{Ship}}}
  <div class="sci-fi-font" style="text-align: center; font-size: 1.5em;">{{{FullName}}}</div>
| DisableLogs={{{DisableLogs}}}
  <hr />
}}
  {{#if: {{{Title|}}} | <div><b>Title:</b> {{{Title}}}</div>}}{{#if: {{{Race|}}} | <div><b>Race:</b> {{{Race}}}</div>}}
<!-- Add your character's custom information here -->
{{{custom|}}}
</includeonly>

Revision as of 14:29, 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
}}