Template:Tab: Difference between revisions

making this page
 
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{table}}}
<includeonly>{{#switch:{{{table}}}
  |#default = <td {{#ifeq:{{{link|{{{2|{{{1}}}}}}}}}|{{FULLPAGENAME}}|class="navtab-bg"|}} style="padding:0; width: calc(100%/1); display:flex;><div {{#ifeq:{{{link|{{{2|{{{1}}}}}}}}}|{{FULLPAGENAME}}|class="navtab" style="overflow:hidden; width:100%; height:100%;"}}>[[{{{link|{{{2|{{{1}}}}}}}}}|{{{1|link}}}]]</div></td>
  |#default = <td {{#ifeq:{{{link|{{{2|{{{1}}}}}}}}}|{{FULLPAGENAME}}|class="navtab-bg"|}} style="padding:0; width: calc(100%/1); display:flex;><div {{#ifeq:{{{link|{{{2|{{{1}}}}}}}}}|{{FULLPAGENAME}}|{{#if:{{IsDesktop}}||class="mobile-navtab-bg"}}|class="navtab" style="overflow:hidden; width:100%; height:100%;"}}>[[{{{link|{{{2|{{{1}}}}}}}}}|{{{1|link}}}]]</div></td>
  |true = <table style="width:100%; table-layout:fixed; min-height:40px; margin-bottom:10px;" cellspacing="1px"><tr style="display:flex; border-bottom: 2px solid var(--button-color); margin: 2px 0 0 0;">
  |true = <table {{#if:{{IsDesktop}}||class="mobile-navtab"}} style="width:100%; table-layout:fixed; min-height:40px; margin-bottom:10px;" cellspacing="1px"><tr style="display:flex; border-bottom: 2px solid var(--footer-color); margin: 2px 0 0 0;">
  |end = </tr></table>}}</includeonly>
  |end = </tr></table>}}</includeonly
 
<noinclude>
<noinclude>
{{tab|table=true}}
{{tab|table=true}}