Difference between revisions of "Template:Hierarchy"

Line 2: Line 2:


{{#if: {{{1}}}|{{#ifeq: {{{1}}}|End|
{{#if: {{{1}}}|{{#ifeq: {{{1}}}|End|
</div> &lt;!-- {{{3}}} subclasses -->
</div> <!-- {{{3}}} subclasses -->
</div> &lt;!-- {{{3}}} -->}}
</div> <!-- {{{3}}} -->}}
|{{#if: {{{3}}}
|{{#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> &lt;!-- {{{3}}} -->}}
{{#if: {{{1}}}||</div> }}
}}}}
}}}}

Revision as of 20:43, 28 November 2022

1={{{1}}} 2={{{2}}} 3={{{3}}}