Template:Genealogy: Difference between revisions
From The Green Hills Series
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
set family | set family | ||
-->{{#vardefine:parents|{{Genealogy/Set|parents={{{parents|}}}|partners={{{partners|}}} | -->{{#vardefine:parents|{{Genealogy/Set|parents={{{parents|}}}}}}}<!-- | ||
-->{{Genealogy/Set|partners={{{partners|}}}}}<!-- | |||
display family | display family | ||
--><div class="toccolours"style="width: fit-content; float:left; margin-right:1rem; margin-bottom:1rem;"><!-- | --><div class="toccolours"style="width: fit-content; float:left; margin-right:1rem; margin-bottom:1rem; display:inline-block"><!-- | ||
-->{{#if:{{{self|}}}|[[{{{self|}}}| | -->{{#if:{{{self|}}}|<div class="return-button">[[{{{self|}}}|Main Page]]<div class="return-icon">[[Image:Tree_dark.svg|25px|link={{{self|}}}]]</div></div>}}<!-- | ||
-->{{Genealogy/Get|parent|{{#var:parents}}}}<!-- | -->{{Genealogy/Get|parent|{{#var:parents}}}}<!-- | ||
-->{{Genealogy/Get|sibling|{{#genealogy:siblings|exclude_self=yes}}}}<!-- | -->{{Genealogy/Get|sibling|{{#genealogy:siblings|exclude_self=yes}}}}<!-- | ||
Line 11: | Line 12: | ||
--></div><!-- | --></div><!-- | ||
display tree | display tree | ||
-->{{Genealogy/Tree}}</includeonly> | -->{{Genealogy/Tree}} | ||
[[Category:Genealogy]]</includeonly> | |||
<noinclude> | <noinclude> | ||
== Test == | == Test == | ||
Line 18: | Line 20: | ||
|partners=Spouse1, Spouse2 | |partners=Spouse1, Spouse2 | ||
|married=Married Name | |married=Married Name | ||
|self=Test | |||
}} | }} | ||
<templatedata> | <templatedata> | ||
Line 47: | Line 50: | ||
"description": "Married Name", | "description": "Married Name", | ||
"type": "string", | "type": "string", | ||
"suggested": true | |||
}, | |||
"self": { | |||
"aliases": [ | |||
"self" | |||
], | |||
"label": "Self", | |||
"description": "Main NS Page Name", | |||
"type": "wiki-page-name", | |||
"suggested": true | "suggested": true | ||
} | } |
Latest revision as of 13:28, 20 March 2023
Test
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Parents | parents parents | Parents (Comma Delimited) | String | suggested |
Partners | partners partners | Partners (Comma Delimited) | String | suggested |
Married Name | married married | Married Name | String | suggested |
Self | self self | Main NS Page Name | Page name | suggested |