Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m
m (+raw versions)
Line 24: Line 24:
   
 
location
 
location
-->{{#if:{{{ethnicity|}}}|{{row/kv|Ethnicity|{{tag|{{race|{{{ethnicity}}}|}}|}}|}}|}}<!--
+
-->{{#if:{{{ethnicity|}}}<!--
  +
-->|{{row/kv<!--
-->{{#if:{{{nation|}}}|{{row/kv|Nationality|{{tag|{{race|{{{nation}}}|}}|}}|}}|}}<!--
 
  +
-->|Ethnicity<!--
-->{{#if:{{{birthplace|}}}|{{row/kv|Birthplace|[[{{{birthplace}}}]]}}|}}<!--
 
-->{{#if:{{{residence|}}}|{{row/kv|Residence|[[{{{residence}}}]]}}|}}<!--
+
-->|{{#if:{{{ethnicity-raw|}}}<!--
  +
-->|{{{ethnicity}}}<!--
  +
-->|{{tag|{{race|{{{ethnicity}}}|}}|}}<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->{{#if:{{{nation|}}}<!--
  +
-->|{{row/kv<!--
  +
-->|Nationality<!--
  +
-->|{{#if:{{{nation-raw|}}}<!--
  +
-->|{{{nation}}}<!--
 
-->|{{tag|{{race|{{{nation}}}|}}|}}<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->{{#if:{{{birthplace|}}}<!--
  +
-->|{{row/kv<!--
  +
-->|Birthplace<!--
  +
-->|<!--
  +
-->{{#if:{{{birthplace-raw|}}}<!--
  +
-->|{{{birthplace}}}<!--
  +
-->|[[{{{birthplace}}}]]<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->{{#if:{{{residence|}}}<!--
  +
-->|{{row/kv<!--
  +
-->|Residence<!--
  +
-->|{{#if:{{{residence-raw|}}}<!--
  +
-->|{{{residence}}}<!--
  +
-->|[[{{{residence}}}]]<!--
  +
-->}}<!--
  +
-->}}<!--
  +
-->}}<!--
 
-->{{{place|}}}<!--
 
-->{{{place|}}}<!--
 
-->{{row/kv|World|{{#if:{{{world|}}}|{{tag|{{{world}}}|cat={{race|{{{world}}}|}}|}}|''Unknown''}}|}}<!--
 
-->{{row/kv|World|{{#if:{{{world|}}}|{{tag|{{{world}}}|cat={{race|{{{world}}}|}}|}}|''Unknown''}}|}}<!--
Line 61: Line 94:
 
: For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{t|date}} template.
 
: For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{t|date}} template.
 
: {{{titles}}}, {{{abilities}}}, {{{skills}}}, {{{achievements}}}}, {{{{profession}}}, {{{aliases}}}, {{{religion}}} and {{{powers}}} are available to describe the character in more detail.
 
: {{{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}}}, {{{birthplace-raw}}} and {{{residence-raw}}} stop the corresponding properties from automatically linking (and categorizing).
   
 
[[Category: Infoboxes|{{PAGENAME}}]]
 
[[Category: Infoboxes|{{PAGENAME}}]]

Revision as of 17:39, 8 October 2013

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 {{{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}}}, {{{birthplace-raw}}} and {{{residence-raw}}} stop the corresponding properties from automatically linking (and categorizing).