Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m (+ ' variants)
m (tweak docs, add depreciation category)
Line 93: Line 93:
 
-->||{{character/no-location}}<!--
 
-->||{{character/no-location}}<!--
 
-->}}<!--
 
-->}}<!--
  +
  +
-->{{#if:<!--
  +
-->{{{species-raw|}}}{{{raw-species|}}}<!--
  +
-->{{{birthplace-raw|}}}{{{raw-birthplace|}}}<!--
  +
-->{{{residence-raw|}}}{{{raw-residence|}}}<!--
  +
-->{{{ethnicity-raw|}}}{{{raw-ethnicity|}}}<!--
  +
-->{{{nation-raw|}}}{{{raw-nation|}}}<!--
  +
-->{{{world-raw|}}}{{{raw-world|}}}<!--
  +
  +
-->|[[category: depreciated raw parameters]]}}<!--
   
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
Line 113: Line 123:
 
: {{{titles}}}, {{{abilities}}}, {{{skills}}}, {{{achievements}}}}, {{{{profession}}}, {{{aliases}}}, {{{religion}}}, {{{powers}}}, and {{{species}}} (if non-human) are available to describe the character in more detail.
 
: {{{titles}}}, {{{abilities}}}, {{{skills}}}, {{{achievements}}}}, {{{{profession}}}, {{{aliases}}}, {{{religion}}}, {{{powers}}}, and {{{species}}} (if non-human) are available to describe the character in more detail.
   
Many of the properties have an alternative -raw suffix version which has no automatic linking and categorization.
+
Many of the properties have an alternative <code>'</code>-prefixed version which has no automatic linking and categorization.
The advanced properties {{{ethnicity-raw}}}, {{{nation-raw}}}, stop the corresponding properties from automatically linking and categorizing.
+
The advanced properties {{{'ethnicity}}}, {{{'nation}}}, stop the corresponding properties from automatically linking and categorizing.
   
In addition to the -raw suffixes, there are -ref suffixes for adding references to the magic fields. {{{ethnicity-ref}}}, {{{nationality-ref}}}
+
In addition to the <code>'</code> prefixes, there are -ref suffixes for adding references to the magic fields. {{{ethnicity-ref}}}, {{{nationality-ref}}}
   
 
It automatically adds pages to [[:Category: Characters]].
 
It automatically adds pages to [[:Category: Characters]].

Revision as of 20:35, 19 April 2019

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}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
{{{birthplace}}} or {{{residence}}} link to places.
for characters not set on earth {{{world}}} should be used
for those set on alternative earths {{{earth}}} should be used
for those not set on any particular earth {{{universe}}} can be used to indicate their setting
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. (Uses {{character/family}} template).
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}}}, {{{powers}}}, and {{{species}}} (if non-human) are available to describe the character in more detail.

Many of the properties have an alternative '-prefixed version which has no automatic linking and categorization. The advanced properties {{{'ethnicity}}}, {{{'nation}}}, stop the corresponding properties from automatically linking and categorizing.

In addition to the ' prefixes, there are -ref suffixes for adding references to the magic fields. {{{ethnicity-ref}}}, {{{nationality-ref}}}

It automatically adds pages to Category: Characters.

{{character
|unnamed=y
|image=
|merge-family=y
|parents=
|spouse=
|siblings=
|children=
|ancestors=
|relatives=
|descendants=
|born=
|died=
|abilities=
|bonded=
|titles=
|aliases=
|skills=
|achievements=
|powers=
|#profession=
|profession=
|occupation=
|religion=
|groups=
|species=
|'species=
|form=
|era=
|birthplace=
|'birthplace=
|residence=
|'residence=
|ethnicity=
|'ethnicity=
|nation=
|'nation=
|nationality=
|world= / earth=
|'world=
|hide-world=y
|universe=
|books=
}}