Template
Pagetabs
From Dogcraft Wiki
Tag: Undo |
Tag: Undo |
||
Line 5: | Line 5: | ||
<div style="width:20%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | <div style="width:20%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | ||
{{#ifeq: {{{currenttab|}}} | 1 | {{#ifeq: {{{currenttab|}}} | 1 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff; | |border-bottom: 5px solid #ffffff; background: #ffffff; color:black;"> | ||
[[{{{tab1}}}|<span style="color:black;">'''{{{tab1text}}}''']] | |||
|background: #8b0024; | |background: #8b0024; color:white;"> | ||
[[{{{tab1}}}|<span style="color:white;">'''{{{tab1text}}}''']] | |||
}} | }} | ||
</div> | </div> | ||
Line 17: | Line 17: | ||
{{#ifeq: {{{currenttab|}}} | 2 | {{#ifeq: {{{currenttab|}}} | 2 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
[[{{{tab2}}}|<span style="color:black;">'''{{{tab2text}}}''']] | |||
|background: #8b0024;"> | |background: #8b0024;"> | ||
[[{{{tab2}}}|<span style="color:white;">'''{{{tab2text}}}''']] | |||
}} | }} | ||
</div> | </div> | ||
Line 28: | Line 28: | ||
{{#ifeq: {{{currenttab|}}} | 3 | {{#ifeq: {{{currenttab|}}} | 3 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;"> | |border-bottom: 5px solid #ffffff; background: #ffffff;"> | ||
[[{{{tab3}}}|<span style="color:black;">'''{{{tab3text}}}''']] | |||
|background: #8b0024;"> | |background: #8b0024;"> | ||
[[{{{tab3}}}|<span style="color:white;">'''{{{tab3text}}}''']] | |||
}} | }} | ||
</div> | </div> | ||
Line 38: | Line 38: | ||
<div style="width:20%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; padding-top:7px; | <div style="width:20%; 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; color:black;"> | ||
[[{{{tab4}}}|<span style="color:black;">'''{{{tab4text}}}''']] | |||
|background: #8b0024; | |background: #8b0024; color:white;"> | ||
[[{{{tab4}}}|<span style="color:white;">'''{{{tab4text}}}''']] | |||
}} | }} | ||
</div> | </div> | ||
Line 58: | Line 47: | ||
</div> | </div> | ||
{| class="phoneonly pagetabs" | {| class="phoneonly pagetabs" | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab1}}}|{{#ifeq: {{{currenttab|}}} | 1 | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab1}}}|{{#ifeq: {{{currenttab|}}} | 1 |[[{{{tab1}}}|<span style="color:black;">'''{{{tab1text}}}''']]|[[{{{tab1}}}|<span style="color:white;">'''{{{tab1text}}}''']]}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab2}}}|{{#ifeq: {{{currenttab|}}} | 2 | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab2}}}|{{#ifeq: {{{currenttab|}}} | 2 |[[{{{tab2}}}|<span style="color:black;">'''{{{tab2text}}}''']]|[[{{{tab2}}}|<span style="color:white;">'''{{{tab2text}}}''']]}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab3}}}|{{#ifeq: {{{currenttab|}}} | 3 | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab3}}}|{{#ifeq: {{{currenttab|}}} | 3 |[[{{{tab3}}}|<span style="color:black;">'''{{{tab3text}}}''']]|[[{{{tab3}}}|<span style="color:white;">'''{{{tab3text}}}''']]}}|}} | ||
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab4}}}|{{#ifeq: {{{currenttab|}}} | 4 | | style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab4}}}|{{#ifeq: {{{currenttab|}}} | 4 |[[{{{tab4}}}|<span style="color:black;">'''{{{tab4text}}}''']]|[[{{{tab4}}}|<span style="color:white;">'''{{{tab4text}}}''']]}}|}} | ||
| | | | ||
|} | |} | ||
Line 70: | Line 58: | ||
|tab1 = User:{{ROOTPAGENAME}} | |tab1 = User:{{ROOTPAGENAME}} | ||
|tab1text = User Page | |tab1text = User Page | ||
|tab2 = User:{{ROOTPAGENAME}}/Trophies | |tab2 = User:{{ROOTPAGENAME}}/Trophies | ||
|tab2text = Trophies | |tab2text = Trophies | ||
|tab3 = Special:Contributions/{{ROOTPAGENAME}} | |tab3 = Special:Contributions/{{ROOTPAGENAME}} | ||
|tab3text = Contributions | |tab3text = Contributions | ||
|tab4 = | |tab4 = | ||
|tab4text = | |tab4text = | ||
|currenttab = 2 | |currenttab = 2 | ||
}} | }} |
Revision as of 19:13, 22 April 2020
This page was last modified on 22 April 2020, at 19:13. (11 months ago)