Template:Charinfo
(Difference between revisions)
m |
(template update) |
||
Line 1: | Line 1: | ||
{| cellpadding="2" style="float: right; width: 280px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;" | {| cellpadding="2" style="float: right; width: 280px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;" | ||
− | |- | + | {{ #if: {{{image_name|}}} | |
− | ! colspan="2" | + | {{!-}} bgcolor="#FFFFFF" |
− | | | + | ! colspan="2" {{!}} <center>[[Image:{{{image_name}}}|center|280px]]</center> |
+ | }} | ||
+ | |- | ||
! colspan="2" | <center>Facts</center> | ! colspan="2" | <center>Facts</center> | ||
− | | | + | |- bgcolor="#FFFFFF" |
− | | Name || {{{firstname}}} {{{lastname}}} | + | | Name || {{#if: {{{firstname|}}} | {{{firstname}}} }} {{{lastname}}} |
− | | | + | |- bgcolor="#FFFFFF" |
− | | Race || {{{race}}} | + | | Race || {{#if: {{{race|}}} | {{ #ifexist: {{{race}}} | [[{{{race}}}]] | {{{race}}} }} | unknown }} |
− | | | + | |- bgcolor="#FFFFFF" |
− | | Birthplace || {{{birthplace}}} | + | | Birthplace || {{#if: {{{birthplace|}}} | {{ #ifexist: {{{birthplace}}} | [[{{{birthplace}}}]] | {{{birthplace}}} }} | unknown }} |
− | | | + | |- bgcolor="#FFFFFF" |
− | | Family status || {{{family_status}}} | + | | Family status || {{#if: {{{family_status|}}} | {{{family_status}}} | unknown }} |
− | | | + | |- bgcolor="#FFFFFF" |
− | | Last known status || {{{status}}} | + | | Last known status || {{#if: {{{status|}}} | {{{status}}} | unknown }} |
|} | |} | ||
− | <includeonly> | + | <includeonly>{{#ifeq: {{#ifeq: {{{type}}} | Supporting&Main Character | true |}}{{#ifeq: {{{type}}} | Main&Supporting Character | true |}} | true |
− | [[Category:{{{ | + | | [[Category:Main Character{{!}}{{{lastname}}},{{{firstname}}}]] [[Category:Supporting Character{{!}}{{{lastname}}},{{{firstname}}}]] |
− | [[de:{{{firstname}}} {{{lastname}}}]] | + | | [[Category:{{{type}}}{{!}}{{{lastname}}},{{{firstname}}}]] }} |
− | </includeonly> | + | [[de:{{{firstname}}} {{{lastname}}}]]</includeonly><noinclude> |
− | + | ||
− | <noinclude> | + | |
− | + | ||
− | + | ||
==Usage== | ==Usage== | ||
− | ''' | + | '''Universal''' |
<pre> | <pre> | ||
{{Charinfo | {{Charinfo | ||
Line 37: | Line 35: | ||
| family_status ="family status of the character" | | family_status ="family status of the character" | ||
| status ="last known status of the character" | | status ="last known status of the character" | ||
− | | type ="Main Character/Supporting Character" | + | | type ="Main Character/Supporting Character/Main&Supporting Character" |
}} | }} | ||
</pre> | </pre> | ||
− | ''' | + | '''Example ([[Elssbett Mossadim-Bolivar]])''' |
<pre> | <pre> | ||
{{Charinfo | {{Charinfo | ||
Line 48: | Line 46: | ||
| lastname =Tiama | | lastname =Tiama | ||
| race =[[Human]] / [[Hajira]] | | race =[[Human]] / [[Hajira]] | ||
− | | birthplace = | + | | birthplace =Serendipity |
| family_status =single (?) | | family_status =single (?) | ||
| status =dead | | status =dead |
Revision as of 17:18, 17 May 2007
| |
---|---|
Name | {{{lastname}}} |
Race | unknown |
Birthplace | unknown |
Family status | unknown |
Last known status | unknown |
Usage
Universal
{{Charinfo | image_name ="name of the image" | firstname ="first name of the character" | lastname ="last name of the character" | race ="race of the character" | birthplace ="birthplace of the character" | family_status ="family status of the character" | status ="last known status of the character" | type ="Main Character/Supporting Character/Main&Supporting Character" }}
Example (Elssbett Mossadim-Bolivar)
{{Charinfo | image_name =Tiama.jpg | firstname = | lastname =Tiama | race =[[Human]] / [[Hajira]] | birthplace =Serendipity | family_status =single (?) | status =dead | type =Supporting Character }}