Difference between revisions of "Template:Tree"

From ArchivesWiki
Line 1: Line 1:
 
<div style="width:98%; height:80vh; overflow:scroll; border:2px inset black; margin:auto">
 
<div style="width:98%; height:80vh; overflow:scroll; border:2px inset black; margin:auto">
{{#genealogy:tree|format=mermaid|
+
{{#genealogy:tree|
 
|ancestors={{{ancestors|{{PAGENAME}}}}} | ancestor depth = {{{depth|}}}
 
|ancestors={{{ancestors|{{PAGENAME}}}}} | ancestor depth = {{{depth|}}}
 
|descendants={{{descendants|{{PAGENAME}}}}} | descendant depth = {{{depth|}}}
 
|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 23:53, 21 January 2020

Documentation

Usage

{{tree |depth= |border=
|ancestors=
|descendants=
}}