Difference between revisions of "Template:Character"

Jump to navigation Jump to search
no edit summary
m
(9 intermediate revisions by 3 users not shown)
{{#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:{{{form|}}} |{{row/kv| [[singer#Forms|Form]] | {{{form}}} }}|}}
 
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}}
 
<!-- location -->
{{#if:{{{'birthplace|}}} |{{row/kv|Birthplace |{{{'birthplace}}} {{{birthplace-ref|}}} {{raw/birthplace}} }}|}}
{{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{{birthplace-ref|}}} {{raw/birthplace}} }}|}}
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} {{{birthplace-ref|}}} }}|}}
{{#if:{{{'residence|}}} |{{row/kv|Residence |{{{'residence}}} {{{residence-ref|}}} {{raw/residence}} }}|}}
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{{residence-ref|}}} {{raw/residence}} }}|}}
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|Residentresidents of}} {{{residence-ref|}}} }}|}}
{{#if:{{{'ethnicity|}}} |{{row/kv|Ethnicity |{{{'ethnicity}}} {{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} {{{ethnicity-ref|}}} }}|}}
{{#if:{{{form'nation|}}} |{{row/kv| [[singer#Forms|Form]]Nationality |{{{'nation}}} {{{formnationality-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:{{{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:{{{hide-world|}}} |<!-- don't show a world row -->
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
END IFs-->}}|}}|}}|}}
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world-raw|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
-->||{{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]]}}<!--
--></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:
; Location
: {{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
: {{{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>-raw suffixprefixed 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<code>'</code> suffixesprefixes, 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>
{{character
|unnamed=y
|image=
|merge-family=y
|parents=
|spouse=
|religion=
|groups=
|species-raw=
|species=
|'species-raw=
|form=
|era=
|birthplace-raw=
|birthplace=
|'birthplace-raw=
|residence-raw=
|residence=
|'residence-raw=
|ethnicity-raw=
|ethnicity=
|'ethnicity-raw=
|nation-raw=
|nation=
|'nation-raw=
|nationality=
|world-raw=
|world= / earth=
|'world-raw=
|hide-world=y
|universe=
|books=
Editors, Keepers, Synod
3,207

edits

Navigation menu