Template:Tabs: Difference between revisions
From Tiny Rogues Wiki
(Created page with "<includeonly>{{Parent tab |divCls=force-tabs {{{Character|}}}-parent-tabs |backcolor={{ColorSel|CharLight|{{{Character|}}}}} |altbackcolor={{ColorSel|Character|{{{Character|}}}}} |borderradius=6 |fontcolor=black |height=2.2 |maxwidth=40 |dir={{ROOTPAGENAME}} |tab1= |tab1Name={{{Skill|{{ROOTPAGENAME}}}}} |tab2=ModA |tab2Name=[Mod] {{{Skill|{{ROOTPAGENAME}}}}} }}</includeonly> <noinclude>{{Doc}}</noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly><div style="font-weight:bold; text-align:center; margin-bottom:0px; clear:both; box-sizing: content-box;"> | ||
| | {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> | ||
|backcolor={{ | <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%;"> | ||
|altbackcolor={{ | <table style="height:100%;width:100%;"><tr> | ||
|borderradius= | <td style="vertical-align:center;"><span style="color:{{{textcolor|black}}};">{{{tab1}}}</span></td></tr></table></div> | ||
| | | | ||
|height= | <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}}};"> | ||
|maxwidth= | <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%;"> | ||
}}</includeonly> | <table style="height:100%;width:100%;"><tr> | ||
<noinclude>{{ | <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> |