Difference between revisions of "Template:Character"

Jump to navigation Jump to search
m
+ ref params for magic fields
m (add species param)
m (+ ref params for magic fields)
{{#if:{{{religion|}}} |{{row/kv|Religion |{{{religion}}} }}|}}
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
 
{{#if:{{{species|}}} |{{row/kv|Species |{{demonym tag|{{{species}}}|}} }}|}}
{{#if:{{{formspecies|}}} |{{row/kv|[[Listener#Forms|Form]]Species |{{demonym tag|{{{formspecies}}}|}} {{{species-ref|}}} }}|}}
{{#if:{{{speciesform|}}} |{{row/kv|Species [[Listener#Forms|{{demonymForm]] tag| {{{speciesform}}}|}} }}|}}
 
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}}
 
<!-- location -->
{{#if:{{{ethnicitybirthplace-raw|}}} |{{row/kv|Ethnicity Birthplace |{{{ethnicitybirthplace-raw}}} {{{birthplace-ref|}}} {{raw/ethnicitybirthplace}} }}|}}
{{#if:{{{ethnicitybirthplace|}}} |{{row/kv|Ethnicity Birthplace |{{demonymtoponym tag|{{{ethnicitybirthplace}}}|}} {{{birthplace-ref|}}} }}|}}
{{#if:{{{nationresidence-raw|}}} |{{row/kv|NationalityResidence |{{{nationresidence-raw}}} {{{residence-ref|}}} {{raw/nationresidence}} }}|}}
{{#if:{{{nationresidence|}}} |{{row/kv|NationalityResidence |{{demonymtoponym tag|{{{nationresidence}}}|}} {{{residence-ref|}}} }}|}}
{{#if:{{{nationalityethnicity-raw|}}} |{{row/kv|NationalityEthnicity |{{demonym tag|{{{nationalityethnicity-raw}}} {{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
{{#if:{{{birthplace-rawethnicity|}}} |{{row/kv|BirthplaceEthnicity |{{demonym tag|{birthplace-raw{{ethnicity}}}|}} {{raw/birthplace{ethnicity-ref|}}} }}|}}
{{#if:{{{birthplacenation-raw|}}} |{{row/kv|Birthplace Nationality |{{toponym tag|{{{birthplacenation-raw}}} {{{nationality-ref|}}} {{raw/nation}} }}|}}
{{#if:{{{residence-rawnation|}}} |{{row/kv|Residence Nationality |{{demonym tag|{{{residence-rawnation}}} |}} {{raw/residence{nationality-ref|}}} }}|}}
{{#if:{{{residencenationality|}}} |{{row/kv|Residence Nationality |{{toponymdemonym tag|{{{residencenationality}}}|}} {{{nationality-ref|}}} }}|}}
 
{{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}} {{{earth-ref|{{{world-ref|}}}|}}} }}
|{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{{world-ref|}}} {{raw/world}} }}
|{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} {{{world-ref|}}} }}
|{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} {{{universe-ref|}}} }}
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
END IFs-->}}|}}|}}|}}
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}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
: {{{birthplace}}} and/or {{{residence}}} link to places.
: for characters not set on earth {{{world}}} should be used
: The {{{place}}} parameter allows you to extend the template with extra rows for more specific parameters like birthplace or residency.
: 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 {{t|character/family}} template).
 
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.
 
In addition to the -raw suffixes, there are -ref suffixes for adding references to the magic fields. {{{ethnicity-ref}}}, {{{nationality-ref}}}
 
[[category: infoboxes]]
40,275

edits

Navigation menu