Template

Pagetabs

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: {{{tab1}}}
{{#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; padding-top:7px;  
{{#ifeq: {{{currenttab|}}} | 1
{{#ifeq: {{{currenttab|}}} | 1
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
[[{{{tab1}}}|<span style="color:black;">'''{{{tab1text}}}''']]
[[{{{tab1link}}}|<span style="color:black;">'''{{{tab1text}}}''']]
|background: #8b0024; color:white;">
|background: #8b0024; color:white;">
[[{{{tab1}}}|<span style="color:white;">'''{{{tab1text}}}''']]
[[{{{tab1link}}}|<span style="color:white;">'''{{{tab1text}}}''']]
}}
}}
</div>
</div>
|}}
|}}
{{#if: {{{tab2}}}
{{#if: {{{tab2link}}}
|<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; padding-top:7px;
{{#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}}}''']]
[[{{{tab2link}}}|<span style="color:black;">'''{{{tab2text}}}''']]
|background: #8b0024;">
|background: #8b0024;">
[[{{{tab2}}}|<span style="color:white;">'''{{{tab2text}}}''']]
[[{{{tab2link}}}|<span style="color:white;">'''{{{tab2text}}}''']]
}}
}}
</div>
</div>
|}}
|}}
{{#if: {{{tab3}}}
{{#if: {{{tab3link}}}
|<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; padding-top:7px;
{{#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}}}''']]
[[{{{tab3link}}}|<span style="color:black;">'''{{{tab3text}}}''']]
|background: #8b0024;">
|background: #8b0024;">
[[{{{tab3}}}|<span style="color:white;">'''{{{tab3text}}}''']]
[[{{{tab3link}}}|<span style="color:white;">'''{{{tab3text}}}''']]
}}
}}
</div>
</div>
|}}
|}}
{{#if: {{{tab4}}}
{{#if: {{{tab4link}}}
|<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; padding-top:7px;  
{{#ifeq: {{{currenttab|}}} | 4
{{#ifeq: {{{currenttab|}}} | 4
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
[[{{{tab4}}}|<span style="color:black;">'''{{{tab4text}}}''']]
[[{{{tab4link}}}|<span style="color:black;">'''{{{tab4text}}}''']]
|background: #8b0024; color:white;">
|background: #8b0024; color:white;">
[[{{{tab4}}}|<span style="color:white;">'''{{{tab4text}}}''']]
[[{{{tab4link}}}|<span style="color:white;">'''{{{tab4text}}}''']]
}}
}}
</div>
</div>
|}}
|}}
{{#if: {{{tab5}}}
{{#if: {{{tab5link}}}
|<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; padding-top:7px;  
{{#ifeq: {{{currenttab|}}} | 5
{{#ifeq: {{{currenttab|}}} | 5
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
[[{{{tab5}}}|<span style="color:black;">'''{{{tab5text}}}''']]
[[{{{tab5link}}}|<span style="color:black;">'''{{{tab5text}}}''']]
|background: #8b0024; color:white;">
|background: #8b0024; color:white;">
[[{{{tab5}}}|<span style="color:white;">'''{{{tab5text}}}''']]
[[{{{tab5link}}}|<span style="color:white;">'''{{{tab5text}}}''']]
}}
}}
</div>
</div>
Line 58: Line 58:
</div>
</div>
{| class="phoneonly pagetabs"
{| class="phoneonly pagetabs"
| 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: {{{tab1}}}|{{#ifeq: {{{currenttab|}}} | 1 |[[{{{tab1link}}}|<span style="color:black;">'''{{{tab1text}}}''']]|[[{{{tab1link}}}|<span style="color:white;">'''{{{tab1text}}}''']]}}|}}
| 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: {{{tab2}}}|{{#ifeq: {{{currenttab|}}} | 2 |[[{{{tab2link}}}|<span style="color:black;">'''{{{tab2text}}}''']]|[[{{{tab2link}}}|<span style="color:white;">'''{{{tab2text}}}''']]}}|}}
| 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: {{{tab3}}}|{{#ifeq: {{{currenttab|}}} | 3 |[[{{{tab3link}}}|<span style="color:black;">'''{{{tab3text}}}''']]|[[{{{tab3link}}}|<span style="color:white;">'''{{{tab3text}}}''']]}}|}}
| 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}}}''']]}}|}}
| style="text-align: center; width: 290px; height: 50px; " |{{#if: {{{tab4}}}|{{#ifeq: {{{currenttab|}}} | 4 |[[{{{tab4link}}}|<span style="color:black;">'''{{{tab4text}}}''']]|[[{{{tab4link}}}|<span style="color:white;">'''{{{tab4text}}}''']]}}|}}
|
|
|}
|}

Revision as of 19:21, 22 April 2020


[[{{{tab1link}}}|User Page]]

[[{{{tab2link}}}|Trophies]]

[[{{{tab3link}}}|Contributions]]

[[{{{tab4link}}}|Consult tab 5 for info]]

[[{{{tab5link}}}|This is required]]

[[{{{tab1link}}}|User Page]] [[{{{tab2link}}}|Trophies]] [[{{{tab3link}}}|Contributions]] [[{{{tab4link}}}|Consult tab 5 for info]]


This page was last modified on 22 April 2020, at 19:21. (11 months ago)