Template:Tabs: Difference between revisions
From The Coffin of Andy and Leyley
(Add temporary debug output) |
(d) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<pre> | <pre> | ||
{{PAGENAME}} | {{{PAGENAME}}} | ||
{{SUBPAGENAME}} | {{{SUBPAGENAME}}} | ||
{{BASEPAGENAME}} | {{{BASEPAGENAME}}} | ||
{{ROOTPAGENAME}} | {{{ROOTPAGENAME}}} | ||
</pre> | </pre> | ||
<div style="font-size:{{{font-size|97%}}}; text-align:center; margin-bottom:0px; clear:both; font-variant:small-caps; font-family:Faustina;"> | <div style="font-size:{{{font-size|97%}}}; text-align:center; margin-bottom:0px; clear:both; font-variant:small-caps; font-family:Faustina;"> |
Revision as of 17:04, 2 January 2024
Usage
{{Tabs |backcolor= |height= |minwidth= |maxwidth= |tab1= |tab2= |tab3= |tab4= |tab5= |tab6= |tab7= |tab8= }}
All parameters, except tab1, are optional.
- backcolor - background color of active tab; default #DDDDDD;
- height - height of tabs, in em; default 3.8em;
- minwidth - min. width of tabs, in em; default 5.0em;
- maxwidth - max. width of tabs, in em; default 12.0em;
- tab1 - an arbitrary title of the first tab;
- tab2 - title of the second tab; it must correspond to the part after "/" of the name of the page, to which it links
- tab3, tab4, tab5, tab6, tab7, tab8 - like tab2
Note
Borrowed from MDZS wiki.