Difference between revisions of "Template:Character"

From Exalted - Unofficial Wiki
Jump to: navigation, search
m (trying something out.)
 
m (didn't work.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Semi-Protected}}
+
delete
----</noinclude><includeonly>
 
= <div style="padding-bottom: .1em; border-bottom: 1px solid #aaa;">{{{name}}}</div> =
 
<div style="width:25%; float: right; margin: 0em 0em 0.25em 1em;">
 
<table style="width:100%; {{EssenceColorTable|{{{color_type|{{{type}}}}}}}}" cellpadding=3 cellspacing=0>
 
<tr><td>
 
* '''Type:''' {{{type}}}<br/>{{ifdef|{{{class|}}}|* '''Class:''' {{{class}}}<br/>|}}
 
{{ifdef|{{{edition|}}}|* '''Edition:''' {{{edition}}}<br/>|}}
 
* '''Source:''' {{switch|{{{source}}}|=
 
|case: Official=[[:Category:Official Characters{{!}}Official]]|=
 
|default=[[:Category:Characters from {{{source}}}{{!}}{{{source}}}]]|=}}{{ifdef|{{{essence|}}}|* '''Essence:''' {{Dot{{{essence}}}}}<br/>|}}{{ifdef|{{{hazard|}}}|* '''Hazard:''' {{Dot{{{hazard}}}}}<br/>|}}
 
</td></tr></table>
 
{{ifdef|{{{name|}}}|=== {{{name|}}} ===|}}
 
{{switch|{{NAMESPACE}}|=
 
  |case: Template=[[Category:Content Templates|{{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></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>
 

Latest revision as of 01:59, 23 October 2011

delete