Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m (Undo revision 41826 by Fbstj (talk))
m (try)
Line 9: Line 9:
 
-->{{{parents|}}}<!-- -->{{{spouse|}}}<!-- -->{{{siblings|}}}<!-- -->{{{children|}}}<!--
 
-->{{{parents|}}}<!-- -->{{{spouse|}}}<!-- -->{{{siblings|}}}<!-- -->{{{children|}}}<!--
 
-->{{{ancestors|}}}<!-- -->{{{relatives|}}}<!-- -->{{{descendants|}}}<!--
 
-->{{{ancestors|}}}<!-- -->{{{relatives|}}}<!-- -->{{{descendants|}}}<!--
  +
-->|{{character/family
-->|
 
  +
|family={{{family|Family}}}
{{!}}-
 
  +
|ancestors={{{ancestors|}}}
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
 
  +
|parents={{{parents|}}}
{{{!}} width=100%
 
  +
|siblings={{{siblings|}}}
{{!}}-
 
  +
|spouse={{{spouse|}}}
! colspan=2 align=center {{!}} {{{family|Family}}}
 
  +
|children={{{children|}}}
{{!}}-
 
  +
|relatives={{{relatives|}}}
{{#if:{{{ancestors|}}}|{{row/kv|Ancestors|{{{ancestors}}}|}}|}}
 
 
|descendants={{{descendants|}}}
{{#if:{{{parents|}}}|{{row/kv|Parents|{{{parents}}}|}}|}}
 
 
}}<!--
{{#if:{{{siblings|}}}|{{row/kv|Siblings|{{{siblings}}}|}}|}}
 
{{#if:{{{spouse|}}}|{{row/kv|Spouse|{{{spouse}}}|}}|}}
 
{{#if:{{{children|}}}|{{row/kv|Children|{{{children}}}|}}|}}
 
{{#if:{{{relatives|}}}|{{row/kv|Relatives|{{{relatives}}}|}}|}}
 
{{#if:{{{descendants|}}}|{{row/kv|Descendants|{{{descendants}}}|}}|}}
 
{{!}}}|}}
 
{{!}}-
 
<!--
 
   
 
life
 
life

Revision as of 14:18, 2 December 2014

{{infobox |title=Character|

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.