Main Page
Difference between revisions of "Template:CustomTabs"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly><table cellspacing="0" style="text-align: center; margin: 0px; margin-top: {{{margintop|0px}}}; margin-bottom: {{{marginbottom|1em}}};><tr><!-- | <includeonly><table cellspacing="0" style="text-align: center; margin: 0px; margin-top: {{{margintop|0px}}}; margin-bottom: {{{marginbottom|1em}}};><tr><!-- | ||
− | -->{{#if:{{{tab1|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab1|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}{{!}}{{{tab1}}}|{{{tab1}}}{{!}}{{{tab1name|{{{tab1}}}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab2|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab2|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab2}}}|{{{tab2name|{{{tab2}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab3|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab3|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab3}}}|{{{tab3name|{{{tab3}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab4|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab4|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab4}}}|{{{tab4name|{{{tab4}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab5|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab5|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab5}}}|{{{tab5name|{{{tab5}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab6|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab6|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab6}}}|{{{tab6name|{{{tab6}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab7|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab7|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab7}}}|{{{tab7name|{{{tab7}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab8|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab8|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab8}}}|{{{tab8name|{{{tab8}}}}}}]]</div></td>}}<!-- |
− | -->{{#if:{{{tab9|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ | + | -->{{#if:{{{tab9|}}}|<td style="padding: 0px"><div class="navtabs" style="display: flex; padding: 0px 10px; background: {{{backcolor|#a6e9e0}}}; border-radius: {{{borderradius|10px}}} {{{borderradius|10px}}} 0px 0px; border: 1.5px solid {{{bordercolor|#00bfa5}}}; min-width: {{{minwidth|5em}}}; max-width: {{{maxwidth|20em}}}; ">[[{{{namespace|{{NAMESPACE}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{BASEPAGENAME}}}}}/|}}{{{tab9}}}|{{{tab9name|{{{tab9}}}}}}]]</div></td>}}<!-- |
--></tr></table></includeonly><noinclude>{{Documentation}}[[Category:Design Templates]]</noinclude> | --></tr></table></includeonly><noinclude>{{Documentation}}[[Category:Design Templates]]</noinclude> |
Revision as of 18:47, 18 May 2021
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |