Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m
(rm featured in; add first appeared)
 
(3 intermediate revisions by the same user not shown)
Line 49: Line 49:
 
{{#if:{{{species|}}} |{{row/kv|Species |{{species tag|{{{species}}}|}}<!-- -->{{{species-ref|}}} }}|}}
 
{{#if:{{{species|}}} |{{row/kv|Species |{{species tag|{{{species}}}|}}<!-- -->{{{species-ref|}}} }}|}}
   
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}}
+
{{#if:{{{era|}}} |{{row/kv|Era |[[{{{era}}}]]{{era/{{{era}}}|}} }}|}}
   
 
<!-- location -->
 
<!-- location -->
Line 57: Line 57:
 
{{#if:{{{'residence|}}} |{{row/kv|Residence |{{{'residence}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
 
{{#if:{{{'residence|}}} |{{row/kv|Residence |{{{'residence}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|residents of}}<!-- -->{{{residence-ref|}}} }}|}}
+
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym link|{{{residence}}}}}{{cat ns|Residents of {{#if:{{toponym|{{{residence}}}}}|{{toponym|{{{residence}}}}}|{{{residence}}}}}}}<!-- -->{{{residence-ref|}}} }}|}}
 
{{#if:{{{'ethnicity|}}} |{{row/kv|Ethnicity |{{{'ethnicity}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{'ethnicity|}}} |{{row/kv|Ethnicity |{{{'ethnicity}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
Line 66: Line 66:
 
{{#if:{{{nationality|}}} |{{row/kv|Nationality |{{demonym tag|{{{nationality}}}|}}<!-- -->{{{nationality-ref|}}} }}|}}
 
{{#if:{{{nationality|}}} |{{row/kv|Nationality |{{demonym tag|{{{nationality}}}|}}<!-- -->{{{nationality-ref|}}} }}|}}
   
{{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}}<!-- -->{{{earth-ref|{{{world-ref|}}}|}}} }}
+
{{#if:{{{earth|}}} |{{row/kv|Homeworld |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}}<!-- -->{{{earth-ref|{{{world-ref|}}}|}}} }}
|{{#if:{{{'world|}}} |{{row/kv|World |{{{'world}}}<!-- -->{{{world-ref|}}} {{raw/world}} }}
+
|{{#if:{{{'world|}}} |{{row/kv|Homeworld |{{{'world}}}<!-- -->{{{world-ref|}}} {{raw/world}} }}
|{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}}<!-- -->{{{world-ref|}}} }}
+
|{{#if:{{{world|}}} |{{row/kv|Homeworld |{{toponym tag|{{{world}}}|}}<!-- -->{{{world-ref|}}} }}
 
|{{#if:{{{hide-world|}}} |<!-- don't show a world row -->
 
|{{#if:{{{hide-world|}}} |<!-- don't show a world row -->
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
+
<!-- ELSE -->|{{row/kv|Homeworld |''Unknown'' }}<!--
 
END IFs-->}}|}}|}}|}}
 
END IFs-->}}|}}|}}|}}
   
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
+
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}'' }}
+
{{#if:{{{first appeared|}}} |{{row/kv| First Appeared | ''{{{first appeared}}}''<!-- -->}}|{{missing/first-appeared}}}}
   
 
}}<includeonly><!--
 
}}<includeonly><!--
Line 109: Line 109:
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
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:
+
This template allows you to describe the many attributes of a character. The {{{world}}} and {{{first appeared}}} parameters are required. The other parameters are optional and can be described in groups:
 
; Location
 
; Location
 
: {{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
 
: {{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
Line 171: Line 171:
 
|hide-world=y
 
|hide-world=y
 
|universe=
 
|universe=
  +
|first appeared=
|books=
 
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 18:58, 15 March 2024

Character
Homeworld Unknown

This template allows you to describe the many attributes of a character. The {{{world}}} and {{{first appeared}}} 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=
|era=
|birthplace=
|'birthplace=
|residence=
|'residence=
|ethnicity=
|'ethnicity=
|nation=
|'nation=
|nationality=
|world= / earth=
|'world=
|hide-world=y
|universe=
|first appeared=
}}

Articles using Template