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 |
||
(6 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}}} | |||
</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;"> | |||
<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:20, 1 December 2023
|