Difference between revisions of "Template:Tabs"
From EncyclopAtys
(6 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
--></table><!-- | --></table><!-- | ||
− | --><div style="border:{{{bord|solid 2px # | + | --><div style="border:{{{bord|solid 2px #{{ColorAtys|type=fg|group=Amber}} }}}; padding: 0em; border-top: none; background-color:{{{bg_frame|transparent}}}; color:#000;zoom: 1;overflow: hidden;"><!-- |
--><div style="padding:1ex; "><!-- | --><div style="padding:1ex; "><!-- | ||
Line 41: | Line 41: | ||
|EN=Template:Tabs | |EN=Template:Tabs | ||
|ES=Plantilla:Tabs | |ES=Plantilla:Tabs | ||
− | |FR=Modèle: | + | |FR=Modèle:Tabs |
|RU=Шаблон:Tabs | |RU=Шаблон:Tabs | ||
}} | }} | ||
Line 49: | Line 49: | ||
|} --> | |} --> | ||
:This template is designed to assemble a set of tabs (10 max) such as the ones on this same page. Lets explain how it works on this example. It uses the [[:Template:Tab|Tab "sub"-template]]. | :This template is designed to assemble a set of tabs (10 max) such as the ones on this same page. Lets explain how it works on this example. It uses the [[:Template:Tab|Tab "sub"-template]]. | ||
+ | |||
==Tabs code== | ==Tabs code== | ||
<syntaxhighlight lang="xml"> {{Tabs | <syntaxhighlight lang="xml"> {{Tabs | ||
Line 66: | Line 67: | ||
|Pic-2=UnderConstruction.png | |Pic-2=UnderConstruction.png | ||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
+ | |||
+ | ==Detailed code== | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Code explained style="font: italic 1em serif; color:#e76700; "|'''Code explained''' | |+Code explained style="font: italic 1em serif; color:#e76700; "|'''Code explained''' | ||
Line 108: | Line 111: | ||
==Examples== | ==Examples== | ||
− | With 2 tabs, no 3D Text: [[Wheel of fortune]] | + | *Guild page: [[Guild:Ballistic Mystix|Ballistic Mystix]] |
+ | *With 2 tabs, no 3D Text: [[Wheel of fortune]] | ||
[[Category:Tab]][[Category:Template:Tab]]</noinclude> | [[Category:Tab]][[Category:Template:Tab]]</noinclude> |
Latest revision as of 13:55, 27 February 2022
Tab#1: the Tabs Template It is the active tab | Tab#2: the Tab Template This tab is inactive |