Difference between revisions of "Template:Character"

From Exalted - Unofficial Wiki
Jump to: navigation, search
m (test)
m (test again)
Line 1: Line 1:
{| width="100%"
+
<div style="width:25%; float: right; margin: 0em 0em 0.5em 1em;">
! width="75%" | <BIG>Description</BIG>
+
<table style="width:100%; {{EssenceColorTable|{{{color_type|{{{type}}}}}}}}" cellpadding=3 cellspacing=0>
! width="25%" | <BIG>Vitals</BIG>
+
<tr><td>
|- valign="top"
+
* '''Type:''' {{{type}}}<br/>{{ifdef|{{{class|}}}|* '''Class:''' {{{class}}}<br/>|}}
| {{{text}}}
+
{{ifdef|{{{edition|}}}|* '''Edition:''' {{{edition}}}<br/>|}}
|
+
* '''Source:''' {{switch|{{{source}}}|=
{| style="width:100%; background:{{{background}}}; color:{{{color}}}" border=1 cellpadding=3 cellspacing=0
+
|case: Official=[[:Category:Official Characters{{!}}Official]]|=
| style="width:100%" |
+
|default=[[:Category:Characters from {{{source}}}{{!}}{{{source}}}]]|=}}{{ifdef|{{{essence|}}}|* '''Essence:''' {{Dot{{{essence}}}}}<br/>|}}{{ifdef|{{{hazard|}}}|* '''Hazard:''' {{Dot{{{hazard}}}}}<br/>|}}
* '''Type:''' {{{type|Solar}}}
+
</td></tr></table>
* '''Edition:''' {{{edition}}}
+
{{ifdef|{{{name|}}}|=== {{{name|}}} ===|}}
* '''Source:''' [[:Category:Characters from {{{source}}}{{!}}{{{source}}}]]
+
{{switch|{{NAMESPACE}}|=
|}
 
|}
 
 
 
{{Switch|{{NAMESPACE}}|=
 
 
   |case: Template=[[Category:Content Templates|{{PAGENAME}}]]|=
 
   |case: Template=[[Category:Content Templates|{{PAGENAME}}]]|=
   |case: Characters=[[Category:{{{Type}}} {{{Class}}} Characters|{{PAGENAME}}]][[Category:{{{edition}}} Edition Characters|{{PAGENAME}}]][[Category:Characters from {{{source}}}|{{PAGENAME}}]]
+
   |case: Characters= {{switch|{{{source}}}|=
   }}
+
    |case: Official=[[Category:Official Characters{{!}}{{PAGENAME}}]]|=
 +
    |default=[[Category:Characters from {{{source}}}{{!}}{{PAGENAME}}]]|=
 +
    }}[[Category:{{ifdef|{{{class|}}}|{{{class}}}&#32;|}}{{{type}}} Characters|{{PAGENAME}}]]{{switch|{{{edition}}}|=
 +
    |case: First=[[Category:{{{edition}}} Edition Characters|{{PAGENAME}}]]|=
 +
    |case: Second=[[Category:{{{edition}}} Edition Characters|{{PAGENAME}}]]|=
 +
    |default=|=
 +
    }}|=
 +
   |default=<small>Click [[Characters:{{{name|{{PAGENAME}}}}}]] to go to this Character page</small>|=
 +
}}</div>

Revision as of 01:55, 23 October 2011