Template:Tabs: Difference between revisions

From The Coffin of Andy and Leyley

m (Use rootpage instead of basepage (Possible bugfix?))
Tag: Reverted
(Undo revision 310 by Ashley Graves (talk))
Tag: Undo
Line 7: Line 7:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{{tab1}}}</span>]]</td>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{{tab1}}}</span>]]</td>
</tr></table></div>
</tr></table></div>
}}{{#if:{{{tab2| }}}|
}}{{#if:{{{tab2| }}}|
Line 17: Line 17:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab2}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title2| }}}|{{{title2}}}|{{{tab2}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab2}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title2| }}}|{{{title2}}}|{{{tab2}}} }}</span>]]
</td>
</td>
</tr></table></div>
</tr></table></div>
Line 29: Line 29:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab3}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title3| }}}|{{{title3}}}|{{{tab3}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab3}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title3| }}}|{{{title3}}}|{{{tab3}}} }}</span>]]
</td>
</td>
</tr></table></div>
</tr></table></div>
Line 41: Line 41:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab4}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title4| }}}|{{{title4}}}|{{{tab4}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab4}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title4| }}}|{{{title4}}}|{{{tab4}}} }}</span>]]
</td>
</td>
</tr></table></div>
</tr></table></div>
Line 53: Line 53:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab5}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title5| }}}|{{{title5}}}|{{{tab5}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab5}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title5| }}}|{{{title5}}}|{{{tab5}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 64: Line 64:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab6}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title6| }}}|{{{title6}}}|{{{tab6}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab6}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title6| }}}|{{{title6}}}|{{{tab6}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 75: Line 75:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab7}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title7| }}}|{{{title7}}}|{{{tab7}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab7}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title7| }}}|{{{title7}}}|{{{tab7}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 86: Line 86:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab8}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title8| }}}|{{{title8}}}|{{{tab8}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab8}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title8| }}}|{{{title8}}}|{{{tab8}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 97: Line 97:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab9}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title9| }}}|{{{title9}}}|{{{tab9}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab9}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title9| }}}|{{{title9}}}|{{{tab9}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 108: Line 108:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab10}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title10| }}}|{{{title10}}}|{{{tab10}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab10}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title10| }}}|{{{title10}}}|{{{tab10}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 119: Line 119:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab11}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title11| }}}|{{{title11}}}|{{{tab11}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab11}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title11| }}}|{{{title11}}}|{{{tab11}}} }}</span>]]
</td></tr></table></div>
</td></tr></table></div>
}}
}}
Line 130: Line 130:
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|2.5}}}em; margin-bottom:10px; margin-right:3.5px; background-color:{{{altbackcolor|transparent}}};">
<table style="height:100%;width:100%;"><tr>
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{ROOTPAGENAME}}}}}/{{{tab12}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title12| }}}|{{{title12}}}|{{{tab12}}} }}</span>]]
<td style="vertical-align:center;">[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab12}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title12| }}}|{{{title12}}}|{{{tab12}}} }}</span>]]
</td>
</td>
</tr></table></div>
</tr></table></div>

Revision as of 16:57, 2 January 2024

{{{tab1}}}

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.