Template:Parent tab: Difference between revisions
From Elwiki
No edit summary |
No edit summary Tag: Reverted |
||
Line 3: | Line 3: | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#ifexpr:{{Isnumeric|{{#var:key|}}}} | {{#if:{{#var:value|}} | {{#ifexpr:{{Isnumeric|{{#var:key|}}}} | ||
| | | | ||
<div class="parent-tab {{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}{{#if:{{#var:value|}}|/{{#var:value|}}}}||parent-alt-tab}}" style="min-width: {{{minwidth|5}}}em; | <div class="parent-tab {{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}{{#if:{{#var:value|}}|/{{#var:value|}}}}||parent-alt-tab}}" style="min-width: {{{minwidth|5}}}em; | ||
Line 23: | Line 23: | ||
}}"> | }}"> | ||
<font color="{{{fontcolor{{#var:key|}}|{{{fontcolor|black}}}}}}">[[{{{dir|}}}{{#if:{{#var:value|}}|/{{#var:value|}}}}|{{{tab{{#var:key|}}Name|{{#var:value|}}}}}]]</font></div> | <font color="{{{fontcolor{{#var:key|}}|{{{fontcolor|black}}}}}}">[[{{{dir|}}}{{#if:{{#var:value|}}|/{{#var:value|}}}}|{{{tab{{#var:key|}}Name|{{#var:value|}}}}}]]</font></div> | ||
|}} | |||
|}} | |}} | ||
}}<div style="clear:both"></div> | }}<div style="clear:both"></div> | ||
</div> | </div> |