Template:Tabs: Difference between revisions
From The Coffin of Andy and Leyley
(Add temporary debug output) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<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;"> | ||
{{#ifeq:{{{base|{{SUBPAGENAME}}}}}|{{PAGENAME}}| <!-- main page --> | {{#ifeq:{{{base|{{SUBPAGENAME}}}}}|{{PAGENAME}}| <!-- main page --> | ||
Line 20: | Line 14: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title2| }}}|{{{title2}}}|{{{tab2}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 32: | Line 26: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title3| }}}|{{{title3}}}|{{{tab3}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 44: | Line 38: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title4| }}}|{{{title4}}}|{{{tab4}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 56: | Line 50: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title5| }}}|{{{title5}}}|{{{tab5}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 67: | Line 61: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title6| }}}|{{{title6}}}|{{{tab6}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 78: | Line 72: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title7| }}}|{{{title7}}}|{{{tab7}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 89: | Line 83: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title8| }}}|{{{title8}}}|{{{tab8}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 100: | Line 94: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title9| }}}|{{{title9}}}|{{{tab9}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 111: | Line 105: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title10| }}}|{{{title10}}}|{{{tab10}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 122: | Line 116: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title11| }}}|{{{title11}}}|{{{tab11}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> | ||
Line 133: | Line 127: | ||
<div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | <div style="min-width:{{{minwidth|5.6}}}em; max-width:{{{maxwidth|10}}}em; float:left; border:1.5px solid {{{activeborder|{{{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:{{{backcolor|#DDDDDD}}}; font-size:100%; font-weight:bold;"> | ||
<table style="height:100%;width:100%;"><tr> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;"><span style="color:{{{textcolor| | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{#if:{{{title12| }}}|{{{title12}}}|{{{tab12}}} }}</span></td></tr></table></div> | ||
| | | | ||
<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}}};"> |
Latest revision as of 17:20, 14 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.