Difference between revisions of "Template:Character"

From Exalted - Unofficial Wiki
Jump to: navigation, search
m (trying something out.)
 
m (test)
Line 1: Line 1:
<noinclude>{{Semi-Protected}}
+
{| width="100%"
----</noinclude><includeonly>
+
! width="75%" | <BIG>Description</BIG>
= <div style="padding-bottom: .1em; border-bottom: 1px solid #aaa;">{{{name}}}</div> =
+
! width="25%" | <BIG>Vitals</BIG>
<div style="width:25%; float: right; margin: 0em 0em 0.25em 1em;">
+
|- valign="top"
<table style="width:100%; {{EssenceColorTable|{{{color_type|{{{type}}}}}}}}" cellpadding=3 cellspacing=0>
+
| {{{text}}}
<tr><td>
+
|
* '''Type:''' {{{type}}}<br/>{{ifdef|{{{class|}}}|* '''Class:''' {{{class}}}<br/>|}}
+
{| style="width:100%; background:{{{background}}}; color:{{{color}}}" border=1 cellpadding=3 cellspacing=0
{{ifdef|{{{edition|}}}|* '''Edition:''' {{{edition}}}<br/>|}}
+
| style="width:100%" |
* '''Source:''' {{switch|{{{source}}}|=
+
* '''Type:''' {{{type|Solar}}}
|case: Official=[[:Category:Official Characters{{!}}Official]]|=
+
* '''Edition:''' {{{edition}}}
|default=[[:Category:Characters from {{{source}}}{{!}}{{{source}}}]]|=}}{{ifdef|{{{essence|}}}|* '''Essence:''' {{Dot{{{essence}}}}}<br/>|}}{{ifdef|{{{hazard|}}}|* '''Hazard:''' {{Dot{{{hazard}}}}}<br/>|}}
+
* '''Source:''' [[:Category:Characters from {{{source}}}{{!}}{{{source}}}]]
</td></tr></table>
+
|}
{{ifdef|{{{name|}}}|=== {{{name|}}} ===|}}
+
|}
{{switch|{{NAMESPACE}}|=
+
 
 +
{{Switch|{{NAMESPACE}}|=
 
   |case: Template=[[Category:Content Templates|{{PAGENAME}}]]|=
 
   |case: Template=[[Category:Content Templates|{{PAGENAME}}]]|=
   |case: Characters= {{switch|{{{source}}}|=
+
   |case: Characters=[[Category:{{{Type}}} {{{Class}}} Characters|{{PAGENAME}}]][[Category:{{{edition}}} Edition Characters|{{PAGENAME}}]][[Category:Characters from {{{source}}}|{{PAGENAME}}]]
    |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></includeonly>
 
<noinclude>
 
'''Instructions:''' This template uses the following parameters:
 
* '''Name:''' The name of your character.
 
* '''Type:''' This is the type of your character or creature.  It helps to determine the template's display colors as well as give readers an idea of what kind of character this is.  It may be a Beast, Demon, Ghost, Mortal, some kind of Exalt, one of the Fair Folk, a god, ect...
 
* '''Class:''' This is relevant if the class applies.  It refers to Caste, Aspect, Auspice or similar designation.
 
* '''Edition:''' Either First, Second or Both.  This helps organize the character into appropriate categories for indexing on the Wiki.
 
* '''Source:''' Who created this character?  Appropriate sources are either "Official" or your username.
 
* '''Essence:''' The Essence rating of the character.  This template displays Essence ratings of 0 to 5.
 
* '''Hazard:''' The Hazard rating of the character or creature, if applicable.
 
----
 
The following example would display the associated template.
 
{{Character
 
|name=The Jade Emperor
 
|type=Terrestrial
 
|class=Air
 
|edition=Second
 
|source=Bodhisattva
 
|essence=5
 
|hazard=5
 
}}
 
'''<nowiki>{{Character</nowiki><br><nowiki>
 
|name=The Jade Emperor</nowiki><br><nowiki>
 
|type=Terrestrial</nowiki><br><nowiki>
 
|class=Air</nowiki><br><nowiki>
 
|edition=Second</nowiki><br><nowiki>
 
|source=Bodhisattva</nowiki><br><nowiki>
 
|essence=5</nowiki><br><nowiki>
 
|hazard=5</nowiki><br><nowiki>
 
}}</nowiki>'''
 
</noinclude>
 

Revision as of 01:52, 23 October 2011

Description Vitals
{{{text}}}
  • Type: Solar
  • Edition: {{{edition}}}
  • Source: [[:Category:Characters from {{{source}}}|{{{source}}}]]

Template:Switch