Template:Parent Tab Template: Difference between revisions
From Tiny Rogues Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|<div style="font-weight:bold; text-align:center; margin-bottom:0px;"> | |<div style="font-weight:bold; text-align:center; margin-bottom:0px;"> | ||
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> | {{#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: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab1}}} | <td style="vertical-align:center;">{{{tab1}}} | ||
Line 15: | Line 15: | ||
}}{{#if: {{{tab2| }}}| | }}{{#if: {{{tab2| }}}| | ||
{{#ifeq:{{SUBPAGENAME}}|{{{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; color: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab2}}}</td></tr></table></div> | <td style="vertical-align:center;">{{{tab2}}}</td></tr></table></div> | ||
Line 26: | Line 26: | ||
}}{{#if:{{{tab3| }}}| | }}{{#if:{{{tab3| }}}| | ||
{{#ifeq:{{SUBPAGENAME}}|{{{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; color: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab3}}}</td></tr></table></div> | <td style="vertical-align:center;">{{{tab3}}}</td></tr></table></div> | ||
Line 40: | Line 40: | ||
{{#if: {{{tab4| }}}| | {{#if: {{{tab4| }}}| | ||
{{#ifeq:{{SUBPAGENAME}}|{{{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; color: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab4}}}</td></tr></table></div> | <td style="vertical-align:center;">{{{tab4}}}</td></tr></table></div> | ||
Line 53: | Line 53: | ||
}}{{#if: {{{tab5| }}}| | }}{{#if: {{{tab5| }}}| | ||
{{#ifeq:{{SUBPAGENAME}}|{{{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; color: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab5}}}</td></tr></table></div> | <td style="vertical-align:center;">{{{tab5}}}</td></tr></table></div> | ||
Line 64: | Line 64: | ||
}}{{#if: {{{tab6| }}}| | }}{{#if: {{{tab6| }}}| | ||
{{#ifeq:{{SUBPAGENAME}}|{{{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; color: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab6}}}</td></tr></table></div> | <td style="vertical-align:center;">{{{tab6}}}</td></tr></table></div> | ||
Line 75: | Line 75: | ||
}}{{#if: {{{tab7| }}}| | }}{{#if: {{{tab7| }}}| | ||
{{#ifeq:{{SUBPAGENAME}}|{{{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; color: white; font-size:100%;"> | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">{{{tab7}}}</td></tr></table></div> | <td style="vertical-align:center;">{{{tab7}}}</td></tr></table></div> |
Latest revision as of 20:20, 1 December 2023
|