Template:Tabs: Difference between revisions
From Tiny Rogues Wiki
No edit summary |
No edit summary |
||
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 # | <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}}} | ||
</td></tr></table></div> | </td></tr></table></div> | ||
| | | | ||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid # | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</td> | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</td> | ||
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 # | <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> | ||
| | | | ||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid # | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}{{{tab2}}}]] | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}{{{tab2}}}]] | ||
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 # | <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> | ||
| | | | ||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid # | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3}}}{{!}}{{{tab3}}}]] | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3}}}{{!}}{{{tab3}}}]] | ||
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 # | <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> | ||
| | | | ||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid # | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4}}}{{!}}{{{tab4}}}]] | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4}}}{{!}}{{{tab4}}}]] | ||
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 # | <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> | ||
| | | | ||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid # | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5}}}{{!}}{{{tab5}}}]] | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5}}}{{!}}{{{tab5}}}]] | ||
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 # | <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> | ||
| | | | ||
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid # | <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> | <table style="height:100%;width:100%;"><tr> | ||
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6}}}{{!}}{{{tab6}}}]] | <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6}}}{{!}}{{{tab6}}}]] | ||
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 # | <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:22, 1 December 2023
|