Difference between revisions of "Template:CharacterInfobox"

From LAH Wiki
Jump to: navigation, search
(Replacing page with '{| style="border:1px solid dimgray; width:320px" align={{{align}}} ! style="font-size:120%; color:orange" align=center | {{{name}}} |- | style="background:black; border:1px sol...')
Line 4: Line 4:
 
| style="background:black; border:1px solid dimgray" align=center v-align=middle| [[Image:{{{image}}}|300px]]<BR><span style="font-size:90%; color:white">{{{caption}}}</span>
 
| style="background:black; border:1px solid dimgray" align=center v-align=middle| [[Image:{{{image}}}|300px]]<BR><span style="font-size:90%; color:white">{{{caption}}}</span>
 
|-
 
|-
| {{ #if: {{{eyecolor}}} | THEN | ELSE }}
+
| {{ #if: {{{eyecolor}}} | THEN | ELSE
 
|-
 
|-
 
| {{ #if: {{{haircolor|}}} | Hair Color: {{{haircolor}}} | ELSE
 
| {{ #if: {{{haircolor|}}} | Hair Color: {{{haircolor}}} | ELSE
 
|}
 
|}
 
 
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%" cellspacing="2"
 
! style="background: {{{colour|#DEDEE2}}}; font-size: 120%;" align="center" colspan="2" | {{{name|{{PAGENAME}}}}}
 
{{#if: {{{image<includeonly>|</includeonly>}}} | <tr> <td align="center" colspan="2">{{{image}}} {{#if: {{{caption<includeonly>|</includeonly>}}} | <br><small>{{{caption}}}}}<small></td> </tr>}}
 
|-
 
| colspan=2 |
 
{| style="background:transparent"
 
! First appearance
 
| {{{first}}}
 
{{#if: {{{last<includeonly>|</includeonly>}}} | <tr> <th>Last appearance</th> <td>{{{last}}}</td> </tr>}}<!--
 
-->{{#if: {{{cause<includeonly>|</includeonly>}}} | <tr> <th>Cause/reason</th> <td>{{{cause}}}</td> </tr>}}
 
|}
 
|-
 
! style="background: {{{colour|#DEDEE2}}}; font-size: 120%;" align="center" colspan="2" | Information
 
{{#if: {{{nickname<includeonly>|</includeonly>}}} | <tr> <th>Nickname(s)</th> <td>{{{nickname}}}</td> </tr>}}<!--
 
-->{{#if: {{{alias<includeonly>|</includeonly>}}} | <tr> <th>Aliases</th> <td>{{{alias}}}</td> </tr>}}<!--
 
-->{{#if: {{{species<includeonly>|</includeonly>}}} | <tr> <th>Species</th> <td>{{{species}}}</td> </tr>}}<!--
 
-->{{#if: {{{gender<includeonly>|</includeonly>}}} | <tr> <th>Gender</th> <td>{{{gender}}}</td> </tr>}}<!--
 
-->{{#if: {{{age<includeonly>|</includeonly>}}} | <tr> <th>Age</th> <td>{{{age}}}</td> </tr>}}<!--
 
-->{{#if: {{{born<includeonly>|</includeonly>}}} | <tr> <th>Date of birth</th> <td>{{{born}}}</td> </tr>}}<!--
 
-->{{#if: {{{death<includeonly>|</includeonly>}}} | <tr> <th>Date of death</th> <td>{{{death}}}</td> </tr>}}<!--
 
-->{{#if: {{{specialty<includeonly>|</includeonly>}}} | <tr> <th>Specialty</th> <td>{{{specialty}}}</td> </tr>}}<!--
 
-->{{#if: {{{occupation<includeonly>|</includeonly>}}} | <tr> <th>Occupation</th> <td>{{{occupation}}}</td> </tr>}}<!--
 
-->{{#if: {{{title<includeonly>|</includeonly>}}} | <tr> <th>Title</th> <td>{{{title}}}</td> </tr>}}<!--
 
-->{{#if: {{{callsign<includeonly>|</includeonly>}}} | <tr> <th>Call&nbsp;sign</th> <td>{{{callsign}}}</td> </tr>}}<!--
 
-->{{#if: {{{family<includeonly>|</includeonly>}}} | <tr> <th>Family</th> <td>{{{family}}}</td> </tr>}}<!--
 
-->{{#if: {{{spouse<includeonly>|</includeonly>}}} | <tr> <th>Spouse(s)</th> <td>{{{spouse}}}</td> </tr>}}<!--
 
-->{{#if: {{{children<includeonly>|</includeonly>}}} | <tr> <th>Children</th> <td>{{{children}}}</td> </tr>}}<!--
 
-->{{#if: {{{relatives<includeonly>|</includeonly>}}} | <tr> <th>Relatives</th> <td>{{{relatives}}}</td> </tr>}}<!--
 
-->{{#if: {{{residence<includeonly>|</includeonly>}}} | <tr> <th>Address</th> <td>{{{residence}}}</td> </tr>}}<!--
 
-->{{#if: {{{religion<includeonly>|</includeonly>}}} | <tr> <th>Religion</th> <td>{{{religion}}}</td> </tr>}}<!--
 
-->{{#if: {{{nationality<includeonly>|</includeonly>}}} | <tr> <th>Nationality</th> <td>{{{nationality}}}</td> </tr>}}<!--
 
-->{{#if: {{{episode<includeonly>|</includeonly>}}} | <tr> <th>Episode count</th> <td>{{{episode}}}</td> </tr>}}<!--
 
-->{{#if: {{{portrayer<includeonly>|</includeonly>}}} | <tr> <th>Portrayed&nbsp;by</th> <td>{{{portrayer}}}</td> </tr>}}<!--
 
-->{{#if: {{{creator<includeonly>|</includeonly>}}} | <tr> <th>Created&nbsp;by</th> <td>{{{creator}}}</td> </tr>}}
 
|}<noinclude>
 
All parameters except "first" are optional (even "name" can be taken from PAGENAME).
 
 
== Usage ==
 
For brief explanation, see [[Template talk:Infobox character #Explanation of parameters]].
 
 
<pre style="overflow:auto">{{Infobox character
 
| colour    =
 
| name      =
 
| image      =
 
| caption    =
 
| first      =
 
| last      =
 
| cause      =
 
| nickname  =
 
| alias      =
 
| species    =
 
| gender    =
 
| age        =
 
| born      =
 
| death      =
 
| occupation =
 
| title      =
 
| callsign  =
 
| family    =
 
| spouse    =
 
| children  =
 
| relatives  =
 
| residence  =
 
| episode    =
 
| portrayer  =
 
| creator    =
 
}}</pre>
 
 
[[Category:Television infobox templates|Character]]
 
[[Category:Templates using ParserFunctions|Infobox character]]
 
[[Category:Fictional character infobox templates|Character]]
 
 
[[no:Mal:Infoboks rollefigur]]
 
[[pl:Szablon:Postać Gotowe na wszystko infobox]]
 
[[th:แม่แบบ:กล่องข้อมูล ตัวละคร]]
 
</noinclude>
 

Revision as of 02:24, 15 July 2007

Personal tools