Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 52: Line 52:
   
 
location
 
location
-->{{#if:{{{ethnicity|}}}<!--
+
-->{{#if:{{{ethnicity-raw|{{{ethnicity|}}}|}}}<!--
 
-->|{{row/kv|Ethnicity||{{{ethnicity-raw|{{demonym tag|{{{ethnicity}}}|}}|}}}|}}<!--
-->|{{row/kv<!--
 
-->|Ethnicity<!--
 
-->|{{#if:{{{ethnicity-raw|}}}<!--
 
-->|{{{ethnicity}}}<!--t
 
-->|[[{{demonym|{{{ethnicity}}}|}}]][[Category:{{demonym|{{{ethnicity}}}|plural=y}}]]<!--
 
-->}}<!--
 
-->}}<!--
 
 
-->}}<!--
 
-->}}<!--
-->{{#if:{{{nation|}}}<!--
+
-->{{#if:{{{nation-raw|{{{nation|}}}|}}}<!--
-->|{{row/kv<!--
+
-->|{{row/kv|Nationality|{{{nation-raw|{{demonym tag|{{{nation}}}|}}|}}}|}}<!--
-->|Nationality<!--
 
-->|{{#if:{{{nation-raw|}}}<!--
 
-->|{{{nation}}}<!--
 
-->|[[{{demonym|{{{nation}}}|}}]][[Category:{{demonym|{{{nation}}}|plural=y}}]]<!--
 
-->}}<!--
 
-->}}<!--
 
 
-->}}<!--
 
-->}}<!--
-->{{#if:{{{birthplace|}}}|{{row/kv|Birthplace|{{{birthplace}}}|}}|}}<!--
+
-->{{#if:{{{birthplace-raw|{{{birthplace|}}}|}}}<!--
-->{{#if:{{{residence|}}}|{{row/kv|Residence|{{{residence}}}|}}|}}<!--
+
-->|{{row/kv|Birthplace|{{{birthplace-raw|{{toponym tag|{{{birthplace}}}|}}|}}}|}}<!--
 
-->}}<!--
 
-->{{#if:{{{residence-raw|{{{residence|}}}|}}}<!--
  +
-->|{{row/kv|Residence|{{{residence-raw|{{toponym tag|{{{residence}}}|}}|}}}|}}<!--
 
-->}}<!--
  +
 
-->{{{place|}}}<!--
 
-->{{{place|}}}<!--
  +
-->{{row/kv|World|{{#if:{{{world|}}}<!--
 
-->|[[{{toponym|{{{world}}}|}}]][[Category:{{demonym|{{{world}}}|plural=y}}]]<!--
+
-->{{#if:{{{world-raw|{{{world|}}}|}}}<!--
 
-->|{{row/kv|World|{{{world-raw|{{toponym tag|{{{world}}}|}}|}}}|}}<!--
-->|''Unknown''}}|}}<!--
 
-->{{#if:{{{universe|}}}|{{row/kv|Universe|{{{universe}}}}}|}}<!--
+
-->|{{#if:{{{universe-raw|{{{universe|}}}|}}}||{{row/kv|World|''Unknown''}}|}}
 
-->}}<!--
 
-->{{#if:{{{universe-raw|{{{universe|}}}|}}}<!--
  +
-->|{{row/kv|Universe|{{{universe-raw|{{toponym tag|{{{universe}}}|}}|}}}|}}<!--
 
-->}}<!--
   
 
featured in
 
featured in

Revision as of 08:22, 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.