Template:CharacterPage: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
Character box template!
Character page 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>
{{CharacterBox
{{CharacterPage
| FullName=Han Solo
| 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
| 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 (Use this line for your coded Profession)
| Profession=Smuggler
| Occupation=Rebel (Use this line for whatever you want)
| Occupation=Rebel
| Homeworld=Corellia
| Homeworld=Corellia
| Organization=Rebel Alliance
| Organization=Rebel Alliance
Line 19: Line 18:
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly>__NOTOC__
<includeonly>
<div class="infobox" style="width: 250px; float: right; border: solid 2px white; margin: 5px; padding: 5px;">
<div class="sci-fi-font" style="text-align: center; font-size: 1.5em;">{{PAGENAME}}</div>
  <div style="text-align: center;">
{{CharacterBox
    {{#if: {{{Portrait|}}}
| FullName={{{FullName}}}
      | {{#ifexist: File:{{{Portrait}}}
| Portrait={{{Portrait}}}
        | [[File:{{{Portrait}}}|250px|center|frameless|alt={{{FullName}}}]]
| Race={{{Race}}}
        | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
| Sex={{{Sex}}}
      }}
| Title={{{Title}}}
      | [[File:Default_Profile.png|250px|center|frameless|alt=Default Profile]]
| Profession={{{Profession}}}
    }}
| Occupation={{{Occupation}}}
  </div>
| Homeworld={{{Homeworld}}}
  <div class="sci-fi-font" style="text-align: center; font-size: 1.5em;">{{{FullName}}}</div>
| Organization={{{Organization}}}
  <hr />
| Ship={{{Ship}}}
  {{#if: {{{Title|}}} | <div><b>Title:</b> {{{Title}}}</div>}}{{#if: {{{Race|}}} | <div><b>Race:</b> {{{Race}}}</div>}}
| DisableLogs={{{DisableLogs}}}
}}
<!-- Add your character's custom information here -->
{{{custom|}}}
</includeonly>

Revision as of 14:30, 18 May 2024

Character page template!

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

{{CharacterPage
| FullName=Han Solo
| Portrait=HanSolo.png
| Race=Human
| Sex=Male
| Title=General
| Profession=Smuggler
| Occupation=Rebel
| Homeworld=Corellia
| Organization=Rebel Alliance
| Ship=Millennium Falcon
}}