« Utilisateur:SilvainPeaceful/Modèle:Tab Voir l’historique

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>{{#if:{{{first|}}}||{{#ifeq:{{#expr:{{#if:{{{rounding|}}}|0|1}} or {{#if:{{{gap|}}}|1|0}}}}|1|<td class="tab" style="width: {{{gap|2%}}}; border-bottom: {{#if:{{{border|}}}|{{{border}}}|none}}">&nbsp;</td>}}}}<td class="tab" style="text-align: {{#if:{{{tab align|}}}|{{{tab align}}}|center}}; {{#if:{{{rounding|}}}|-moz-border-radius:  {{#if:{{{asym|}}}|{{#expr:{{{rounding}}}*{{{asym}}}}}|{{{rounding}}}}}px {{{rounding}}}px 0 0; -webkit-border-radius: {{#if:{{{asym|}}}|{{#expr:{{{rounding}}}*{{{asym}}}}}|{{{rounding}}}}}px  {{{rounding}}}px 0 0; border-radius: {{#if:{{{asym|}}}|{{#expr:{{{rounding}}}*{{{asym}}}}}|{{{rounding}}}}}px {{{rounding}}}px 0 0;}} padding:0.3em; border: {{#if:{{{border|}}}|{{{border}}}|none}}; font-size: {{{font size|100%}}}; {{#ifeq:{{#expr:{{#ifeq:{{{selected}}}|{{{Tab}}}|1|0}} or {{#ifeq:{{anchorencode:{{FULLPAGENAME}}}}|{{anchorencode:{{{URL}}}}}|1|0}}}}|1|background-color:#93C4D3; border-bottom: none; |background-color: {{#if:{{{tab background|}}}|{{{tab background}}}|#D3D3D3}}; }}" width="{{#expr:(100/{{{tab count|{{ParamCount|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}}}}})-2}}%">{{#if:{{{Image|}}}|[[File:{{{Image}}}|{{#if:{{{image size|}}}|{{{image size}}}|25px}}|{{{Tab}}}|link={{{URL}}}]]&nbsp;|}}{{#ifeq:{{#expr:{{#ifeq:{{{selected}}}|{{{Tab}}}|1|0}} or {{#ifeq:{{anchorencode:{{FULLPAGENAME}}}}|{{anchorencode:{{{URL}}}}}|1|0}}}}|1|<span style="color:#FFFFFF">'''{{{Tab}}}'''</span>|{{{URL}}}|{{{Tab}}}}}</td></includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{#if:{{{first|}}}||{{#ifeq:{{#expr:{{#if:{{{rounding|}}}|0|1}} or {{#if:{{{gap|}}}|1|0}}}}|1|<td class="tab" style="width: {{{gap|2%}}}; border-bottom: {{#if:{{{border|}}}|{{{border}}}|none}}">&nbsp;</td>}}}}<td class="tab" style="text-align: {{#if:{{{tab align|}}}|{{{tab align}}}|center}}; {{#if:{{{rounding|}}}|-moz-border-radius:  {{#if:{{{asym|}}}|{{#expr:{{{rounding}}}*{{{asym}}}}}|{{{rounding}}}}}px {{{rounding}}}px 0 0; -webkit-border-radius: {{#if:{{{asym|}}}|{{#expr:{{{rounding}}}*{{{asym}}}}}|{{{rounding}}}}}px  {{{rounding}}}px 0 0; border-radius: {{#if:{{{asym|}}}|{{#expr:{{{rounding}}}*{{{asym}}}}}|{{{rounding}}}}}px {{{rounding}}}px 0 0;}} padding:0.3em; border: {{#if:{{{border|}}}|{{{border}}}|none}}; font-size: {{{font size|100%}}}; {{#ifeq:{{#expr:{{#ifeq:{{{selected}}}|{{{Tab}}}|1|0}} or {{#ifeq:{{anchorencode:{{FULLPAGENAME}}}}|{{anchorencode:{{{URL}}}}}|1|0}}}}|1|background-color:#93C4D3; border-bottom: none; |background-color: {{#if:{{{tab background|}}}|{{{tab background}}}|#D3D3D3}}; }}" width="{{#expr:(100/{{{tab count|{{ParamCount|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}}}}})-2}}%">{{#if:{{{Image|}}}|[[File:{{{Image}}}|{{#if:{{{image size|}}}|{{{image size}}}|25px}}|{{{Tab}}}|link={{{URL}}}]]&nbsp;|}}{{#ifeq:{{#expr:{{#ifeq:{{{selected}}}|{{{Tab}}}|1|0}} or {{#ifeq:{{anchorencode:{{FULLPAGENAME}}}}|{{anchorencode:{{{URL}}}}}|1|0}}}}|1|<span style="color:#FFFFFF">'''{{{Tab}}}'''</span>|[{{{URL}}}|{{{Tab}}}}}]</td></includeonly><noinclude>{{Documentation}}</noinclude>

Version du 11 novembre 2020 à 14:11

Documentation[create]
Please add categories to the /doc subpage.
Subpages of this page.