Difference between revisions of "Template:Character"
Jump to navigation
Jump to search
m |
(some changes) |
||
Line 3: | Line 3: | ||
-->|1= |
-->|1= |
||
− | {{#if:{{{image|}}}|{{row/image|{{{image}}}}}|}} |
+ | {{#if:{{{image|}}} |{{row/image |{{{image}}} }}|}} |
+ | |||
<!-- family --> |
<!-- family --> |
||
+ | {{#if:<!-- |
||
⚫ | |||
− | -->{{{ |
+ | -->{{{parents|}}}<!-- -->{{{spouse|}}}<!-- |
⚫ | |||
− | {{character/family|notable={{{merge-family|}}} |
||
+ | -->{{{ancestors|}}}<!-- |
||
⚫ | |||
− | + | -->{{{relatives|}}}<!-- |
|
− | + | -->{{{descendants|}}}<!-- |
|
+ | -->| |
||
⚫ | |||
+ | {{character/family |
||
⚫ | |||
− | | |
+ | |merge = {{{merge-family|}}} |
⚫ | |||
⚫ | |||
− | | |
+ | |ancestors = {{{ancestors|}}} |
+ | |parents = {{{parents|}}} |
||
⚫ | |||
⚫ | |||
+ | |children = {{{children|}}} |
||
⚫ | |||
+ | |descendants = {{{descendants|}}} |
||
}}<!-- make family-only a row --> |
}}<!-- make family-only a row --> |
||
− | |{{#if:{{{family|}}} |{{row/kv|Family|{{{family}}} }}|}} |
+ | |{{#if:{{{family|}}} |{{row/kv|Family |{{{family}}} }}|}} |
}} |
}} |
||
+ | |||
<!-- life --> |
<!-- life --> |
||
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}} |
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}} |
||
− | {{#if:{{{died|}}} |{{row/kv|Died |{{{died}}} |
+ | {{#if:{{{died|}}} |{{row/kv|Died |{{{died}}} }}|}} |
+ | |||
<!--about --> |
<!--about --> |
||
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}} |
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}} |
||
Line 33: | 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}}} }}|}} |
||
+ | |||
<!-- location --> |
<!-- location --> |
||
− | {{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} |
+ | {{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{raw/ethnicity}} }}|}} |
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} }}|}} |
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} }}|}} |
||
− | {{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} |
+ | {{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{raw/nation}} }}|}} |
{{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} }}|}} |
{{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} }}|}} |
||
− | {{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} |
+ | {{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{raw/birthplace}} }}|}} |
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} }}|}} |
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} }}|}} |
||
− | {{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} |
+ | {{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{raw/residence}} }}|}} |
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|Residents}} }}|}} |
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|Residents}} }}|}} |
||
− | {{#if:{{{earth|}}} |{{row/kv|World |[[Earth ({{{earth}}})]] }} |
+ | {{#if:{{{earth|}}} |{{row/kv|World |[[Earth ({{{earth}}})]] }} |
− | {{#if:{{{world-raw|}}} |
+ | |{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{raw/world}} }} |
− | {{#if:{{{world|}}} |
+ | |{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} }} |
− | {{#if:{{{universe|}}} |
+ | |{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} }} |
− | <!-- |
+ | <!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!-- |
+ | END IFs-->}}|}}|}}|}} |
||
⚫ | |||
+ | |||
⚫ | |||
+ | |||
}}<includeonly><!-- |
}}<includeonly><!-- |
||
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!-- |
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!-- |
||
⚫ | |||
− | |||
⚫ | |||
− | -->{{#if:{{{universe|}}}|[[Category: infobox.universe]]}}<!-- |
||
− | -->{{#if:{{{place|}}}|[[Category: infobox.place]]}}<!-- |
||
− | -->{{#if:{{{hide-family|}}}|[[Category: infobox.hide]]}}<!-- |
||
-->{{#if:{{{earth|}}}|[[Category: {{{earth}}} characters]]}}<!-- |
-->{{#if:{{{earth|}}}|[[Category: {{{earth}}} characters]]}}<!-- |
||
Line 72: | Line 79: | ||
-->||[[Category: Characters missing location]]<!-- |
-->||[[Category: Characters missing location]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
Line 81: | Line 92: | ||
: The {{{place}}} parameter allows you to extend the template with extra rows for more specific parameters like birthplace or residency. |
: The {{{place}}} parameter allows you to extend the template with extra rows for more specific parameters like birthplace or residency. |
||
; 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. |
+ | : {{{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 |
; Life |
||
: For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{t|date}} template. |
: For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{t|date}} template. |
Revision as of 18:43, 25 December 2014
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}}} 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
{{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}}} and {{{powers}}} are available to describe the character in more detail.
The advanced properties {{{ethnicity-raw}}}, {{{nation-raw}}}, stop the corresponding properties from automatically linking and categorizing.