Difference between revisions of "Template:TopTabs"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
(Created this page based on the lastsovereign's wiki)
 
(Adjustment)
Line 1: Line 1:
 
<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; display: inline-block; border:4px solid {{{bordercolor|#8d31b0}}}; border-radius: 4px; padding: .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px; background-color:{{{backcolor|#8d31b0}}}; color: white; font-size:100%;">
+
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; display: inline-block; border:4px solid {{{bordercolor|#8d31b0}}}; border-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-color:{{{backcolor|#8d31b0}}}; 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>
</td></tr></table></div>
+
</tr></table></div>
 
|
 
|
 
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; display: inline-block; border:4px solid {{{bordercolor|#8d31b0}}}; border-radius: 4px; .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px;">
 
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; display: inline-block; border:4px solid {{{bordercolor|#8d31b0}}}; border-radius: 4px; .0em 0.5em; height:{{{height|2.4}}}em; margin-bottom:10px;">

Revision as of 14:28, 27 October 2022

{{{tab1}}}