Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m
m (remove default-sort for majority of characters)
Line 1: Line 1:
 
{{infobox
 
{{infobox
 
|title={{{name|{{PAGENAME}}}}}<includeonly><!--
 
|title={{{name|{{PAGENAME}}}}}<includeonly><!--
-->{{DEFAULTSORT:{{{name|{{PAGENAME}}|}}}|}}<!--
+
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!--
 
-->[[Category: Characters]]<!--
 
-->[[Category: Characters]]<!--
debugging categories
 
-->{{#if:{{{ethnicity|}}}{{{nation|}}}||[[Category: Characters missing location]]}}<!--
 
-->{{#if:{{{ethnicity-raw|}}}{{{nation-raw|}}}|[[Category: Characters with raw values]]}}<!--
 
-- >{{#if:{{demonym|{{{ethnicity|}}}|}}||[[Category: Characters with broken demonyms]]}}<!--
 
-- >{{#if:{{demonym|{{{nation|}}}|}}||[[Category: Characters with broken demonyms]]}}<!--
 
-- >{{#if:{{demonym|{{{world|}}}|}}||[[Category: Characters with broken demonyms]]}}<!--
 
 
 
--></includeonly><!--
 
--></includeonly><!--
   
Line 69: Line 62:
 
-->{{#if:{{{world-raw|{{{world|}}}|}}}<!--
 
-->{{#if:{{{world-raw|{{{world|}}}|}}}<!--
 
-->|{{row/kv|World|{{{world-raw|{{toponym tag|{{{world}}}|}}|}}}|}}<!--
 
-->|{{row/kv|World|{{{world-raw|{{toponym tag|{{{world}}}|}}|}}}|}}<!--
-->|{{#if:{{{universe-raw|{{{universe|}}}|}}}||{{row/kv|World|''Unknown''}}|}}
+
-->|{{#if:{{{universe-raw|{{{universe|}}}|}}}||{{row/kv|World|''Unknown''}}|}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->{{#if:{{{universe-raw|{{{universe|}}}|}}}<!--
 
-->{{#if:{{{universe-raw|{{{universe|}}}|}}}<!--

Revision as of 09:36, 12 June 2014

Character
World Unknown
Featured In {{{books}}}

This template allows you to describe the many attributes of a character. The {{{world}}} and {{{books}}} parameters are required The other parameters are optional and can be described in groups:

Location
{{{ethnicity}}} and/or {{{nation}}} can be used to identify the ethnicity of the character.
{{{birthplace}}} and/or {{{residence}}} link to places.
The {{{place}}} parameter allows you to extend the template with extra rows for more specific parameters like birthplace or residency.
Family
{{{parents}}}, {{{siblings}}}, {{{spouse}}}, {{{children}}} and the more generic {{{relatives}}}, {{{ancestors}}} and {{{descendants}}}. The family options are grouped into a section, which can be renamed with {{{family}}}. If {{{hide-family}}} is present, the family section will be shown by default.
Life
For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{date}} template.
{{{titles}}}, {{{abilities}}}, {{{skills}}}, {{{achievements}}}}, {{{{profession}}}, {{{aliases}}}, {{{religion}}} and {{{powers}}} are available to describe the character in more detail.

The advanced properties {{{ethnicity-raw}}}, {{{nation-raw}}}, stop the corresponding properties from automatically linking and categorizing.