Template:Tab: Difference between revisions
(add extra test for FULLPAGENAMEE) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{preums|}}}||<td style="width: 2%; border-bottom: {{#if:{{{border|}}}|{{{border}}}|solid 2px #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 2px #A3B1BF}}; font-size: {{{font-size|110}}}%; {{#ifeq:{{FULLPAGENAME | <includeonly>{{#if:{{{preums|}}}||<td style="width: 2%; border-bottom: {{#if:{{{border|}}}|{{{border}}}|solid 2px #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 2px #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}}}}})-2}}%">{{#if:{{{Image|}}}|[[Image:{{{Image}}}|20px|{{{Tab}}}|link={{{URL}}}]] |}}[[{{{URL}}}|{{{Tab}}}]]</td></includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Revision as of 07:25, 12 May 2011
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. |