Difference between revisions of "Template: Character box"

From Saratta
Jump to: navigation, search
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div><table>
+
<includeonly><div style="width: 250px;float:right;margin-left: 10px;"><div class="sideitem"><div class="boxhead"><div id="p-navigation" class="portlet"><div class="headfill" style='padding: 0; margin:0;height: 20px;'><div class="firstHeading" style="padding: 30px; ">{{{name}}}</div></div><div class="boxbody"><div class="pBody"><table style="background: transparent;padding:10px;">
<tr>Name<td></td>{{name}}</tr>
+
<tr><td></td></tr><tr><td></td></tr><tr><td></td></tr>
<tr><td></td></tr>
+
<tr><td></td></tr><tr><td></td></tr><tr><td></td></tr>
<tr><td></td></tr>
+
<tr><td colspan='2'>[[File:{{{image}}}|200px]]</td></tr>
<tr><td></td></tr>
+
<tr><td>'''Age'''</td><td>{{{age}}}</td></tr>
<tr><td></td></tr>
+
<tr><td>'''Born'''</td><td>{{{born}}}</td></tr>
 +
<tr><td>'''Died'''</td><td>{{{died}}}</td></tr>
 +
<tr><td>'''Gender'''</td><td>{{{gender}}}</td></tr>
 +
<tr><td>'''Residence'''</td><td>{{{residence}}}</td></tr>
 +
<tr><td>'''Home'''</td><td>{{{home}}}</td></tr>
 +
<tr><td>'''Nickname'''</td><td>{{{nick}}}</td></tr>
 +
<tr><td>'''Diety'''</td><td>{{{diety}}}</td></tr>
 +
<tr><td>'''Race'''</td><td>{{{race}}}</td></tr>
 +
<tr><td colspan=2>'''&nbsp;'''</td></tr>
 +
<tr><td colspan=2>'''Meta Data:'''</td></tr>
 +
<tr><td>'''Class'''</td><td>{{{class}}}</td></tr>
 +
<tr><td>'''Alignment'''</td><td>{{{align}}}</td></tr>
 +
<tr><td>'''Level'''</td><td>{{{level}}}</td></tr>
 +
<tr><td>'''Player'''</td><td>{{{player}}}</td></tr>
 +
<tr><td>'''Campaign'''</td><td>{{{campaign}}}</td></tr>
 
</table>
 
</table>
 +
</div><!--//pBody -->
 +
</div><!--//boxbody -->
 +
</div><!--//p-navigation -->
 +
</div><!--//boxhead -->
 
</div>
 
</div>
 
+
</div>
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 
<br clear=all>
 
<br clear=all>
Line 13: Line 32:
 
Produces a formatted sidebar for character pages.  See the formatted box below for a blank template for use in articles.
 
Produces a formatted sidebar for character pages.  See the formatted box below for a blank template for use in articles.
  
==Special==
 
* Will add the <nowiki>{{</nowiki>[[Template:noimage|noimage]]<nowiki>}}</nowiki> template to the top of the page and display a default image if the <tt>image</tt> variable is left blank.
 
* Will add the article to [[:Category:Unknown Portrayer]] if the <tt>portrayer</tt> variable equals the text "Unknown".
 
* Will add the article to [[:Category:Unnamed Characters]] if the <tt>formal name</tt> variable equals the text "Unknown".
 
* Will add the article to [[:Category:Unseen Characters]] if the <tt>mention</tt> variable is filled in, but <tt>debut</tt> is not.
 
* Will add the article to [[:Category:Deceased Characters]] if the <tt>died</tt> variable is filled in.
 
 
{| style="background: transparent;"
 
{| style="background: transparent;"
 
|<pre>{{Character box
 
|<pre>{{Character box
| name =  
+
| name=Milo Feebe
| sortname = <!-- Name to be sorted by in categories and in portals-->
+
| image = cat.jpg
| image = <!-- Image of the character. -->
+
| nick = Flaming Kitty
| portrayer = <!-- Unknown if not known, else name of actor/actress.  -->
+
| alias =  
| nick =  
+
| home = nowhere
| debut = <!-- Episode or GN character first appeared -->
+
| residence = formerly a hobbit village
| mention = <!-- Episode or GN character was first mentioned.  Use for characters who have not debuted. -->
+
| gender = Male
| known powers = <!-- For confirmed evolved humans, type the name of the power; for all others, type "None"-->
+
| age = 28
| potential_power(s) = <!-- For characters who have an identified but not displayed power -->
+
| level = 14
| formal name = <!-- Full formal name of the character if different from PAGENAME; use "Unknown" if PAGENAME is a descriptive name. -->
+
| race = hobbit
| alias = <!-- Pseudonyms and special monikers, not nicknames. -->
+
| class = Sorcerer
| gender = <!-- 'Male' or 'Female' will be replaced by the corresponding icon -->
+
| diety = [[Demáen]]
| age =  
 
| born =
 
| pob =
 
| died = <!-- set to "Unknown" if date is unknown, but the person is dead -->
 
| home = <!-- Character's home or place of origin (city); Will link to existing articles. -->
 
| residence = <!--Physical building where character lives; will link to existing articles. -->
 
| occupation =
 
| significant other =
 
| marriage =
 
| parent =
 
| grandparent(s) =
 
| guardian = <!--Non-parent guardian(s)-->
 
| child(ren) =
 
| grandchild(ren) =
 
| ward(s) =  
 
| sibling(s) =  
 
| other relatives =
 
| spoiler = <!-- "true" for spoiler warning and colors -->
 
 
}}</pre>
 
}}</pre>
 
|}
 
|}

Latest revision as of 16:55, 18 July 2011



Usage

Produces a formatted sidebar for character pages. See the formatted box below for a blank template for use in articles.

{{Character box
| name=Milo Feebe
| image = cat.jpg
| nick = Flaming Kitty
| alias = 
| home = nowhere
| residence = formerly a hobbit village
| gender = Male
| age = 28
| level = 14
| race = hobbit
| class = Sorcerer
| diety = [[Demáen]]
}}