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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | {| align="center" | ||
| | |<div style="font-weight:bold; text-align:center; margin-bottom:0px;"> | ||
| | {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> | ||
| | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; background: #3b3b3b; color: white; font-size:100%;"> | ||
| | <table style="height:100%;width:100%;"><tr> | ||
| | <td style="vertical-align:center;">{{{tab1}}} | ||
|height=2.2 | </td></tr></table></div> | ||
|maxwidth= | | | ||
| | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px;"> | ||
<table style="height:100%;width:100%;"><tr> | |||
| | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</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 #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px; background: #3b3b3b; color: white; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{{tab2}}}</td></tr></table></div> | |||
| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}{{{tab2}}}]] | |||
</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 #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px; background: #3b3b3b; color: white; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{{tab3}}}</td></tr></table></div> | |||
| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3}}}{{!}}{{{tab3}}}]] | |||
</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 #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px; background: #3b3b3b; color: white; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{{tab4}}}</td></tr></table></div> | |||
| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4}}}{{!}}{{{tab4}}}]] | |||
</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 #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px; background: #3b3b3b; color: white; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{{tab5}}}</td></tr></table></div> | |||
| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5}}}{{!}}{{{tab5}}}]] | |||
</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 #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px; background: #3b3b3b; color: white; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{{tab6}}}</td></tr></table></div> | |||
| | |||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6}}}{{!}}{{{tab6}}}]] | |||
</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 #3b3b3b; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; margin-left:2px; background: #3b3b3b; color: white; font-size:100%;"> | |||
<table style="height:100%;width:100%;"><tr> | |||
<td style="vertical-align:center;">{{{tab7}}}</td></tr></table></div> | |||
}} | |||
}} | |||
<div style="clear:both;"></div> | |||
</div> | |||
|} | |||
<noinclude> | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 20:22, 1 December 2023
|