Difference between revisions of "Template:Character/family"

From The Coppermind
Jump to navigation Jump to search
m
(change to {{{merge}}})
Line 1: Line 1:
<noinclude>{{infobox|title=Family subbox|1=</noinclude>{{#if:{{{notable}}}
+
<noinclude>{{infobox|title=Family subbox|1=</noinclude>{{#if:{{{merge}}}
 
|{{#if:{{{family}}} |{{row/kv|Family |{{{family}}} }}|}}
 
|{{#if:{{{family}}} |{{row/kv|Family |{{{family}}} }}|}}
  +
|<!-- DON'T MERGE -->
|
 
 
{{!}}-
 
{{!}}-
 
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
 
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
Line 7: Line 7:
 
{{!}}-
 
{{!}}-
 
! colspan=2 align=center {{!}} {{{family|Family}}}
 
! colspan=2 align=center {{!}} {{{family|Family}}}
{{!}}-}}
+
{{!}}-
  +
}}<!-- END MERGE -->
 
{{#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 15: Line 16:
 
{{#if:{{{relatives}}} |{{row/kv|Relatives |{{{relatives}}} }}|}}
 
{{#if:{{{relatives}}} |{{row/kv|Relatives |{{{relatives}}} }}|}}
 
{{#if:{{{descendants}}} |{{row/kv|Descendants |{{{descendants}}} }}|}}
 
{{#if:{{{descendants}}} |{{row/kv|Descendants |{{{descendants}}} }}|}}
{{#if:{{{notable}}}|<!-- -->|
+
{{#if:{{{merge}}}|<!-- -->|
 
{{!}}}
 
{{!}}}
 
{{!}}-
 
{{!}}-
Line 21: Line 22:
 
}}
 
}}
   
The family parameters for {{t|character}}
+
The family parameters for {{t|character}}.
  +
  +
Produces a table unless {{{merge}}} is passed, which causes the rows to be merged into the parent infobox.
   
 
[[Category: Infoboxes]]
 
[[Category: Infoboxes]]

Revision as of 18:32, 25 December 2014

Family subbox
Family {{{family}}}
Ancestors {{{ancestors}}}
Parents {{{parents}}}
Siblings {{{siblings}}}
Spouse {{{spouse}}}
Children {{{children}}}
Relatives {{{relatives}}}
Descendants {{{descendants}}}

The family parameters for {{character}}.

Produces a table unless {{{merge}}} is passed, which causes the rows to be merged into the parent infobox.