Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m (+{{{nationality}}} as alias for {{{nation}}})
m
Line 1: Line 1:
 
{{infobox
 
{{infobox
 
|id=character
 
|id=character
|title={{#if:{{{unnamed|}}}|''Unknown''[[category: unnamed characters]]|{{{name|{{PAGENAME}}}}}|}}<!--
+
|title={{#if:{{{unnamed|}}}|''Unknown''|{{{name}}}|}}<!--
   
 
-->|1=
 
-->|1=
Line 30: Line 30:
 
<!-- life -->
 
<!-- life -->
 
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}}
 
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}}
{{#if:{{{died|}}} |{{row/kv|Died |{{{died}}} [[category: dead characters]] }}|}}
+
{{#if:{{{died|}}} |{{row/kv|Died |{{{died}}}
  +
}}|}}
   
 
<!--about -->
 
<!--about -->
Line 43: Line 44:
 
{{#if:{{{religion|}}} |{{row/kv|Religion |{{{religion}}} }}|}}
 
{{#if:{{{religion|}}} |{{row/kv|Religion |{{{religion}}} }}|}}
 
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
 
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
{{#if:{{{form|}}} |{{row/kv|[[Listener#Forms|Form]] | {{{form}}} }}|}}
+
{{#if:{{{form|}}} |{{row/kv|Form | {{{form}}}
  +
}}|}}
   
 
<!-- location -->
 
<!-- location -->
 
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{raw/ethnicity}} }}|}}
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} }}|}}
+
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{{ethnicity}}}
  +
}}|}}
 
{{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{raw/nation}} }}|}}
 
{{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{raw/nation}} }}|}}
{{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} }}|}}
+
{{#if:{{{nation|}}} |{{row/kv|Nationality |{{{nation}}}
  +
}}|}}
{{#if:{{{nationality|}}} |{{row/kv|Nationality |{{demonym tag|{{{nationality}}}|}} }}|}}
+
{{#if:{{{nationality|}}} |{{row/kv|Nationality |{{{nationality}}}
  +
}}|}}
 
{{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{raw/birthplace}} }}|}}
 
{{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{raw/birthplace}} }}|}}
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} }}|}}
+
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{{birthplace}}}
  +
}}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{raw/residence}} }}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{raw/residence}} }}|}}
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|}} }}|}}
+
{{#if:{{{residence|}}} |{{row/kv|Residence |{{{residence}}}
  +
}}|}}
   
{{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}} }}
+
{{#if:{{{earth|}}} |{{row/kv|World |{{{earth}}}
  +
}}
 
|{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{raw/world}} }}
 
|{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{raw/world}} }}
|{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} }}
+
|{{#if:{{{world|}}} |{{row/kv|World |{{{world}}}
  +
}}
 
|{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} }}
 
|{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} }}
 
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
 
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
Line 71: Line 80:
 
-->{{#if:<!--
 
-->{{#if:<!--
 
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
 
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
-->||[[category: characters missing location]]<!--
+
-->||<!--
 
-->}}<!--
 
-->}}<!--
   
Line 79: Line 88:
 
-->{{{birthplace-raw|{{{birthplace|}}}|}}}<!--
 
-->{{{birthplace-raw|{{{birthplace|}}}|}}}<!--
 
-->{{{residence-raw |{{{residence |}}}|}}}<!--
 
-->{{{residence-raw |{{{residence |}}}|}}}<!--
-->||[[category: characters missing location]]<!--
+
-->||<!--
 
-->}}<!--
 
-->}}<!--
   
-->[[category: characters]]<!--
+
--><!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
  +
This template is used for example purposes. It's a copy of the {{t|character}} template with no automatic categorization.
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. (Uses {{t|character/family}} template).
 
; Life
 
: 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.
 
 
Many of the properties have an alternative -raw suffix version which has no automatic linking and categorization.
 
The advanced properties {{{ethnicity-raw}}}, {{{nation-raw}}}, stop the corresponding properties from automatically linking and categorizing.
 
   
 
[[category: infoboxes]]
 
[[category: infoboxes]]

Revision as of 14:26, 22 December 2016

{{{name}}}
World Unknown
Featured In {{{books}}}

This template is used for example purposes. It's a copy of the {{character}} template with no automatic categorization.