Template:Tab: Difference between revisions
making this page |
test |
||
| (One intermediate revision by the same user not shown) | |||
| 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(-- | |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(--theme-navtab-border-bottom); margin: 2px 0 0 0;"> | ||
|end = </tr></table>}}</includeonly> | |end = </tr></table>}}</includeonly> | ||
<noinclude> | <noinclude>{{tab|table=true}} | ||
{{tab|table=true}} | |||
{{tab|Here|link=Template:Tab}} | {{tab|Here|link=Template:Tab}} | ||
{{tab|There|link=Caladrin}} | {{tab|There|link=Caladrin}} | ||
{{tab|table=end}} | {{tab|table=end}} | ||
</noinclude> | </noinclude> | ||