Difference between revisions of "Template:Hierarchy"
Line 2: | Line 2: | ||
{{#if: {{{1}}} | {{#if: {{{1}}} | ||
|{{#ifeq: {{{1}}}|End|</div></div> | |{{#ifeq: {{{1}}}|End|</div></div>}} | ||
{{#ifeq: {{{1}}}|End|| | |||
{{#if: {{{3}}} | |||
|<div id="{{{3}}}" style='float:left;clear:both;border:1px solid black;padding:.25em; background-color:{{#ifeq:{{{2}}}|0|DarkGrey|{{#ifeq:{{{2}}}|1|Aqua|{{#ifeq:{{{2}}}|2|Beige|{{#ifeq:{{{2}}}|3|White|{{#ifeq:{{{2}}}|4|Lightgreen|{{#ifeq:{{{2}}}|5|Lightblue}}}}}}}}}}}}'> | |<div id="{{{3}}}" style='float:left;clear:both;border:1px solid black;padding:.25em; background-color:{{#ifeq:{{{2}}}|0|DarkGrey|{{#ifeq:{{{2}}}|1|Aqua|{{#ifeq:{{{2}}}|2|Beige|{{#ifeq:{{{2}}}|3|White|{{#ifeq:{{{2}}}|4|Lightgreen|{{#ifeq:{{{2}}}|5|Lightblue}}}}}}}}}}}}'> | ||
<div style='float:left;margin:.5em;'>[[:Category:{{{3}}}|{{{3}}}]]</div> | <div style='float:left;margin:.5em;'>[[:Category:{{{3}}}|{{{3}}}]]</div> | ||
{{#if: {{{1}}}||</div> }} | {{#if: {{{1}}}||</div> }} | ||
}}}} | {{#ifeq: {{{1}}}|Start|<div style='float:left;clear:left;'>}} | ||
}}}}}} |
Revision as of 21:10, 28 November 2022
1={{{1}}} 2={{{2}}} 3={{{3}}}
[[:Category:{{{3}}}|{{{3}}}]]