Difference between revisions of "Template:Character"
Jump to navigation
Jump to search
m (add species param) |
m (+ ref params for magic fields) |
||
Line 42: | Line 42: | ||
{{#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:{{{ |
+ | {{#if:{{{species|}}} |{{row/kv|Species |{{demonym tag|{{{species}}}|}} {{{species-ref|}}} }}|}} |
⚫ | |||
+ | |||
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}} |
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}} |
||
<!-- location --> |
<!-- location --> |
||
− | {{#if:{{{ |
+ | {{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{{birthplace-ref|}}} {{raw/birthplace}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} {{{birthplace-ref|}}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{{residence-ref|}}} {{raw/residence}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|}} {{{residence-ref|}}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} {{{ethnicity-ref|}}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{{nationality-ref|}}} {{raw/nation}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} {{{nationality-ref|}}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{nationality|}}} |{{row/kv|Nationality |{{demonym tag|{{{nationality}}}|}} {{{nationality-ref|}}} }}|}} |
− | {{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}} }} |
+ | {{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}} {{{earth-ref|{{{world-ref|}}}|}}} }} |
− | |{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} |
+ | |{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{{world-ref|}}} {{raw/world}} }} |
− | |{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} |
+ | |{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} {{{world-ref|}}} }} |
− | |{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} |
+ | |{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} {{{universe-ref|}}} }} |
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!-- |
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!-- |
||
END IFs-->}}|}}|}}|}} |
END IFs-->}}|}}|}}|}} |
||
Line 89: | Line 91: | ||
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 {{{books}}} parameters are required The other parameters are optional and can be described in groups: |
||
; Location |
; Location |
||
− | : {{{ethnicity}}} |
+ | : {{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character. |
− | : {{{birthplace}}} |
+ | : {{{birthplace}}} 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 |
; 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). |
: {{{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). |
||
Line 99: | Line 103: | ||
Many of the properties have an alternative -raw suffix version which has no automatic linking and categorization. |
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. |
+ | 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]] |
[[category: infoboxes]] |
Revision as of 14:34, 12 January 2017
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 -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}}}