Information: 0.2.5 is officially out! Please bear with us while we are working on updating the wiki. This patch is massive so a lot of work will be needed. Enjoy the game in the meantime!

Template:Parent Tab Template: Difference between revisions

From Tiny Rogues Wiki
(Created page with "<table style="margin-bottom:10px;" cellspacing="0"><td style="display:inline-block;margin-right:-2px;"><div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px;">{{#ifeq:{{{base|{{SUBPAGENAME}}}}}|{{PAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab1}}}</font></b></div>|{{{base|{{NAMESPACE}}:{{BAS...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="margin-bottom:10px;" cellspacing="0"><td style="display:inline-block;margin-right:-2px;"><div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px;">{{#ifeq:{{{base|{{SUBPAGENAME}}}}}|{{PAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab1}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab1}}}</font></b></span>]]}}</div></td><!-- --><td style="display:inline-block;margin-right:-2px;">{{#if:{{{tab2| }}}|<div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px">{{#ifeq:{{{tab2}}}|{{SUBPAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab2}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab2}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab2}}}</font></b></span>]]}}</div>}}</td><!-- --><td style="display:inline-block;margin-right:-2px;">{{#if:{{{tab3| }}}|<div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px">{{#ifeq:{{{tab3}}}|{{SUBPAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab3}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab3}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab3}}}</font></b></span>]]}}</div>}}</td><!-- --><td style="display:inline-block;margin-right:-2px;">{{#if:{{{tab4| }}}|<div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px">{{#ifeq:{{{tab4}}}|{{SUBPAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab4}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab4}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab4}}}</font></b></span>]]}}</div>}}</td><!-- --><td style="display:inline-block;margin-right:-2px;">{{#if:{{{tab5| }}}|<div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px">{{#ifeq:{{{tab5}}}|{{SUBPAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab5}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab5}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab5}}}</font></b></span>]]}}</div>}}</td><!----><td style="display:inline-block;margin-right:-2px;">{{#if:{{{tab6| }}}|<div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px">{{#ifeq:{{{tab6}}}|{{SUBPAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab6}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab6}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab6}}}</font></b></span>]]}}</div>}}</td><!----><td style="display:inline-block;margin-right:-2px;">{{#if:{{{tab7| }}}|<div style="border:solid 2px gray;display:inline-block;border-radius:7px 7px 0 0;margin-right:-2px">{{#ifeq:{{{tab7}}}|{{SUBPAGENAME}}|<div style="text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="black" size="2em">{{{tab7}}}</font></b></div>|[[{{{base|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{tab7}}}|<span style="background-color:black;text-align:center;border-radius:5px 5px 0 0;height:30px;line-height:30px;display:inline-block;padding:0 .75em 0 .75em;"><b><font color="white" size="2em">{{{tab7}}}</font></b></span>]]}}</div>}}</td></table><noinclude>{{Documentation}}</noinclude><noinclude>[[Category:Article design templates]]</noinclude>
{| align="center"
|<div style="font-weight:bold; text-align:center; margin-bottom:0px;">
{{#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;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">{{{tab1}}}
</td></tr></table></div>
|
<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>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</td>
</tr></table></div>
 
 
}}{{#if: {{{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;  background: #3b3b3b;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<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 #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>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}{{{tab2}}}]]
</td></tr></table></div>
}}
}}{{#if:{{{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;  background: #3b3b3b;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<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 #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>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3}}}{{!}}{{{tab3}}}]]
</td>
</tr></table></div>
}}
 
}}
{{#if: {{{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;  background: #3b3b3b;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<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 #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>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4}}}{{!}}{{{tab4}}}]]
</td>
</tr></table></div>
}}
 
}}{{#if: {{{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;  background: #3b3b3b;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<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 #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>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5}}}{{!}}{{{tab5}}}]]
</td></tr></table></div>
}}
}}{{#if: {{{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;  background: #3b3b3b;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<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 #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>
<td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6}}}{{!}}{{{tab6}}}]]
</td></tr></table></div>
}}
}}{{#if: {{{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;  background: #3b3b3b;  color: white; font-size:100%;">
<table style="height:100%;width:100%;"><tr>
<td style="vertical-align:center;">{{{tab7}}}</td></tr></table></div>
}}
}}
<div style="clear:both;"></div>
</div>
|}
<noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 20:20, 1 December 2023

{{{tab1}}}