Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 8: Line 8:
 
-->{{{hide-family|}}}{{{family|}}}{{{ancestors|}}}{{{parents|}}}<!--
 
-->{{{hide-family|}}}{{{family|}}}{{{ancestors|}}}{{{parents|}}}<!--
 
-->{{{spouse|}}}{{{siblings|}}}{{{children|}}}{{{relatives|}}}{{{descendants|}}}<!--
 
-->{{{spouse|}}}{{{siblings|}}}{{{children|}}}{{{relatives|}}}{{{descendants|}}}<!--
  +
-->|[[Category: character.family]]
-->|{{#!:
 
  +
{{!}}-
|-
 
| colspan=2 style="padding: 0; margin: 0;" |
+
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
{| width=100% class="mw-collapsible {{{hide-family|mw-collapsed}}}"
+
{{{!}} width=100% class="mw-collapsible {{{hide-family|mw-collapsed}}}"
  +
{{!}}-
|-
 
! colspan=2 align=center | {{{family|Family}}}
+
! colspan=2 align=center {{!}} {{{family|Family}}}
  +
{{!}}-
|-
 
 
{{#if:{{{ancestors|}}}|{{row/kv|Ancestors|{{{ancestors}}}|}}|}}
 
{{#if:{{{ancestors|}}}|{{row/kv|Ancestors|{{{ancestors}}}|}}|}}
 
{{#if:{{{parents|}}}|{{row/kv|Parents|{{{parents}}}|}}|}}
 
{{#if:{{{parents|}}}|{{row/kv|Parents|{{{parents}}}|}}|}}
Line 22: Line 22:
 
{{#if:{{{relatives|}}}|{{row/kv|Relatives|{{{relatives}}}|}}|}}
 
{{#if:{{{relatives|}}}|{{row/kv|Relatives|{{{relatives}}}|}}|}}
 
{{#if:{{{descendants|}}}|{{row/kv|Descendants|{{{descendants}}}|}}|}}
 
{{#if:{{{descendants|}}}|{{row/kv|Descendants|{{{descendants}}}|}}|}}
|}}}|}}
+
{{!}}}|}}
  +
{{!}}-
 
<!--
 
<!--
   

Revision as of 15:26, 30 November 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.