Difference between revisions of "Template:Character"
Jump to navigation
Jump to search
m (+artist descriptor) |
LadyLameness (talk | contribs) |
||
(41 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | {{infobox |
+ | {{infobox|id=Character |
⚫ | |||
|title={{#if:{{{unnamed|}}}|''Unknown''[[category: unnamed characters]]|{{{name|{{PAGENAME}}}}}|}}<!-- |
|title={{#if:{{{unnamed|}}}|''Unknown''[[category: unnamed characters]]|{{{name|{{PAGENAME}}}}}|}}<!-- |
||
-->|1= |
-->|1= |
||
− | {{#if:{{{image|}}} |{{row/image| {{{image}}} |
+ | {{#if:{{{image|}}} |{{row/image+artist| {{{image}}} }}|}} |
<!-- family --> |
<!-- family --> |
||
Line 17: | Line 16: | ||
|merge = {{{merge-family|}}} |
|merge = {{{merge-family|}}} |
||
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}} |
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
|spouse = {{{spouse|}}} |
|spouse = {{{spouse|}}} |
||
|children = {{{children|}}} |
|children = {{{children|}}} |
||
⚫ | |||
⚫ | |||
|relatives = {{{relatives|}}} |
|relatives = {{{relatives|}}} |
||
⚫ | |||
|descendants = {{{descendants|}}} |
|descendants = {{{descendants|}}} |
||
}}<!-- make family-only a row --> |
}}<!-- make family-only a row --> |
||
Line 34: | Line 33: | ||
<!--about --> |
<!--about --> |
||
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}} |
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}} |
||
⚫ | |||
{{#if:{{{titles|}}} |{{row/kv|Titles |{{{titles}}} }}|}} |
{{#if:{{{titles|}}} |{{row/kv|Titles |{{{titles}}} }}|}} |
||
{{#if:{{{aliases|}}} |{{row/kv|Aliases |{{{aliases}}} }}|}} |
{{#if:{{{aliases|}}} |{{row/kv|Aliases |{{{aliases}}} }}|}} |
||
Line 39: | Line 39: | ||
{{#if:{{{achievements|}}} |{{row/kv|Achievements|{{{achievements}}} }}|}} |
{{#if:{{{achievements|}}} |{{row/kv|Achievements|{{{achievements}}} }}|}} |
||
{{#if:{{{powers|}}} |{{row/kv|Powers |{{{powers}}} }}|}} |
{{#if:{{{powers|}}} |{{row/kv|Powers |{{{powers}}} }}|}} |
||
+ | {{#if:{{{#profession|}}} |{{row/kv|Profession |{{profession tag|{{{#profession}}}|}} }}|}} |
||
{{#if:{{{profession|}}} |{{row/kv|Profession |{{{profession}}} }}|}} |
{{#if:{{{profession|}}} |{{row/kv|Profession |{{{profession}}} }}|}} |
||
{{#if:{{{occupation|}}} |{{row/kv|Profession |{{{occupation}}} }}|}} |
{{#if:{{{occupation|}}} |{{row/kv|Profession |{{{occupation}}} }}|}} |
||
{{#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:{{{'species|}}} |{{row/kv|Species |{{{'species}}} {{{species-ref|}}} {{raw/species}} }}|}} |
||
+ | {{#if:{{{species-raw|}}} |{{row/kv|Species |{{{species-raw}}} {{{species-ref|}}} {{raw/species}} }}|}} |
||
+ | {{#if:{{{species|}}} |{{row/kv|Species |{{species tag|{{{species}}}|}} {{{species-ref|}}} }}|}} |
||
+ | |||
+ | {{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}} |
||
<!-- location --> |
<!-- location --> |
||
− | {{#if:{{{ |
+ | {{#if:{{{'birthplace|}}} |{{row/kv|Birthplace |{{{'birthplace}}} {{{birthplace-ref|}}} {{raw/birthplace}} }}|}} |
− | {{#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|}}} |{{row/kv|Residence |{{{'residence}}} {{{residence-ref|}}} {{raw/residence}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{{residence-ref|}}} {{raw/residence}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|residents of}} {{{residence-ref|}}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{'ethnicity|}}} |{{row/kv|Ethnicity |{{{'ethnicity}}} {{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}} |
+ | {{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} {{{ethnicity-ref|}}} }}|}} |
||
+ | {{#if:{{{'nation|}}} |{{row/kv|Nationality |{{{'nation}}} {{{nationality-ref|}}} {{raw/nation}} }}|}} |
||
+ | {{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{{nationality-ref|}}} {{raw/nation}} }}|}} |
||
+ | {{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} {{{nationality-ref|}}} }}|}} |
||
+ | {{#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 |
+ | |{{#if:{{{'world|}}} |{{row/kv|World |{{{'world}}} {{{world-ref|}}} {{raw/world}} }} |
− | |{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} |
+ | |{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} {{{world-ref|}}} }} |
− | |{{#if:{{{ |
+ | |{{#if:{{{hide-world|}}} |<!-- don't show a world row --> |
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!-- |
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!-- |
||
END IFs-->}}|}}|}}|}} |
END IFs-->}}|}}|}}|}} |
||
+ | {{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}} |
||
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}'' }} |
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}'' }} |
||
Line 69: | Line 81: | ||
-->{{#if:<!-- |
-->{{#if:<!-- |
||
− | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world |
+ | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!-- |
− | -->|| |
+ | -->||{{infobox/no-world}}<!-- |
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:<!-- |
-->{{#if:<!-- |
||
-->{{{ethnicity-raw |{{{ethnicity |}}}|}}}<!-- |
-->{{{ethnicity-raw |{{{ethnicity |}}}|}}}<!-- |
||
− | -->{{{nation-raw |
+ | -->{{{nation-raw|{{{nationality|{{{nation|}}}|}}}|}}}<!-- |
-->{{{birthplace-raw|{{{birthplace|}}}|}}}<!-- |
-->{{{birthplace-raw|{{{birthplace|}}}|}}}<!-- |
||
-->{{{residence-raw |{{{residence |}}}|}}}<!-- |
-->{{{residence-raw |{{{residence |}}}|}}}<!-- |
||
− | -->|| |
+ | -->||{{character/no-location}}<!-- |
-->}}<!-- |
-->}}<!-- |
||
− | --> |
+ | -->{{#if:<!-- |
+ | -->{{{species-raw|}}}{{{raw-species|}}}<!-- |
||
+ | -->{{{birthplace-raw|}}}{{{raw-birthplace|}}}<!-- |
||
+ | -->{{{residence-raw|}}}{{{raw-residence|}}}<!-- |
||
+ | -->{{{ethnicity-raw|}}}{{{raw-ethnicity|}}}<!-- |
||
+ | -->{{{nation-raw|}}}{{{raw-nation|}}}<!-- |
||
+ | -->{{{world-raw|}}}{{{raw-world|}}}<!-- |
||
+ | |||
+ | -->|[[category: depreciated raw parameters]]}}<!-- |
||
+ | |||
+ | -->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!-- |
||
+ | |||
+ | -->[[Category: Characters]]<!-- |
||
--></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 {{{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). |
||
; 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. |
||
− | : {{{titles}}}, {{{abilities}}}, {{{skills}}}, {{{achievements}}}}, {{{{profession}}}, {{{aliases}}}, {{{religion}}} and {{{ |
+ | : {{{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 <code>'</code>-prefixed version which has no automatic linking and categorization. |
||
− | The advanced properties {{{ethnicity |
+ | The advanced properties {{{'ethnicity}}}, {{{'nation}}}, stop the corresponding properties from automatically linking and categorizing. |
+ | |||
+ | In addition to the <code>'</code> prefixes, there are -ref suffixes for adding references to the magic fields. {{{ethnicity-ref}}}, {{{nationality-ref}}} |
||
+ | |||
+ | It automatically adds pages to [[:Category: Characters]]. |
||
+ | |||
+ | <pre class=mw-code> |
||
⚫ | |||
+ | |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= |
||
+ | |books= |
||
+ | }} |
||
+ | </pre> |
||
[[category: infoboxes]] |
[[category: infoboxes]] |
Revision as of 08:07, 20 November 2019
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 '
-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= |books= }}