ElEditors, Interface administrators, Administrators
70,975
edits
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="parent-tabs" style="text-align: center; font-weight: bold; margin-bottom: 0; border: none; display: flex; gap: 2px;">{{#forargs:tab | <div class="parent-tabs {{{divCls|}}}" style="text-align: center; font-weight: bold; margin-bottom: 0.5em; border: none; display: flex; gap: 2px; flex-wrap: wrap;">{{#forargs:tab | ||
| key | | key | ||
| value | | value | ||
Line 5: | Line 5: | ||
{{#ifexpr:{{Isnumeric|{{#var:key|}}}} | {{#ifexpr:{{Isnumeric|{{#var:key|}}}} | ||
| | | | ||
<div class="parent-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; | ||
max-width: {{{maxwidth|12}}}em; | max-width: {{{maxwidth|12}}}em; | ||
margin-left: {{{marginwidth|0}}}px; | margin-left: {{{marginwidth|0}}}px; | ||
Line 14: | Line 14: | ||
border-style: solid; | border-style: solid; | ||
border-radius: {{{borderradius|4}}}px {{{borderradius|4}}}px 0 0; | border-radius: {{{borderradius|4}}}px {{{borderradius|4}}}px 0 0; | ||
height: {{{height|3.8}}}em; | height: {{{height|3.8}}}em; | ||
font-size: 1em; | font-size: 1em; |