Template:Tab: Difference between revisions
(change default border size to 1px) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{preums|}}}||<td style="width: 1%; border-bottom: {{#if:{{{border|}}}|{{{border}}}|solid 1px #A3B1BF}}"> </td>}}<td style="text-align: {{#if:{{{Tab alignment|}}}|{{{Tab alignment}}}|center}}; {{#if:{{{rounding|}}}|-moz-border-radius: {{{rounding}}} {{{rounding}}} 0 0; border-radius: {{{rounding}}} {{{rounding}}} 0 0;}} padding:0.3em; border: {{#if:{{{border|}}}|{{{border}}}|solid 1px #A3B1BF}}; font-size: {{{font-size|110}}}%; {{#ifeq:{{FULLPAGENAME}}|{{{URL}}}|background-color: {{#if:{{{On tab color|}}}|{{{On tab color}}}|transparent}}; border-bottom: none; font-weight:bold; |background-color: {{#if:{{{Off tab color|}}}|{{{Off tab color}}}|#CEE0F2}}; }}" width="{{#expr:(100/{{Number of defined parameters|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}})-1}}%">{{#if:{{{Image|}}}|[[Image:{{{Image}}}|20px|{{{Tab}}}|link={{{URL}}}]] |}}[[{{{URL}}}|{{{Tab}}}]]</td></includeonly><noinclude> | <includeonly>{{#if:{{{preums|}}}||<td style="width: 1%; border-bottom: {{#if:{{{border|}}}|{{{border}}}|solid 1px #A3B1BF}}"> </td>}}<td style="text-align: {{#if:{{{Tab alignment|}}}|{{{Tab alignment}}}|center}}; {{#if:{{{rounding|}}}|-moz-border-radius: {{{rounding}}} {{{rounding}}} 0 0; border-radius: {{{rounding}}} {{{rounding}}} 0 0;}} padding:0.3em; border: {{#if:{{{border|}}}|{{{border}}}|solid 1px #A3B1BF}}; font-size: {{{font-size|110}}}%; {{#ifeq:{{FULLPAGENAME}}|{{{URL}}}|background-color: {{#if:{{{On tab color|}}}|{{{On tab color}}}|transparent}}; border-bottom: none; font-weight:bold; |background-color: {{#if:{{{Off tab color|}}}|{{{Off tab color}}}|#CEE0F2}}; }}" width="{{#expr:(100/{{Number of defined parameters|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}})-1}}%">{{#if:{{{Image|}}}|[[Image:{{{Image}}}|20px|{{{Tab}}}|link={{{URL}}}]] |}}[[{{{URL}}}|{{{Tab}}}]]</td></includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude> | ||
{{Documentation}}</noinclude> |
Revision as of 13:20, 31 March 2023
The above documentation is transcluded from Template:Tab/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |