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: {{{ | {{#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;"> | ||
[[{{{ | [[{{{tab1link}}}|<span style="color:black;">'''{{{tab1text}}}''']] | ||
|background: #8b0024; color:white;"> | |background: #8b0024; color:white;"> | ||
[[{{{ | [[{{{tab1link}}}|<span style="color:white;">'''{{{tab1text}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if: {{{ | {{#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;"> | ||
[[{{{ | [[{{{tab2link}}}|<span style="color:black;">'''{{{tab2text}}}''']] | ||
|background: #8b0024;"> | |background: #8b0024;"> | ||
[[{{{ | [[{{{tab2link}}}|<span style="color:white;">'''{{{tab2text}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if: {{{ | {{#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;"> | ||
[[{{{ | [[{{{tab3link}}}|<span style="color:black;">'''{{{tab3text}}}''']] | ||
|background: #8b0024;"> | |background: #8b0024;"> | ||
[[{{{ | [[{{{tab3link}}}|<span style="color:white;">'''{{{tab3text}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if: {{{ | {{#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;"> | ||
[[{{{ | [[{{{tab4link}}}|<span style="color:black;">'''{{{tab4text}}}''']] | ||
|background: #8b0024; color:white;"> | |background: #8b0024; color:white;"> | ||
[[{{{ | [[{{{tab4link}}}|<span style="color:white;">'''{{{tab4text}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if: {{{ | {{#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;"> | ||
[[{{{ | [[{{{tab5link}}}|<span style="color:black;">'''{{{tab5text}}}''']] | ||
|background: #8b0024; color:white;"> | |background: #8b0024; color:white;"> | ||
[[{{{ | [[{{{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 |[[{{{ | | 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 |[[{{{ | | 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 |[[{{{ | | 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 |[[{{{ | | 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)