Difference between revisions of "Template:Tree"

From ArchivesWiki
Line 1: Line 1:
 
<div style="overflow:scroll; width:98%; height:600px; border:2px solid #ccc">
 
<div style="overflow:scroll; width:98%; height:600px; border:2px solid #ccc">
{{#genealogy:tree
+
{{#genealogy:tree|format=mermaid|
|ancestors={{{ancestors|{{PAGENAME}}}}}
+
|ancestors={{{ancestors|{{PAGENAME}}}}} | ancestor depth = {{{depth|}}}
|descendants={{{descendants|{{PAGENAME}}}}}
+
|descendants={{{descendants|{{PAGENAME}}}}} | descendant depth = {{{depth|}}}
 
}}
 
}}
 
</div>{{#if: {{{descendents|}}} | <p class="error">It's spelt 'descendants', with an 'a'.</p> }}<noinclude>{{documentation}}</noinclude>
 
</div>{{#if: {{{descendents|}}} | <p class="error">It's spelt 'descendants', with an 'a'.</p> }}<noinclude>{{documentation}}</noinclude>

Revision as of 14:35, 6 November 2019

Documentation

Usage

{{tree
|ancestors=
|descendants=
}}