Difference between revisions of "Template:Character/family"

m
+usage
m
m (+usage)
 
(5 intermediate revisions by 3 users not shown)
<noinclude>{{infobox|title=Family subbox|id=character/family|1=</noinclude>{{#if:{{{notablemerge}}}
|{{#if:{{{family}}} |{{row/kv|Family |{{{family}}} }}|}}
|<!-- DON'T MERGE -->
|
{{!}}-
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
{{!}}-
! colspan=2 align=center {{!}} {{{family|Family}}}
{{!}}-}}
}}<!-- END MERGE -->
{{#if:{{{ancestors}}} |{{row/kv|Ancestors |{{{ancestors}}} }}|}}
{{#if:{{{parents}}} |{{row/kv|Parents |{{{parents}}} }}|}}
{{#if:{{{siblings}}} |{{row/kv|Siblings |{{{siblings}}} }}|}}
{{#if:{{{spouse}}} |{{row/kv|Spouse |{{{spouse}}} }}|}}
{{#if:{{{children}}} |{{row/kv|Children |{{{children}}} }}|}}
{{#if:{{{parents}}} |{{row/kv|Parents |{{{parents}}} }}|}}
{{#if:{{{siblings}}} |{{row/kv|Siblings |{{{siblings}}} }}|}}
{{#if:{{{relatives}}} |{{row/kv|Relatives |{{{relatives}}} }}|}}
{{#if:{{{ancestors}}} |{{row/kv|Ancestors |{{{ancestors}}} }}|}}
{{#if:{{{descendants}}} |{{row/kv|Descendants |{{{descendants}}} }}|}}
{{#if:{{{notablemerge}}}|<!-- -->|
{{!}}}
{{!}}-
}}
 
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]]
<templatedata>
{
"params": {
"merge": {
"description": "Whether to merge the rows into the containing template"
},
"family": {
"label": "Family Name",
"description": "The name of the family group, often a link to the group page",
"type": "content"
},
"ancestors": {
"label": "Ancestors",
"description": "Links to any ancestors the character has",
"type": "content"
},
"parents": {
"label": "Parents",
"description": "Links to any parents the character has",
"type": "content"
},
"siblings": {
"label": "Siblings",
"description": "links to any siblings the character has",
"type": "content"
},
"spouse": {
"label": "Spouse",
"description": "A link to the spouse of the character, or spouses",
"type": "content"
},
"children": {
"label": "Children",
"description": "links to any children the character has",
"type": "content"
},
"relatives": {
"label": "Other Relatives",
"description": "links to any other notable relatives the character has",
"type": "content"
},
"descendants": {
"label": "Descendants",
"description": "links to any of the characters further descendants",
"type": "content"
}
},
"format": "block"
}
</templatedata>
 
 
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
40,275

edits