Difference between revisions of "Template:Character"

Jump to navigation Jump to search
no edit summary
m (tweak)
(28 intermediate revisions by 7 users not shown)
 
-->|1=
{{#if:{{{image|}}} |{{row/image+artist| {{{image}}} |artist={{{image-artist|}}} }}|}}
 
<!-- family -->
|merge = {{{merge-family|}}}
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}}
|ancestors = {{{ancestors|}}}
|parents = {{{parents|}}}
|siblings = {{{siblings|}}}
|spouse = {{{spouse|}}}
|children = {{{children|}}}
|parents = {{{parents|}}}
|siblings = {{{siblings|}}}
|relatives = {{{relatives|}}}
|ancestors = {{{ancestors|}}}
|descendants = {{{descendants|}}}
}}<!-- make family-only a row -->
<!--about -->
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}}
{{#if:{{{bonded|}}} |{{row/kv|Bonded With |{{{bonded}}} }}|}}
{{#if:{{{titles|}}} |{{row/kv|Titles |{{{titles}}} }}|}}
{{#if:{{{aliases|}}} |{{row/kv|Aliases |{{{aliases}}} }}|}}
{{#if:{{{achievements|}}} |{{row/kv|Achievements|{{{achievements}}} }}|}}
{{#if:{{{powers|}}} |{{row/kv|Powers |{{{powers}}} }}|}}
{{#if:{{{#profession|}}} |{{row/kv|Profession |{{profession tag|{{{#profession}}}|}} }}|}}
{{#if:{{{profession|}}} |{{row/kv|Profession |{{{profession}}} }}|}}
{{#if:{{{occupation|}}} |{{row/kv|Profession |{{{occupation}}} }}|}}
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
 
{{#if:{{{'species|}}} |{{row/kv|Species |{{species tag|{{{'species}}}|}} {{{species-ref|}}} {{raw/species}} }}|}}
{{#if:{{{formspecies-raw|}}} |{{row/kv|Species [[Listener#Forms|Form]] |{{{species-raw}}} {{{formspecies-ref|}}} {{raw/species}} }}|}}
{{#if:{{{species|}}} |{{row/kv|Species |{{species tag|{{{species}}}|}} {{{species-ref|}}} }}|}}
 
{{#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}}}|residents 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:{{{'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:{{{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:{{{universehide-world|}}} |{{row/kv|Universe |{{{universe}}} {{{universe<!--ref|}}} don't show a world row }}-->
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
END IFs-->}}|}}|}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}'' }}
 
 
-->{{#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]]}}<!--
 
-->[[Category: Characters]]<!--
--></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=
|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]]
Editors, Keepers, Synod
3,207

edits

Navigation menu