Difference between revisions of "Template:Character"

From Wulfgard Wiki
Jump to: navigation, search
(Blanked the page)
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;"
 +
|-
 +
|- 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>
 +
 +
Custom template for Wulfgard character infoboxes.
 +
==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.
 +
 +
</noinclude>

Revision as of 22:21, 14 May 2014

{{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:|
[[{{{image}}}|250px]]
{{{name}}}
Biographical Information }}
Race {{#if:always1| {{{race}}} }} }}
Gender {{#if:always1| {{{gender}}} }} }}
Born {{#if:always1| {{{born}}} }} }}
Died {{#if:always1| {{{died}}} }} }}
Birthplace {{#if:always1| {{{birthplace}}} }} }}
Affinity {{#if:always1| {{{affinity}}} }} }}
Familiar Spirit {{#if:always1| {{{familiar}}} }} }}
Physical Description }}
Height {{#if:always1| {{{height}}} }} }}
Weight {{#if:always1| {{{weight}}} }} }}
Eyes {{#if:always1| {{{eyecolor}}} }} }}
Hair {{#if:always1| {{{haircolor}}} }} }}
Family }}
Parents {{#if:always1| {{{parents}}} }} }}
Spouse {{#if:always1| {{{spouse}}} }} }}
Significant Other {{#if:always1| {{{sigother}}} }} }}
Children {{#if:always1| {{{children}}} }} }}
Other Family {{#if:always1| {{{otherFamily}}} }} }}
Pet {{#if:always1| {{{pet}}} }} }}
Political Information }}
Affiliation(s) {{#if:always1| {{{affiliation(s)}}} }} }}
Occupation(s) {{#if:always1| {{{occupation(s)}}} }} }}
Rank {{#if:always1| {{{rank}}} }} }}
OOC Information }}
First Appearance {{#if:always1| {{{fapp}}} }} }}
Last Appearance {{#if:always1| {{{lapp}}} }} }}
Creator {{#if:always1| {{{creator}}} }} }}
background-color:; }}{{#if:|color:inherit;}} font-size:larger; border-bottom-left-radius: 17px; -moz-border-radius-bottomleft: 17px; border-bottom-right-radius: 17px; -moz-border-radius-bottomright: 17px;" |
[ Source ]


Custom template for Wulfgard character infoboxes.

Syntax

{{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=
}}

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.