Template
Interface template⮥
Pagetabs2
From Dogcraft Wiki
No edit summary |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="vdesktop noexcerpt" style="width:100%; height: 50px; border-bottom: 5px solid #8b0024;"> | ||
<div class=" | |||
{{#if: {{{tab1fullurl|}}} | {{#if: {{{tab1fullurl|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 1 | {{#ifeq: {{{currenttab|}}} | 1 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab1fullurl|}}} | |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab1fullurl|}}} | ||
Line 12: | Line 11: | ||
|{{#if: {{{tab1|}}} | |{{#if: {{{tab1|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px; line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 1 | {{#ifeq: {{{currenttab|}}} | 1 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab1|}}}|<span style="color:black;">'''{{{ | |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab1|}}}|<span style="color:black;">'''{{{title1|{{{tab1|}}}}}}''']] | ||
|background: #8b0024;">[[{{{tab1|}}}|<span style="color:white;">'''{{{ | |background: #8b0024;">[[{{{tab1|}}}|<span style="color:white;">'''{{{title1|{{{tab1|}}}}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
Line 24: | Line 23: | ||
{{#if: {{{tab2fullurl|}}} | {{#if: {{{tab2fullurl|}}} | ||
|<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: | <div style="width:15%; height:38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px; line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 2 | {{#ifeq: {{{currenttab|}}} | 2 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab2fullurl|}}} | |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab2fullurl|}}} | ||
Line 33: | Line 32: | ||
|{{#if: {{{tab2|}}} | |{{#if: {{{tab2|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 2 | {{#ifeq: {{{currenttab|}}} | 2 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab2|}}}|<span style="color:black;">'''{{{ | |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab2|}}}|<span style="color:black;">'''{{{title2|{{{tab2|}}}}}}''']] | ||
|background: #8b0024;">[[{{{tab2|}}}|<span style="color:white;">'''{{{ | |background: #8b0024;">[[{{{tab2|}}}|<span style="color:white;">'''{{{title2|{{{tab2|}}}}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
Line 45: | Line 44: | ||
{{#if: {{{tab3fullurl|}}} | {{#if: {{{tab3fullurl|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 3 | {{#ifeq: {{{currenttab|}}} | 3 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab3fullurl|}}} | |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab3fullurl|}}} | ||
Line 54: | Line 53: | ||
|{{#if: {{{tab3|}}} | |{{#if: {{{tab3|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 3 | {{#ifeq: {{{currenttab|}}} | 3 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab3|}}}|<span style="color:black;">'''{{{ | |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab3|}}}|<span style="color:black;">'''{{{title3|{{{tab3|}}}}}}''']] | ||
|background: #8b0024;">[[{{{tab3|}}}|<span style="color:white;">'''{{{ | |background: #8b0024;">[[{{{tab3|}}}|<span style="color:white;">'''{{{title3|{{{tab3|}}}}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
Line 66: | Line 65: | ||
{{#if: {{{tab4fullurl|}}} | {{#if: {{{tab4fullurl|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 4 | {{#ifeq: {{{currenttab|}}} | 4 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab4fullurl|}}} | |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab4fullurl|}}} | ||
Line 75: | Line 74: | ||
|{{#if: {{{tab4|}}} | |{{#if: {{{tab4|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 4 | {{#ifeq: {{{currenttab|}}} | 4 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab4|}}}|<span style="color:black;">'''{{{ | |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab4|}}}|<span style="color:black;">'''{{{title4|{{{tab4|}}}}}}''']] | ||
|background: #8b0024;">[[{{{tab4|}}}|<span style="color:white;">'''{{{ | |background: #8b0024;">[[{{{tab4|}}}|<span style="color:white;">'''{{{title4|{{{tab4|}}}}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
Line 87: | Line 86: | ||
{{#if: {{{tab5fullurl|}}} | {{#if: {{{tab5fullurl|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 5 | {{#ifeq: {{{currenttab|}}} | 5 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab5fullurl|}}} | |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab5fullurl|}}} | ||
Line 96: | Line 95: | ||
|{{#if: {{{tab5|}}} | |{{#if: {{{tab5|}}} | ||
|<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: | <div style="width:15%; height: 38px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center; | ||
padding-top:7px; | padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;line-height: 30px; | ||
{{#ifeq: {{{currenttab|}}} | 5 | {{#ifeq: {{{currenttab|}}} | 5 | ||
|border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab5|}}}|<span style="color:black;">'''{{{ | |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab5|}}}|<span style="color:black;">'''{{{title1|{{{tab5|}}}}}}''']] | ||
|background: #8b0024;">[[{{{tab5|}}}|<span style="color:white;">'''{{{ | |background: #8b0024;">[[{{{tab5|}}}|<span style="color:white;">'''{{{title5|{{{tab5|}}}}}}''']] | ||
}} | }} | ||
</div> | </div> | ||
Line 107: | Line 106: | ||
}} | }} | ||
</div> | </div> | ||
{| class=" | {| class="vmobile noexcerpt" style="background: #8b0024;" | ||
|style="text-align: center; height: 50px;" |{{#if: {{{tab1fullurl|}}} | |style="text-align: center; height: 50px;" |{{#if: {{{tab1fullurl|}}} | ||
|{{{tab1fullurl}}} | |{{{tab1fullurl}}} | ||
|{{#if: {{{tab1|}}} | |{{#if: {{{tab1|}}} | ||
|{{#ifeq: {{{currenttab|}}} | 1 | |{{#ifeq: {{{currenttab|}}} | 1 | ||
|{{{tab1fullurl|[[{{{tab1|}}}|<span style="color:black;">'''{{{ | |{{{tab1fullurl|[[{{{tab1|}}}|<span style="color:black;">'''{{{title1|{{{tab1|}}}}}}''']]}}} | ||
|{{{tab1fullurl|[[{{{tab1|}}}|<span style="color:white;">'''{{{ | |{{{tab1fullurl|[[{{{tab1|}}}|<span style="color:white;">'''{{{title1|{{{tab1|}}}}}}''']]}}} | ||
}} | }} | ||
| | | | ||
Line 122: | Line 121: | ||
|{{#if: {{{tab2|}}} | |{{#if: {{{tab2|}}} | ||
|{{#ifeq: {{{currenttab|}}} | 2 | |{{#ifeq: {{{currenttab|}}} | 2 | ||
|{{{tab2fullurl|[[{{{tab2|}}}|<span style="color:black;">'''{{{ | |{{{tab2fullurl|[[{{{tab2|}}}|<span style="color:black;">'''{{{title2|{{{tab2|}}}}}}''']]}}} | ||
|{{{tab2fullurl|[[{{{tab2|}}}|<span style="color:white;">'''{{{ | |{{{tab2fullurl|[[{{{tab2|}}}|<span style="color:white;">'''{{{title2|{{{tab2|}}}}}}''']]}}} | ||
}} | }} | ||
| | | | ||
Line 132: | Line 131: | ||
|{{#if: {{{tab3|}}} | |{{#if: {{{tab3|}}} | ||
|{{#ifeq: {{{currenttab|}}} | 3 | |{{#ifeq: {{{currenttab|}}} | 3 | ||
|{{{tab3fullurl|[[{{{tab3|}}}|<span style="color:black;">'''{{{ | |{{{tab3fullurl|[[{{{tab3|}}}|<span style="color:black;">'''{{{title3|{{{tab3|}}}}}}''']]}}} | ||
|{{{tab3fullurl|[[{{{tab3|}}}|<span style="color:white;">'''{{{ | |{{{tab3fullurl|[[{{{tab3|}}}|<span style="color:white;">'''{{{title3|{{{tab3|}}}}}}''']]}}} | ||
}} | }} | ||
| | | | ||
}} | }} | ||
}} | }} | ||
|style="text-align: center; height: 50px;" |{{#if: {{{tab4fullurl|}}} | |class="vdesktop" style="text-align: center; height: 50px;" |{{#if: {{{tab4fullurl|}}} | ||
|{{{tab4fullurl}}} | |{{{tab4fullurl}}} | ||
|{{#if: {{{tab4|}}} | |{{#if: {{{tab4|}}} | ||
|{{#ifeq: {{{currenttab|}}} | 4 | |{{#ifeq: {{{currenttab|}}} | 4 | ||
|{{{tab4fullurl|[[{{{tab4|}}}|<span style="color:black;">'''{{{ | |{{{tab4fullurl|[[{{{tab4|}}}|<span style="color:black;">'''{{{title4|{{{tab4|}}}}}}''']]}}} | ||
|{{{tab4fullurl|[[{{{tab4|}}}|<span style="color:white;">'''{{{ | |{{{tab4fullurl|[[{{{tab4|}}}|<span style="color:white;">'''{{{title4|{{{tab4|}}}}}}''']]}}} | ||
}} | }} | ||
| | | | ||
}} | }} | ||
}} | }} | ||
|style="text-align: center; height: 50px;" |{{#if: {{{tab5fullurl|}}} | |class="vdekstop" style="text-align: center; height: 50px;" |{{#if: {{{tab5fullurl|}}} | ||
|{{{tab5fullurl}}} | |{{{tab5fullurl}}} | ||
|{{#if: {{{tab5|}}} | |{{#if: {{{tab5|}}} | ||
|{{#ifeq: {{{currenttab|}}} | 5 | |{{#ifeq: {{{currenttab|}}} | 5 | ||
|{{{tab5fullurl|[[{{{tab5|}}}|<span style="color:black;">'''{{{ | |{{{tab5fullurl|[[{{{tab5|}}}|<span style="color:black;">'''{{{title5|{{{tab5|}}}}}}''']]}}} | ||
|{{{tab5fullurl|[[{{{tab5|}}}|<span style="color:white;">'''{{{ | |{{{tab5fullurl|[[{{{tab5|}}}|<span style="color:white;">'''{{{title5|{{{tab5|}}}}}}''']]}}} | ||
}} | }} | ||
| | | | ||
Line 159: | Line 158: | ||
}} | }} | ||
| | | | ||
|} | |}</includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
{{pagetabs2 | {{pagetabs2 | ||
|tab1 = Test | |tab1 = Test | ||
|tab2 = User:{{ROOTPAGENAME}}/Trophies | |tab2 = User:{{ROOTPAGENAME}}/Trophies | ||
| | |title2 = Trophies | ||
|tab3 = Special:Contributions/{{ROOTPAGENAME}} | |tab3 = Special:Contributions/{{ROOTPAGENAME}} | ||
| | |title3 = Contributions | ||
|tab4 = Tab 4 | |tab4 = Tab 4 | ||
|tab5fullurl = Displaytext | |tab5fullurl = Displaytext | ||
|currenttab = 2 | |currenttab = 2 | ||
}} | }} | ||
{{Interface template}} {{delete}} |
Latest revision as of 11:22, 4 December 2023
Test | Trophies | Contributions | Tab 4 | Displaytext |