Template

Pagetabs

From Dogcraft Wiki

(Undo revision 10352 by Domino (talk))
Tag: Undo
No edit summary
Line 3: Line 3:
{{#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:20%; 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;">
Line 14: Line 14:
{{#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:20%; 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;">
Line 25: Line 25:
{{#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:20%; 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;">
Line 36: Line 36:
{{#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:20%; 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;">
Line 42: Line 42:
|background: #8b0024; color:white;">
|background: #8b0024; color:white;">
[[{{{tab4}}}|<span style="color:white;">'''{{{tab4text}}}''']]
[[{{{tab4}}}|<span style="color:white;">'''{{{tab4text}}}''']]
}}
</div>
|}}
{{#if: {{{tab5}}}
|<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;
{{#ifeq: {{{currenttab|}}} | 5
|border-bottom: 5px solid #ffffff; background: #ffffff; color:black;">
[[{{{tab5}}}|<span style="color:black;">'''{{{tab5text}}}''']]
|background: #8b0024; color:white;">
[[{{{tab5}}}|<span style="color:white;">'''{{{tab5text}}}''']]
}}
}}
</div>
</div>
Line 62: Line 73:
|tab3      = Special:Contributions/{{ROOTPAGENAME}}
|tab3      = Special:Contributions/{{ROOTPAGENAME}}
|tab3text  = Contributions
|tab3text  = Contributions
|tab4      =  
|tab4      = Tab 4
|tab4text  =
|tab4text  = Consult tab 5 for info
|tab5      = Tab 5
|tab5text  = This is required
|currenttab = 2
|currenttab = 2
}}
}}

Revision as of 19:17, 22 April 2020

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