Difference between revisions of "Template:Tab"
From EncyclopAtys
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{preums|}}}||<td class="Tab" style="width: 2%; border-bottom: {{#if:{{{bord|}}}|{{{bord}}}|solid 2px # | + | <includeonly>{{#if:{{{preums|}}}||<td class="Tab" style="width: .2%; border-bottom: {{#if:{{{bord|}}}|{{{bord}}}|solid 2px #{{ColorAtys|type=fg|group=Amber}} }}"> </td>}}<td class="Tab {{#switch:{{{blend}}}|yes=blend|#default=}}" style="text-overflow: ellipsis;text-align: {{#if:{{{align_tab|}}}|{{{align_tab}}}|center}}; {{#if:{{{round|}}}|-moz-border-radius: {{{round}}} {{{round}}} 0 0; -webkit-border-radius: {{{round}}} {{{round}}} 0 0; border-radius: {{{round}}} {{{round}}} 0 0;}} padding:0.03em; border: {{#if:{{{bord|}}}|{{{bord}}}|solid 2px #{{ColorAtys|type=fg|group=Amber}} }}; font-size: 110%; {{#ifeq:{{FULLPAGENAME}}|{{{URL}}}|background-color: {{#if:{{{bg_frame|}}}|{{{bg_frame}}}|transparent}}; border-bottom: none; font-weight:bold; |background-color: {{#if:{{{bg_Tabs|}}}|{{{bg_Tabs}}}|#{{ColorAtys|type=bg|group=Amber}} }}; }}" width="{{#expr:(100/{{Nb_parm_def|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}})-2}}%">{{#if:{{{Pic|}}}|[[File:{{{Pic}}}|20px|{{{Tab}}}|link={{{URL}}}]] |}}{{#ifeq:{{{URLType|}}}|http|<span class="plainlinks noarchive">[{{{URL}}} {{{Tab}}}]</span>|[[{{{URL}}}|{{{Tab}}}]]}}</td></includeonly> |
<noinclude><!-- _______________________ Docs_______________________ -->{{Tabs | <noinclude><!-- _______________________ Docs_______________________ -->{{Tabs | ||
|bord=2px solid #{{ColorAtys|type=dark|group=tryker}} | |bord=2px solid #{{ColorAtys|type=dark|group=tryker}} | ||
Line 16: | Line 16: | ||
|Pic-2=UnderConstruction.png | |Pic-2=UnderConstruction.png | ||
}}{{Trad | }}{{Trad | ||
− | |DE=Vorlage: | + | |DE=Vorlage:Tab |
− | |EN=Template: | + | |EN=Template:Tab |
− | |ES=Plantilla: | + | |ES=Plantilla:Tab |
− | |FR=Modèle: | + | |FR=Modèle:Tab |
− | |RU=Шаблон: | + | |RU=Шаблон:Tab |
}} | }} | ||
<br /> | <br /> | ||
Line 41: | Line 41: | ||
| round || Tab upper corners radius | | round || Tab upper corners radius | ||
|- | |- | ||
− | | bg_Tabs || Tab background|| rowspan=" | + | | bg_Tabs || Tab background|| rowspan="5" | Tab specific |
|- | |- | ||
| Pic || Tab icon | | Pic || Tab icon | ||
Line 53: | Line 53: | ||
| Example || Example || Example --> | | Example || Example || Example --> | ||
|} | |} | ||
+ | |||
== Tabs code of this page == | == Tabs code of this page == | ||
<syntaxhighlight lang="xml"> {{Tabs | <syntaxhighlight lang="xml"> {{Tabs |
Latest revision as of 13:52, 27 February 2022
Tab#1: the Tabs Template This tab is inactive | Tab#2 the Tab Template It is the active tab |