Difference between revisions of "Template:Character"

From The Coppermind
Jump to navigation Jump to search
m (*shrugs*)
m (added basic documentation.)
Line 1: Line 1:
  +
{{Template:Infobox
{{Infobox|title={{{name|{{PAGENAME}}}}}|
+
|title={{{name|{{PAGENAME}}}}}
{{#if:{{{image|}}}|{{row/image|{{{image}}}}}|}}<!--
+
|{{#if:{{{image|}}}|{{row/image|{{{image}}}}}|}}<!--
   
 
family
 
family
Line 40: Line 41:
 
featured in
 
featured in
 
-->{{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.
  +
  +
<pre>{{Template:character
  +
|name =
  +
|image =
  +
|family =
  +
|ancestors =
  +
|parents =
  +
|siblings =
  +
|spouse =
  +
|children =
  +
|descendants=
  +
|born =
  +
|died =
  +
|Homeland =
  +
|Race =
  +
|World =
  +
|titles =
  +
|achievements=
  +
|abilities =
  +
|skills =
  +
|powers =
  +
|books =
  +
}}</pre>
  +
 
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}}}. Parameters {{{titles}}}, {{{abilities}}}, {{{skills}}}, and {{{powers}}} are available to describe the character in more detail.
 
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}}}. Parameters {{{titles}}}, {{{abilities}}}, {{{skills}}}, and {{{powers}}} are available to describe the character in more detail.
   

Revision as of 18:50, 8 November 2012

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

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

{{Template:character
 |name       =
 |image      =
 |family     =
 |ancestors  =
 |parents    =
 |siblings   =
 |spouse     =
 |children   =
 |descendants=
 |born       =
 |died       =
 |Homeland   =
 |Race       =
 |World      =
 |titles     =
 |achievements=
 |abilities  =
 |skills     =
 |powers     =
 |books      =
}}

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}}}. Parameters {{{titles}}}, {{{abilities}}}, {{{skills}}}, and {{{powers}}} are available to describe the character in more detail.

Template:Cat