Difference between revisions of "Template:Character"
Jump to navigation
Jump to search
m (+family) |
m (try dat) |
||
Line 7: | Line 7: | ||
{{row/kv|Homeland|{{#if:{{{homeland|}}}|[[{{{homeland}}}]]|''Unknown''}}|}} |
{{row/kv|Homeland|{{#if:{{{homeland|}}}|[[{{{homeland}}}]]|''Unknown''}}|}} |
||
<!-- family --> |
<!-- family --> |
||
− | {{#if:{{{family|}}}|{{ |
+ | {{#if:{{{hide-family|}}}{{{family|}}}{{{ancestors|}}}{{{parents|}}}{{{spouse|}}}{{{siblings|}}}{{{children|}}}{{{descendants|}}}|{{#!: |
+ | |- |
||
+ | | colspan=2 style="padding: 0; margin: 0;" | |
||
+ | {| width=100% class="collapsible {{{hide-family|collapsed}}}" |
||
+ | |- |
||
+ | ! colspan=2 |{{{family|Family}}} |
||
+ | |- |
||
{{#if:{{{ancestors|}}}|{{row/kv|Ancestors|{{{ancestors}}}|}}|}} |
{{#if:{{{ancestors|}}}|{{row/kv|Ancestors|{{{ancestors}}}|}}|}} |
||
{{#if:{{{parents|}}}|{{row/kv|Parents|{{{parents}}}|}}|}} |
{{#if:{{{parents|}}}|{{row/kv|Parents|{{{parents}}}|}}|}} |
||
Line 14: | Line 20: | ||
{{#if:{{{children|}}}|{{row/kv|Children|{{{children}}}|}}|}} |
{{#if:{{{children|}}}|{{row/kv|Children|{{{children}}}|}}|}} |
||
{{#if:{{{descendants|}}}|{{row/kv|Descendants|{{{descendants}}}|}}|}} |
{{#if:{{{descendants|}}}|{{row/kv|Descendants|{{{descendants}}}|}}|}} |
||
+ | |} |
||
+ | }}|}} |
||
<!-- 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. |
||
− | 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 {{{ |
+ | 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. |
{{cat|infoboxes}} |
{{cat|infoboxes}} |
Revision as of 18:39, 19 October 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.