Difference between revisions of "Template:TopTabs"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
(Testing new name system)
m (more testing stuff)
Line 10: Line 10:
 
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</td>
 
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</td>
 
</tr></table></div>
 
</tr></table></div>
}}{{#if:{{{tab2| }}}|
+
}}{{#if:{{{tab2| }}}|{{{pagebase}}}/{{{tab2}}}
 
{{#ifeq:{{{pagebase}}}/{{{tab2}}}|{{{PAGENAME}}}|
 
{{#ifeq:{{{pagebase}}}/{{{tab2}}}|{{{PAGENAME}}}|
 
<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; margin-left:2px; 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; margin-left:2px; background-color:{{{backcolor|#8d31b0}}}; color: white; font-size:100%;">

Revision as of 15:08, 27 October 2022