Difference between revisions of "Template:Character"
Jump to navigation
Jump to search
m |
m (everything might break again) |
||
Line 2: | Line 2: | ||
|title={{#if:{{{unnamed|}}}|''Unknown''[[Category: Unnamed characters]]|{{{name|{{PAGENAME}}}}}|}}<!-- |
|title={{#if:{{{unnamed|}}}|''Unknown''[[Category: Unnamed characters]]|{{{name|{{PAGENAME}}}}}|}}<!-- |
||
+ | -->|1= |
||
− | + | {{#if:{{{image|}}}|{{row/image|{{{image}}}}}|}} |
|
− | |||
− | family |
+ | <!-- family --> |
⚫ | |||
⚫ | |||
− | -->{{{ |
+ | -->{{{ancestors|}}}<!-- -->{{{relatives|}}}<!-- -->{{{descendants|}}}<!-- -->| |
⚫ | |||
⚫ | |||
⚫ | |||
|family={{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}} |
|family={{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}} |
||
|ancestors={{{ancestors|}}} |
|ancestors={{{ancestors|}}} |
||
Line 17: | Line 16: | ||
|relatives={{{relatives|}}} |
|relatives={{{relatives|}}} |
||
|descendants={{{descendants|}}} |
|descendants={{{descendants|}}} |
||
⚫ | |||
− | }}<!-- |
||
+ | |{{#if:{{{family|}}} |{{row/kv|Family|{{{family}}} }}|}} |
||
+ | }} |
||
+ | <!-- life --> |
||
⚫ | |||
⚫ | |||
+ | <!--about --> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | {{#if:{{{occupation|}}} |{{row/kv|Profession |{{{occupation}}} }}|}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | {{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} }}|}} |
||
⚫ | |||
+ | {{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} }}|}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | {{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} }}|}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | {{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} }}| |
||
− | -->|{{#if:{{{family|}}}<!-- |
||
− | + | {{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} }}| |
|
⚫ | |||
⚫ | |||
+ | <!-- else -->|{{row/kv|World |''Unknown''}} }}|}}|}}|}} |
||
− | |||
⚫ | |||
− | -->}}<!-- |
||
⚫ | |||
− | |||
− | life |
||
⚫ | |||
⚫ | |||
− | |||
− | about |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | |||
⚫ | |||
− | -->{{#if:{{{ethnicity-raw|{{{ethnicity|}}}|}}}<!-- |
||
⚫ | |||
− | -->}}<!-- |
||
− | -->{{#if:{{{nation-raw|{{{nation|}}}|}}}<!-- |
||
⚫ | |||
− | -->}}<!-- |
||
⚫ | |||
⚫ | |||
− | -->}}<!-- |
||
− | -->{{#if:{{{residence-raw|{{{residence|}}}|}}}<!-- |
||
⚫ | |||
− | -->}}<!-- |
||
− | |||
⚫ | |||
⚫ | |||
− | ELSE IF -->{{#if:{{{universe|}}}<!-- -->||<!-- |
||
⚫ | |||
− | ENDIF -->}}<!-- -->}}<!-- -->}}<!-- |
||
− | |||
⚫ | |||
− | |||
− | featured in |
||
⚫ | |||
− | |||
⚫ | |||
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!-- |
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!-- |
||
Line 75: | Line 58: | ||
-->{{#if:{{{place|}}}|[[Category: infobox.place]]}}<!-- |
-->{{#if:{{{place|}}}|[[Category: infobox.place]]}}<!-- |
||
-->{{#if:{{{hide-family|}}}|[[Category: infobox.hide]]}}<!-- |
-->{{#if:{{{hide-family|}}}|[[Category: infobox.hide]]}}<!-- |
||
+ | |||
+ | -->{{#if:{{{earth|}}}|[[Category: {{{earth}}} characters]]}}<!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
-->{{#if:<!-- |
-->{{#if:<!-- |
||
− | -->{{{ethnicity-raw|{{{ethnicity|}}}|}}}<!-- |
+ | -->{{{ethnicity-raw |{{{ethnicity |}}}|}}}<!-- |
− | -->{{{nation-raw|{{{nation|}}}|}}}<!-- |
+ | -->{{{nation-raw |{{{nation |}}}|}}}<!-- |
-->{{{birthplace-raw|{{{birthplace|}}}|}}}<!-- |
-->{{{birthplace-raw|{{{birthplace|}}}|}}}<!-- |
||
− | -->{{{residence-raw|{{{residence|}}}|}}}<!-- |
+ | -->{{{residence-raw |{{{residence |}}}|}}}<!-- |
-->||[[Category: Characters missing location]]<!-- |
-->||[[Category: Characters missing location]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
Revision as of 21:15, 4 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.
- 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.