Template:Class Tree: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 5: Line 5:
{{#if: {{{3-1|}}}| {{#vardefine: path_number | 3 }} }}
{{#if: {{{3-1|}}}| {{#vardefine: path_number | 3 }} }}
{{#if: {{{4-1|}}}| {{#vardefine: path_number | 4 }} }}
{{#if: {{{4-1|}}}| {{#vardefine: path_number | 4 }} }}
{{#vardefine: arg_count|0}}
{{#vardefine: arg_count|0}}trim2}}
{{#forargs:
{{#forargs:
  | key
  | key
Line 15: Line 15:
{{#ifexpr: {{#var:path_number}}>0
{{#ifexpr: {{#var:path_number}}>0
|
|
<div style="{{#ifeq:{{#var:arg_count}}|5|grid-row: span {{#var:path_number}}; align-self:center;}}" class="has-arrow">{{{4-0|{{{3-0|{{{2-0|{{{1-0|}}}}}}}}}}}}</div>
<div style="{{#ifeq:{{#var:arg_count}}|5|grid-row: span {{#var:path_number}}; align-self:center;}}" class="has-arrow">{{{4-0|{{{3-0|{{{2-0|{{{1-0|}}}}}}}}}}}}</div>{{#if: {{{1-1|}}}|
{{#if: {{{1-1|}}}|
<div class="has-arrow">{{{1-1|{{#var:dunno}}}}}</div>
<div class="has-arrow">{{{1-1|{{#var:dunno}}}}}</div>
<div class="has-arrow">{{{1-2|{{#var:dunno}}}}}</div>
<div class="has-arrow">{{{1-2|{{#var:dunno}}}}}</div>
Line 45: Line 44:
<div>{{{4-3|{{#var:dunno}}}}}</div>
<div>{{{4-3|{{#var:dunno}}}}}</div>
}}
}}
}}trim2}}
}}
</div></includeonly>
</div></includeonly>
<noinclude>{{Doc}}</noinclude>
<noinclude>{{Doc}}</noinclude>

Revision as of 21:21, 21 May 2022

Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.