Difference between revisions of "Template:Character"

From Wulfgard Wiki
Jump to: navigation, search
(Created page with "{| class="infobox" style="font-size:89%; width:300px; border: 1px #606060 solid; border-bottom-left-radius: 17px; -moz-border-radius-bottomleft: 17px; border-bottom-right-radi...")
 
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; border: 1px #606060 solid; border-bottom-left-radius: 17px; -moz-border-radius-bottomleft: 17px; border-bottom-right-radius: 17px; -moz-border-radius-bottomright: 17px; border-top-left-radius: 17px; -moz-border-radius-topleft: 17px; border-top-right-radius: 17px; -moz-border-radius-topright: 17px; margin-top: 0px; margin-bottom: 0px; padding: 0px;"
+
<div style="float: right">
|-
 
|- style="text-align:center;"
 
| colspan="2" style="padding:0.5em;" | [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
|-
 
! class="color1" colspan="2" style="font-size:larger; border-top-left-radius: 17px; -moz-border-radius-topleft: 17px; border-top-right-radius: 17px; -moz-border-radius-topright: 17px;" | {{{name}}}
 
|-
 
{{#if:{{{displayBioHeader|}}}|
 
{{!}} colspan="2" align=center style="background:#233b0b; color:#ffffff;" {{!}} '''Biographical Information''' }}
 
|-
 
{{#if:{{{race|}}}|
 
{{!}}bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Race'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{race}}} }} }}
 
|-
 
{{#if:{{{gender|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Gender'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{gender}}} }} }}
 
|-
 
{{#if:{{{born|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Born'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{born}}} }} }}
 
|-
 
{{#if:{{{died|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Died'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{died}}} }} }}
 
|-
 
{{#if:{{{birthplace|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Birthplace'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{birthplace}}} }} }}
 
|-
 
{{#if:{{{affinity|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Affinity'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{affinity}}} }} }}
 
|-
 
{{#if:{{{familiar|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Familiar Spirit'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{familiar}}} }} }}
 
|-
 
{{#if:{{{displayAppHeader|}}}|
 
{{!}} colspan="2" align=center style="background:#233b0b; color:#ffffff;" {{!}} '''Physical Description''' }}
 
|-
 
{{#if:{{{height|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Height'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{height}}} }} }}
 
|-
 
{{#if:{{{weight|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Weight'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{weight}}} }} }}
 
|-
 
{{#if:{{{eyecolor|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Eyes'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{eyecolor}}} }} }}
 
|-
 
{{#if:{{{haircolor|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Hair'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{haircolor}}} }} }}
 
|-
 
{{#if:{{{displayFamilyHeader|}}}|
 
{{!}} colspan="2" align=center style="background:#233b0b; color:#ffffff;" {{!}} '''Family''' }}
 
|-
 
{{#if:{{{parents|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Parents'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{parents}}} }} }}
 
|-
 
{{#if:{{{spouse|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Spouse'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{spouse}}} }} }}
 
|-
 
{{#if:{{{sigother|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Significant Other'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{sigother}}} }} }}
 
|-
 
{{#if:{{{children|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Children'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{children}}} }} }}
 
|-
 
{{#if:{{{otherFamily|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Other Family'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{otherFamily}}} }} }}
 
|-
 
{{#if:{{{pet|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Pet'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{pet}}} }} }}
 
|-
 
{{#if:{{{displayPolitcalHeader|}}}|
 
{{!}} colspan="2" align=center style="background:#233b0b; color:#ffffff;" {{!}} '''Political Information''' }}
 
|-
 
{{#if:{{{affiliation(s)|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Affiliation(s)'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{affiliation(s)}}} }} }}
 
|-
 
{{#if:{{{occupation(s)|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Occupation(s)'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{occupation(s)}}} }} }}
 
|-
 
{{#if:{{{rank|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Rank'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{rank}}} }} }}
 
|-
 
{{#if:{{{displayOOCHeader|}}}|
 
{{!}} colspan="2" align=center style="background:#233b0b; color:#ffffff;" {{!}} '''OOC Information''' }}
 
|-
 
{{#if:{{{fapp|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''First Appearance'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{fapp}}} }} }}
 
|-
 
{{#if:{{{lapp|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Last Appearance'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{lapp}}} }} }}
 
|-
 
{{#if:{{{creator|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #dfdbc3; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; font-size:smaller;"}}} {{!}} '''Creator'''
 
{{!}} bgcolor={{{bgcolor_value|#d1cca9 style="background: #d1cca9; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} {{#if:always1| {{{creator}}} }} }}
 
|-
 
! class="color1" colspan="2" style="{{#if:{{{headerbkgnd|}}}|background-color:{{{headerbkgnd|}}}; }}{{#if:{{{headercolor|}}}|color:{{{headercolor|inherit}}};}} font-size:larger; border-bottom-left-radius: 17px; -moz-border-radius-bottomleft: 17px; border-bottom-right-radius: 17px; -moz-border-radius-bottomright: 17px;" | <div style="font-size:8pt;">[[Template:Character|[ Source ]]]</div>
 
|}
 
  
<noinclude>
+
<table border="1" width="350px" cellspacing="0" cellpadding="2">
 +
  <tr>
 +
    <th colspan="2" scope="col"><div align="center">[[File:{{{image}}}|{{{imagewidth}}}]]<br>
 +
<i><small>{{{title}}}</small></i><br></div></th>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="2" bgcolor="#528B3F"><div align="center"><font size="5"><b>{{{name}}}</b></font></div></td>
 +
  </tr>
 +
  <tr>
 +
    <td width="20%"><b>Full Name:</b></td>
 +
    <td width="80%">{{{fullname}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Aliases:</b></td>
 +
    <td>{{{aliases}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Race:</b></td>
 +
    <td>{{{race}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Sex:</b></td>
 +
    <td>{{{sex}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Birthplace:</b></td>
 +
    <td>{{{birthplace}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Eye Color:</b></td>
 +
    <td>{{{eyecolor}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Hair Color:</b></td>
 +
    <td>{{{haircolor}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Affinity:</b></td>
 +
    <td>{{{affinity}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td><b>Affiliations:</b></td>
 +
    <td>{{{affiliations}}}</td>
 +
  </tr>
 +
</table>
  
Custom template for Wulfgard character infoboxes.
+
</div>
==Syntax==
 
<pre>
 
{{Character 
 
|image=
 
|imagewidth=
 
|caption=
 
|name=
 
|displayBioHeader= t
 
|race=
 
|gender=
 
|born=
 
|died=
 
|birthplace=
 
|affinity=
 
|familiar=
 
|displayAppHeader= t
 
|height=
 
|weight=
 
|eyecolor=
 
|haircolor=
 
|displayFamilyHeader= t
 
|parents=
 
|spouse=
 
|sigother=
 
|children=
 
|otherfamily=
 
|pet=
 
|displayPolitcalHeader= t
 
|affiliation(s)=
 
|occupation(s)=
 
|rank=
 
|displayOOCHeader= t
 
|fapp=
 
|lapp=
 
|creator=
 
}}
 
</pre>
 
 
 
===Notes===
 
* fapp = First Appearance, lapp = Last Appearance
 
* If you don't want to display an image, just keep '''Image file Name''' and '''Image Size''' empty.
 
* Any field left blank will not appear on the page.
 
* If you don't want to display the headers for a section (such as the Political Information header), make the appropriate displayHeader field blank.
 
 
 
===Example===
 
 
 
{{CharacterExamplePage}}
 
 
 
[[Category:Custom Templates]]
 
 
 
</noinclude>
 

Latest revision as of 23:19, 25 August 2024

[[File:{{{image}}}|{{{imagewidth}}}]]
{{{title}}}
{{{name}}}
Full Name: {{{fullname}}}
Aliases: {{{aliases}}}
Race: {{{race}}}
Sex: {{{sex}}}
Birthplace: {{{birthplace}}}
Eye Color: {{{eyecolor}}}
Hair Color: {{{haircolor}}}
Affinity: {{{affinity}}}
Affiliations: {{{affiliations}}}