Difference between revisions of "Template:Character"

Jump to navigation Jump to search
some changes
m
(some changes)
 
-->|1=
{{#if:{{{image|}}} |{{row/image |{{{image}}} }}|}}
 
<!-- family -->
{{#if:<!--
{{#if:{{{parents|}}}<!-- -->{{{spouse|}}}<!-- -->{{{siblings|}}}<!-- -->{{{children|}}}<!--
-->{{{ancestorsparents|}}}<!-- -->{{{relativesspouse|}}}<!-- -->{{{descendants|}}}<!-- -->|
{{#if:{{{parents|}}}<!-- -->{{{spouse|}}}<!-- -->{{{siblings|}}}<!-- -->{{{children|}}}<!--
{{character/family|notable={{{merge-family|}}}
-->{{{ancestors|}}}<!--
|family={{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}}
|ancestors= -->{{{ancestorsrelatives|}}}<!--
|parents= -->{{{parentsdescendants|}}}<!--
-->|
|siblings={{{siblings|}}}
{{character/family
|spouse={{{spouse|}}}
|childrenmerge = {{{childrenmerge-family|}}}
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}}
|relatives={{{relatives|}}}
|descendantsancestors = {{{descendantsancestors|}}}
|parents = {{{parents|}}}
|siblings = {{{siblings|}}}
|spouse = {{{spouse|}}}
|children = {{{children|}}}
|relatives = {{{relatives|}}}
|descendants = {{{descendants|}}}
}}<!-- make family-only a row -->
|{{#if:{{{family|}}} |{{row/kv|Family |{{{family}}} }}|}}
}}
 
<!-- life -->
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}}
{{#if:{{{died|}}} |{{row/kv|Died |{{{died}}}[[Category: Dead Characters]] }}|}}
 
<!--about -->
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}}
{{#if:{{{religion|}}} |{{row/kv|Religion |{{{religion}}} }}|}}
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
 
<!-- location -->
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{raw/ethnicity}} }}|}}
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} }}|}}
{{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{raw/nation}} }}|}}
{{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} }}|}}
{{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{raw/birthplace}} }}|}}
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} }}|}}
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{raw/residence}} }}|}}
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|Residents}} }}|}}
 
{{#if:{{{earth|}}} |{{row/kv|World |[[Earth ({{{earth}}})]] }}|
|{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{raw/world}} }}|
|{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} }}|
|{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} }}
<!-- elseELSE -->|{{row/kv|World |''Unknown''}} }}|}}|}}|}}<!--
END IFs-->}}|}}|}}|}}
<!-- featured in -->{{row/kv|Featured In|''{{{books}}}''|}}
 
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}''| }}
 
}}<includeonly><!--
 
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!--
-->[[Category: Characters]]<!--
 
-->{{#if:{{{era|}}}|[[Category: infobox.era]]}}<!--
-->{{#if:{{{universe|}}}|[[Category: infobox.universe]]}}<!--
-->{{#if:{{{place|}}}|[[Category: infobox.place]]}}<!--
-->{{#if:{{{hide-family|}}}|[[Category: infobox.hide]]}}<!--
 
-->{{#if:{{{earth|}}}|[[Category: {{{earth}}} characters]]}}<!--
-->||[[Category: Characters missing location]]<!--
-->}}<!--
 
-->{{#if:{{{eradied|}}}|[[Category: infobox.eraDead Characters]]}}<!--
 
-->[[Category: Characters]]<!--
 
--></includeonly><noinclude>
: 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 {{t|character/family}} template).
; Life
: For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{t|date}} template.
40,275

edits

Navigation menu