Difference between revisions of "Template:TopTabs"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
(Now testing using #titleparts)
(Hopefully final version of this Template)
 
(One intermediate revision by the same user not shown)
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:{{{pagebase}}}|{{PAGENAME}}| <!-- main page -->
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|{{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; 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%;">
 
<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>
Line 8: Line 8:
 
<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;">
 
<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;">[[{{#titleparts:{{PAGENAME}}|1|1}}{{!}}{{{tab1}}}]]</td>
 
</tr></table></div>
 
</tr></table></div>
}}{{#if:{{{tab2| }}}|{{{pagebase}}}/{{{tab2}}}
+
}}{{#if:{{{tab2| }}}|
 
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab2}}}|
 
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab2}}}|
 
<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%;">
Line 18: Line 18:
 
<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;">
 
<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;">
 
<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}}:{{#titleparts:{{PAGENAME}}|1}}/{{{tab2}}}{{!}}{{{tab2}}}]]
 
</td>
 
</td>
 
</tr></table></div>
 
</tr></table></div>
 
}}
 
}}
 
}}{{#if:{{{tab3| }}}|
 
}}{{#if:{{{tab3| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab3}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab3}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 30: Line 30:
 
<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;">
 
<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;">
 
<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}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab3}}}{{!}}{{{tab3}}}]]
 
</td>
 
</td>
 
</tr></table></div>
 
</tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab4| }}}|
 
}}{{#if: {{{tab4| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab4}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab4}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 42: Line 42:
 
<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;">
 
<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;">
 
<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}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab4}}}{{!}}{{{tab4}}}]]
 
</td>
 
</td>
 
</tr></table></div>
 
</tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab5| }}}|
 
}}{{#if: {{{tab5| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab5}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab5}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 54: Line 54:
 
<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;">
 
<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;">
 
<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}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab5}}}{{!}}{{{tab5}}}]]
 
</td></tr></table></div>
 
</td></tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab6| }}}|
 
}}{{#if: {{{tab6| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab6}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab6}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 65: Line 65:
 
<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;">
 
<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;">
 
<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}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab6}}}{{!}}{{{tab6}}}]]
 
</td></tr></table></div>
 
</td></tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab7| }}}|
 
}}{{#if: {{{tab7| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab7}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab7}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 76: Line 76:
 
<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;">
 
<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;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab7}}}{{!}}{{{tab7}}}]]
+
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab7}}}{{!}}{{{tab7}}}]]
 
</td></tr></table></div>
 
</td></tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab8| }}}|
 
}}{{#if: {{{tab8| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab8}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab8}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 87: Line 87:
 
<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;">
 
<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;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab8}}}{{!}}{{{tab8}}}]]
+
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab8}}}{{!}}{{{tab8}}}]]
 
</td></tr></table></div>
 
</td></tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab9| }}}|
 
}}{{#if: {{{tab9| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab9}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab9}}}|
 
<div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; display: inline-block; border:4px solid #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 #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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 98: Line 98:
 
<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;">
 
<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;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab9}}}{{!}}{{{tab9}}}]]
+
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab9}}}{{!}}{{{tab9}}}]]
 
</td></tr></table></div>
 
</td></tr></table></div>
 
}}
 
}}
 
}}{{#if: {{{tab10| }}}|
 
}}{{#if: {{{tab10| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab10}}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|{{{tab10}}}|
 
<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%;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
Line 109: Line 109:
 
<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;">
 
<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;">
 
<table style="height:100%;width:100%;"><tr>
 
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab10}}}{{!}}{{{tab10}}}]]
+
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{#titleparts:{{PAGENAME}}|1|1}}/{{{tab10}}}{{!}}{{{tab10}}}]]
 
</td></tr></table></div>
 
</td></tr></table></div>
 
}}
 
}}

Latest revision as of 16:09, 27 October 2022

{{{tab1}}}