Template:Parent Tab Template: Difference between revisions
From Tiny Rogues Wiki
(Created page with "<table style="margin-bottom:10px;" cellspacing="0"><td style="display:inline-block;margin-right:-2px;"><div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px;">{{#ifeq:{{{base|{{SUBPAGENAME}}}}}|{{PAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab1}}}</font></b></div>|{{{base|{{NAMESPACE}}:{{BAS...") |
No edit summary |
||
Line 1: | Line 1: | ||
< | <includeonly><div style="font-weight:bold; text-align:center; margin-bottom:0px; clear:both; box-sizing: content-box;"> | ||
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{{tab1}}}</span></td></tr></table></div> | |||
| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}<span style="color:{{{alttextcolor|}}};">{{{tab1}}}</span>]]}}</td> | |||
</tr></table></div> | |||
}}{{#if:{{{tab2| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab2}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title2| }}}|{{{title2}}}|{{{tab2}}} }}</span>]]}} | |||
</td> | |||
</tr></table></div> | |||
}} | |||
}}{{#if:{{{tab3| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab3}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title3| }}}|{{{title3}}}|{{{tab3}}} }}</span>]]}} | |||
</td> | |||
</tr></table></div> | |||
}} | |||
}}{{#if: {{{tab4| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab4}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title4| }}}|{{{title4}}}|{{{tab4}}} }}</span>]]}} | |||
</td> | |||
</tr></table></div> | |||
}} | |||
}}{{#if: {{{tab5| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab5}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title5| }}}|{{{title5}}}|{{{tab5}}} }}</span>]]}} | |||
</td></tr></table></div> | |||
}} | |||
}}{{#if: {{{tab6| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab6}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title6| }}}|{{{title6}}}|{{{tab6}}} }}</span>]]}} | |||
</td></tr></table></div> | |||
}} | |||
}}{{#if: {{{tab7| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab7}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab7}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title7| }}}|{{{title7}}}|{{{tab7}}} }}</span>]]}} | |||
</td></tr></table></div> | |||
}} | |||
}}{{#if: {{{tab8| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab8}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab8}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title8| }}}|{{{title8}}}|{{{tab8}}} }}</span>]]}} | |||
</td></tr></table></div> | |||
}} | |||
}}{{#if: {{{tab9| }}}| | |||
{{#ifeq:{{SUBPAGENAME}}|{{{tab9}}}| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}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|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<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.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px 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|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab9}}}{{!}}<span style="color:{{{alttextcolor|}}};">{{#if:{{{title9| }}}|{{{title9}}}|{{{tab9}}} }}</span>]]}} | |||
</td></tr></table></div> | |||
}} | |||
}}<br style="clear:both;" /> | |||
</div></includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> |