ElEditors, Interface administrators, Administrators
70,980
edits
No edit summary |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{ | <includeonly>{{ | ||
{{#vardefine: path_number | 1}} | |||
{{# | {{#vardefine: dunno | [[File:Dunno.png|40px|link=]] }} | ||
{{ | {{#if: {{{2-1|}}}| {{#vardefine: path_number | 2 }} }} | ||
{{ | {{#if: {{{3-1|}}}| {{#vardefine: path_number | 3 }} }} | ||
{{ | {{#if: {{{4-1|}}}| {{#vardefine: path_number | 4 }} }} | ||
{{ | {{#vardefine: arg_count|0}}trim2}} | ||
{{ | {{#forargs: | ||
{{ | | key | ||
{{ | | value | ||
| <nowiki /> | |||
{{#vardefine: arg_count | {{#expr: {{#var:arg_count}}+1 }} }} | |||
}} | }} | ||
{{# | <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| | ||
{{ | <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|}}}| | ||
<div class="has-arrow">{{{1-1|{{#var:dunno}}}}}</div> | |||
{{ | <div class="has-arrow">{{{1-2|{{#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}}>2| | ||
{{ | {{#if: {{{3-1|}}}| | ||
{{ | <div class="has-arrow">{{{3-1|{{#var:dunno}}}}}</div> | ||
{ | <div class="has-arrow">{{{3-2|{{#var:dunno}}}}}</div> | ||
<div>{{{3-3|{{#var:dunno}}}}}</div> | |||
{ | |||
{{ | |||
}} | }} | ||
|} | }}{{#ifexpr: {{#var:path_number}}>3| | ||
< | {{#if: {{{4-1|}}}| | ||
<div class="has-arrow">{{{4-1|{{#var:dunno}}}}}</div> | |||
<div class="has-arrow">{{{4-2|{{#var:dunno}}}}}</div> | |||
<div>{{{4-3|{{#var:dunno}}}}}</div> | |||
}} | |||
}} | |||
</div></includeonly> | |||
<noinclude>{{Doc}}</noinclude> |