Template:Class Tree: Difference between revisions

From Elwiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 13: Line 13:
}}
}}
<div class="class-tree" style="display: inline-grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat({{#ifeq:{{#var:arg_count}}|5|1|{{#var:path_number}} }}, 1fr); gap: 0.2rem 23px">
<div class="class-tree" style="display: inline-grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat({{#ifeq:{{#var:arg_count}}|5|1|{{#var:path_number}} }}, 1fr); gap: 0.2rem 23px">
{{#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>
Line 21: Line 20:
<div>{{{1-3|{{#var:dunno}}}}}</div>
<div>{{{1-3|{{#var:dunno}}}}}</div>
}}
}}
}}{{#ifexpr: {{#var:path_number}}>1|{{#if: {{{2-1|}}}|<div class="has-arrow">{{{2-1|{{#var:dunno}}}}}</div><div class="has-arrow">{{{2-2|{{#var:dunno}}}}}</div><div>{{{2-3|{{#var:dunno}}}}}</div>
}}
}}
{{#ifexpr: {{#var:path_number}}>1
}}{{#ifexpr: {{#var:path_number}}>2|
|
{{#if: {{{2-1|}}}|
<div class="has-arrow">{{{2-1|{{#var:dunno}}}}}</div>
<div class="has-arrow">{{{2-2|{{#var:dunno}}}}}</div>
<div>{{{2-3|{{#var:dunno}}}}}</div>
}}
}}
{{#ifexpr: {{#var:path_number}}>2
|
{{#if: {{{3-1|}}}|
{{#if: {{{3-1|}}}|
<div class="has-arrow">{{{3-1|{{#var:dunno}}}}}</div>
<div class="has-arrow">{{{3-1|{{#var:dunno}}}}}</div>
Line 37: Line 28:
<div>{{{3-3|{{#var:dunno}}}}}</div>
<div>{{{3-3|{{#var:dunno}}}}}</div>
}}
}}
}}
}}{{#ifexpr: {{#var:path_number}}>3|
{{#ifexpr: {{#var:path_number}}>3
|
{{#if: {{{4-1|}}}|
{{#if: {{{4-1|}}}|
<div class="has-arrow">{{{4-1|{{#var:dunno}}}}}</div>
<div class="has-arrow">{{{4-1|{{#var:dunno}}}}}</div>

Latest revision as of 21:45, 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.