Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.
Template:Class Tree: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
{{#vardefine: arg_count | {{#expr: {{#var:arg_count}}+1 }} }} | {{#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"> | <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 |