Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m (siblings before spouse)
m (+born/died)
Line 6: Line 6:
 
{{row/kv|World|{{#if:{{{world|}}}|[[{{{world}}}]]|''Unknown''|}}|}}
 
{{row/kv|World|{{#if:{{{world|}}}|[[{{{world}}}]]|''Unknown''|}}|}}
 
{{row/kv|Homeland|{{#if:{{{homeland|}}}|[[{{{homeland}}}]]|''Unknown''}}|}}
 
{{row/kv|Homeland|{{#if:{{{homeland|}}}|[[{{{homeland}}}]]|''Unknown''}}|}}
  +
<!-- life -->
  +
{{#if:{{{born|}}}|{{row/kv|Born|{{{born}}}|}}|}}
  +
{{#if:{{{died|}}}|{{row/kv|Died|{{{died}}}|}}|}}
 
<!-- family -->
 
<!-- family -->
 
{{#if:{{{hide-family|}}}{{{family|}}}{{{ancestors|}}}{{{parents|}}}{{{spouse|}}}{{{siblings|}}}{{{children|}}}{{{descendants|}}}|{{#!:
 
{{#if:{{{hide-family|}}}{{{family|}}}{{{ancestors|}}}{{{parents|}}}{{{spouse|}}}{{{siblings|}}}{{{children|}}}{{{descendants|}}}|{{#!:
Line 25: Line 28:
 
{{row/kv|Featured In|''{{{books}}}''|}}
 
{{row/kv|Featured In|''{{{books}}}''|}}
 
}}<includeonly>[[Category:Characters]][[Category:{{race|{{{race|{{{homeland|Characters with Unidentified Ethnicities}}}|}}}|}}]]</includeonly><noinclude>This template allows you to describe the many attributes of a character.
 
}}<includeonly>[[Category:Characters]][[Category:{{race|{{{race|{{{homeland|Characters with Unidentified Ethnicities}}}|}}}|}}]]</includeonly><noinclude>This template allows you to describe the many attributes of a character.
The parameters {{{race}}}, {{{world}}} and {{{homeland}}} will link to the page passed. {{{books}}} will need to be formatted manually. The optional family section includes {{{parents}}}, {{{siblings}}}, {{{spouse}}}, {{{children}}} and the more generic {{{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.
+
The parameters {{{race}}}, {{{world}}} and {{{homeland}}} will link to the page passed. {{{books}}} will need to be formatted manually. The optional family section includes {{{parents}}}, {{{siblings}}}, {{{spouse}}}, {{{children}}} and the more generic {{{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. Two more parameters allow you to state when the character was {{{born}}}, and when they {{{died}}}.
   
 
{{cat|infoboxes}}
 
{{cat|infoboxes}}

Revision as of 09:54, 4 November 2012

Character
Race Unidentified
Abilities None
World Unknown
Homeland Unknown
Featured In {{{books}}}

This template allows you to describe the many attributes of a character.

The parameters {{{race}}}, {{{world}}} and {{{homeland}}} will link to the page passed. {{{books}}} will need to be formatted manually. The optional family section includes {{{parents}}}, {{{siblings}}}, {{{spouse}}}, {{{children}}} and the more generic {{{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. Two more parameters allow you to state when the character was {{{born}}}, and when they {{{died}}}.

Template:Cat