Template
Pagetabs2
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="nophone" style="width:100%; height: 50px; border-bottom: 5px solid #8b0024;"> | <div class="nophone" style="width:100%; height: 50px; border-bottom: 5px solid #8b0024;"> | ||
{{#if: {{{ | {{#if: {{{tab1link}}} | ||
|<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | |<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | ||
<div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | <div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
{{#ifeq: {{{currenttab|}}} | 1 | padding-top:7px; | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | {{#ifeq: {{{currenttab|}}} | 1 | ||
{{#if: {{{ | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
|background: #8b0024;"> | {{#if: {{{tab1fullurl}}} | ||
{{#if: {{{ | |{{{tab1fullurl}}} | ||
|{{#if: {{{tab1text}}} | |||
|[[{{{tab1link}}}|<span style="color:black;">'''{{{tab1text}}}''']] | |||
|[[{{{tab1link}}}|<span style="color:black;">'''{{{tab1link}}}''']] | |||
}} | |||
}} | |||
|background: #8b0024;"> | |||
{{#if: {{{tab1fullurl}}} | |||
|{{{tab1fullurl}}} | |||
|{{#if: {{{tab1text}}} | |||
|[[{{{tab1link}}}|<span style="color:white;">'''{{{tab1text}}}''']] | |||
|[[{{{tab1link}}}|<span style="color:white;">'''{{{tab1link}}}''']] | |||
}} | |||
}} | |||
}} | |||
</div> | |||
| | |||
}} | }} | ||
{{#if: {{{tab2link}}} | |||
|<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | |||
{{#if: {{{ | <div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
|<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | padding-top:7px; | ||
<div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | {{#ifeq: {{{currenttab|}}} | 2 | ||
{{#ifeq: {{{currenttab|}}} | 2 | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | {{#if: {{{tab2fullurl}}} | ||
{{#if: {{{ | |{{{tab2fullurl}}} | ||
|background: #8b0024;"> | |{{#if: {{{tab2text}}} | ||
{{#if: {{{ | |[[{{{tab2link}}}|<span style="color:black;">'''{{{tab2text}}}''']] | ||
|[[{{{tab2link}}}|<span style="color:black;">'''{{{tab2link}}}''']] | |||
}} | |||
}} | |||
|background: #8b0024;"> | |||
{{#if: {{{tab2fullurl}}} | |||
|{{{tab2fullurl}}} | |||
|{{#if: {{{tab2text}}} | |||
|[[{{{tab2link}}}|<span style="color:white;">'''{{{tab2text}}}''']] | |||
|[[{{{tab2link}}}|<span style="color:white;">'''{{{tab2link}}}''']] | |||
}} | |||
}} | |||
}} | |||
</div> | |||
| | |||
}} | }} | ||
{{#if: {{{tab3link}}} | |||
|<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | |||
{{#if: {{{ | <div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
|<div style="width:5px; height: 50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | padding-top:7px; | ||
<div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | {{#ifeq: {{{currenttab|}}} | 3 | ||
{{#ifeq: {{{currenttab|}}} | 3 | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | {{#if: {{{tab3fullurl}}} | ||
{{#if: {{{ | |{{{tab3fullurl}}} | ||
|background: #8b0024;"> | |{{#if: {{{tab3text}}} | ||
{{#if: {{{ | |[[{{{tab3link}}}|<span style="color:black;">'''{{{tab3text}}}''']] | ||
|[[{{{tab3link}}}|<span style="color:black;">'''{{{tab3link}}}''']] | |||
}} | |||
}} | |||
|background: #8b0024;"> | |||
{{#if: {{{tab3fullurl}}} | |||
|{{{tab3fullurl}}} | |||
|{{#if: {{{tab3text}}} | |||
|[[{{{tab3link}}}|<span style="color:white;">'''{{{tab3text}}}''']] | |||
|[[{{{tab3link}}}|<span style="color:white;">'''{{{tab3link}}}''']] | |||
}} | |||
}} | |||
}} | |||
</div> | |||
| | |||
}} | }} | ||
{{#if: {{{tab4link}}} | |||
|<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | |||
{{#if: {{{ | <div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
|<div style="width:5px; height: 50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | padding-top:7px; | ||
<div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | {{#ifeq: {{{currenttab|}}} | 4 | ||
{{#ifeq: {{{currenttab|}}} | 4 | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | {{#if: {{{tab4fullurl}}} | ||
{{#if: {{{ | |{{{tab4fullurl}}} | ||
|background: #8b0024;"> | |{{#if: {{{tab4text}}} | ||
{{#if: {{{ | |[[{{{tab4link}}}|<span style="color:black;">'''{{{tab4text}}}''']] | ||
|[[{{{tab4link}}}|<span style="color:black;">'''{{{tab4link}}}''']] | |||
}} | |||
}} | |||
|background: #8b0024;"> | |||
{{#if: {{{tab4fullurl}}} | |||
|{{{tab4fullurl}}} | |||
|{{#if: {{{tab1text}}} | |||
|[[{{{tab4link}}}|<span style="color:white;">'''{{{tab4text}}}''']] | |||
|[[{{{tab4link}}}|<span style="color:white;">'''{{{tab4link}}}''']] | |||
}} | |||
}} | |||
}} | |||
</div> | |||
| | |||
}} | }} | ||
{{#if: {{{tab5link}}} | |||
|<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | |||
{{#if: {{{ | <div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
|<div style="width:5px; height: 50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div> | padding-top:7px; | ||
<div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | {{#ifeq: {{{currenttab|}}} | 5 | ||
{{#ifeq: {{{currenttab|}}} | 5 | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | {{#if: {{{tab5fullurl}}} | ||
{{#if: {{{ | |{{{tab5fullurl}}} | ||
|background: #8b0024;"> | |{{#if: {{{tab5text}}} | ||
{{#if: {{{ | |[[{{{tab5link}}}|<span style="color:black;">'''{{{tab5text}}}''']] | ||
|[[{{{tab5link}}}|<span style="color:black;">'''{{{tab5link}}}''']] | |||
}} | |||
}} | |||
|background: #8b0024;"> | |||
{{#if: {{{tab5fullurl}}} | |||
|{{{tab5fullurl}}} | |||
|{{#if: {{{tab1text}}} | |||
|[[{{{tab5link}}}|<span style="color:white;">'''{{{tab5text}}}''']] | |||
|[[{{{tab5link}}}|<span style="color:white;">'''{{{tab5link}}}''']] | |||
}} | |||
}} | |||
}} | |||
</div> | |||
| | |||
}} | }} | ||
</div> | </div> | ||
{| class="phoneonly pagetabs" | {| class="phoneonly pagetabs" | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab1}}}|{{#ifeq: {{{currenttab|}}} | 1 |{{#if: {{{ | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab1}}}|{{#ifeq: {{{currenttab|}}} | 1 |{{#if: {{{tab1fullurl}}}|{{{tab1fullurl}}}|{{#if: {{{tab1text}}}|[[{{{tab1}}}|<span style="color:black;">'''{{{tab1text}}}''']]|[[{{{tab1}}}|<span style="color:black;">'''{{{tab1}}}''']]}}}}|{{#if: {{{tab1fullurl}}}|{{{tab1fullurl}}}|{{#if: {{{tab1text}}}|[[{{{tab1}}}|<span style="color:white;">'''{{{tab1text}}}''']]|[[{{{tab1}}}|<span style="color:white;">'''{{{tab1}}}''']]}}}}}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab2}}}|{{#ifeq: {{{currenttab|}}} | 2 |{{#if: {{{ | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab2}}}|{{#ifeq: {{{currenttab|}}} | 2 |{{#if: {{{tab2fullurl}}}|{{{tab2fullurl}}}|{{#if: {{{tab2text}}}|[[{{{tab2}}}|<span style="color:black;">'''{{{tab2text}}}''']]|[[{{{tab2}}}|<span style="color:black;">'''{{{tab2}}}''']]}}}}|{{#if: {{{tab2fullurl}}}|{{{tab2fullurl}}}|{{#if: {{{tab2text}}}|[[{{{tab2}}}|<span style="color:white;">'''{{{tab2text}}}''']]|[[{{{tab2}}}|<span style="color:white;">'''{{{tab2}}}''']]}}}}}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab3}}}|{{#ifeq: {{{currenttab|}}} | 3 |{{#if: {{{ | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab3}}}|{{#ifeq: {{{currenttab|}}} | 3 |{{#if: {{{tab3fullurl}}}|{{{tab3fullurl}}}|{{#if: {{{tab3text}}}|[[{{{tab3}}}|<span style="color:black;">'''{{{tab3text}}}''']]|[[{{{tab3}}}|<span style="color:black;">'''{{{tab3}}}''']]}}}}|{{#if: {{{tab3fullurl}}}|{{{tab3fullurl}}}|{{#if: {{{tab3text}}}|[[{{{tab3}}}|<span style="color:white;">'''{{{tab3text}}}''']]|[[{{{tab3}}}|<span style="color:white;">'''{{{tab3}}}''']]}}}}}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab4}}}|{{#ifeq: {{{currenttab|}}} | 4 |{{#if: {{{ | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab4}}}|{{#ifeq: {{{currenttab|}}} | 4 |{{#if: {{{tab4fullurl}}}|{{{tab4fullurl}}}|{{#if: {{{tab4text}}}|[[{{{tab4}}}|<span style="color:black;">'''{{{tab4text}}}''']]|[[{{{tab4}}}|<span style="color:black;">'''{{{tab4}}}''']]}}}}|{{#if: {{{tab4fullurl}}}|{{{tab4fullurl}}}|{{#if: {{{tab4text}}}|[[{{{tab4}}}|<span style="color:white;">'''{{{tab4text}}}''']]|[[{{{tab4}}}|<span style="color:white;">'''{{{tab4}}}''']]}}}}}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab5}}}|{{#ifeq: {{{currenttab|}}} | 5 |{{#if: {{{ | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab5}}}|{{#ifeq: {{{currenttab|}}} | 5 |{{#if: {{{tab5fullurl}}}|{{{tab5fullurl}}}|{{#if: {{{tab5text}}}|[[{{{tab5}}}|<span style="color:black;">'''{{{tab5text}}}''']]|[[{{{tab5}}}|<span style="color:black;">'''{{{tab5}}}''']]}}}}|{{#if: {{{tab5fullurl}}}|{{{tab5fullurl}}}|{{#if: {{{tab5text}}}|[[{{{tab5}}}|<span style="color:white;">'''{{{tab5text}}}''']]|[[{{{tab5}}}|<span style="color:white;">'''{{{tab5}}}''']]}}}}}}|}} | ||
| | | | ||
|} | |} | ||
Line 68: | Line 138: | ||
<noinclude> | <noinclude> | ||
{{pagetabs | {{pagetabs | ||
| | |tab1link = User:{{ROOTPAGENAME}} | ||
|tab1text = User Page | |tab1text = User Page | ||
| | |tab1fullurl = | ||
| | |tab2link = User:{{ROOTPAGENAME}}/Trophies | ||
|tab2text = Trophies | |tab2text = Trophies | ||
| | |tab2fullurl = | ||
| | |tab3link = Special:Contributions/{{ROOTPAGENAME}} | ||
|tab3text = Contributions | |tab3text = Contributions | ||
| | |tab3fullurl = | ||
| | |tab4link = Tab 4 | ||
|tab4text = | |tab4text = | ||
| | |tab4fullurl = | ||
| | |tab5link = Tab 5 | ||
|tab5text = | |tab5text = | ||
| | |tab5fullurl = Displaytext | ||
|currenttab = 2 | |currenttab = 2 | ||
}} | }} |
Revision as of 20:04, 22 April 2020
This page was last modified on 22 April 2020, at 20:04. (11 months ago)