Template

Pagetabs2

From Dogcraft Wiki

(Difference between pages)
No edit summary
 
No edit summary
 
Line 1: Line 1:
<includeonly><div class="vdesktop noexcerpt" style="width:100%; height: 50px; border-bottom: 5px solid #8b0024;">
<div id="mp-fa-container" style="display:flex; flex-direction:column; justify-content:space-between; background-color: #E9EDEF; color:#000; max-height:400px;"><div id="mp-fa-title" style="order:1;">{{Header|This month's Featured Article|margin=margin-top:0;}}</div>
{{#if: {{{tab1fullurl|}}}
<div id="mp-fa-content" style="order:2; padding: 0 0.5em 0.2em 0.5em; background-color: #E9EDEF; overflow:auto;">
  |<div style="width:5px; height:50px; border-bottom: 5px solid #8b0024; background: #ffffff; float:left;"></div>
<div id="mp-fa-img" style="float:left; margin: 0.3em 0.5em 0.4em 0em; max-width:50%; max-height:100%;">[[File:{{FeaturedArticleMP|mode=image}}|200px|{{FeaturedArticleMP|mode=caption}}]]</div>
  <div style="width:19%; height: 50px; border-style:solid; border-color: #8b0024; border-width: 5px; float:left; text-align:center;
<span id="mp-fa-description" style="overflow-inline:hidden;">{{FeaturedArticleMP|mode=description}}</span><span id="mp-fa-link">... <b>[[{{FeaturedArticleMP|mode=title}}|(Full article)]]</b></span></div>
  padding-top:7px; border-top-left-radius: 15px; border-top-right-radius: 15px;
<div id="mp-fa-footer" style="order:3; width:100%; padding: 0 0.5em 0.2em 0.5em;"><hr style="margin:0.3em 0 0.3em 0;"><b>Major contributor(s):</b><span style="float:right;">{{#if: {{FeaturedArticleMP|mode=contributor3}}|[[User:{{FeaturedArticleMP|mode=contributor3}}|{{FeaturedArticleMP|mode=contributor3}}]],|}} {{#if: {{FeaturedArticleMP|mode=contributor2}}|[[User:{{FeaturedArticleMP|mode=contributor2}}|{{FeaturedArticleMP|mode=contributor2}}]],|}} {{#if: {{FeaturedArticleMP|mode=contributor1}}|[[User:{{FeaturedArticleMP|mode=contributor1}}|{{FeaturedArticleMP|mode=contributor1}}]]|}}</span></div><span id="mp-fa-articletitle" style="display:none;">{{FeaturedArticleMP|mode=title}}</span><span id="mp-fa-contributor1" style="display:none;">{{FeaturedArticleMP|mode=contributor1}}</span><span id="mp-fa-contributor2" style="display:none;">{{FeaturedArticleMP|mode=contributor2}}</span><span id="mp-fa-contributor3" style="display:none;">{{FeaturedArticleMP|mode=contributor3}}</span></div>
  {{#ifeq: {{{currenttab|}}} | 1
      |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab1fullurl|}}}
      |background: #8b0024;">{{{tab1fullurl|}}}
  }}
  </div>
  |{{#if: {{{tab1|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
    {{#ifeq: {{{currenttab|}}} | 1
      |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab1|}}}|<span style="color:black;">'''{{{tab1text|{{{tab1|}}}}}}''']]
      |background: #8b0024;">[[{{{tab1|}}}|<span style="color:white;">'''{{{tab1text|{{{tab1|}}}}}}''']]
  }}
  </div>
  |
}}
}}
{{#if: {{{tab2fullurl|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
  {{#ifeq: {{{currenttab|}}} | 2
      |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab2fullurl|}}}
      |background: #8b0024;">{{{tab2fullurl|}}}
  }}
  </div>
  |{{#if: {{{tab2|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
    {{#ifeq: {{{currenttab|}}} | 2
      |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab2|}}}|<span style="color:black;">'''{{{tab2text|{{{tab2|}}}}}}''']]
      |background: #8b0024;">[[{{{tab2|}}}|<span style="color:white;">'''{{{tab2text|{{{tab2|}}}}}}''']]
  }}
  </div>
  |
}}
}}
{{#if: {{{tab3fullurl|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
  {{#ifeq: {{{currenttab|}}} | 3
      |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab3fullurl|}}}
      |background: #8b0024;">{{{tab3fullurl|}}}
  }}
  </div>
  |{{#if: {{{tab3|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
    {{#ifeq: {{{currenttab|}}} | 3
      |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab3|}}}|<span style="color:black;">'''{{{tab3text|{{{tab3|}}}}}}''']]
      |background: #8b0024;">[[{{{tab3|}}}|<span style="color:white;">'''{{{tab3text|{{{tab3|}}}}}}''']]
  }}
  </div>
  |
}}
}}
{{#if: {{{tab4fullurl|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
  {{#ifeq: {{{currenttab|}}} | 4
      |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab4fullurl|}}}
      |background: #8b0024;">{{{tab4fullurl|}}}
  }}
  </div>
  |{{#if: {{{tab4|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
    {{#ifeq: {{{currenttab|}}} | 4
      |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab4|}}}|<span style="color:black;">'''{{{tab4text|{{{tab4|}}}}}}''']]
      |background: #8b0024;">[[{{{tab4|}}}|<span style="color:white;">'''{{{tab4text|{{{tab4|}}}}}}''']]
  }}
  </div>
  |
}}
}}
{{#if: {{{tab5fullurl|}}}
  |<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; border-top-left-radius: 15px; border-top-right-radius: 15px;
  {{#ifeq: {{{currenttab|}}} | 5
      |border-bottom: 5px solid #ffffff; background: #ffffff;">{{{tab5fullurl|}}}
      |background: #8b0024;">{{{tab5fullurl|}}}
  }}
  </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; border-top-left-radius: 15px; border-top-right-radius: 15px;
    {{#ifeq: {{{currenttab|}}} | 5
      |border-bottom: 5px solid #ffffff; background: #ffffff;">[[{{{tab5|}}}|<span style="color:black;">'''{{{tab1text|{{{tab5|}}}}}}''']]
      |background: #8b0024;">[[{{{tab5|}}}|<span style="color:white;">'''{{{tab5text|{{{tab5|}}}}}}''']]
  }}
  </div>
  |
}}
}}
</div>
{| class="vmobile noexcerpt" style="background: #8b0024;"
|style="text-align: center; height: 50px;" |{{#if: {{{tab1fullurl|}}}
  |{{{tab1fullurl}}}
  |{{#if: {{{tab1|}}}
      |{{#ifeq: {{{currenttab|}}} | 1
        |{{{tab1fullurl|[[{{{tab1|}}}|<span style="color:black;">'''{{{tab1text|{{{tab1|}}}}}}''']]}}}
        |{{{tab1fullurl|[[{{{tab1|}}}|<span style="color:white;">'''{{{tab1text|{{{tab1|}}}}}}''']]}}}
      }}
      |
  }}
}}
|style="text-align: center; height: 50px;" |{{#if: {{{tab2fullurl|}}}
  |{{{tab2fullurl}}}
  |{{#if: {{{tab2|}}}
      |{{#ifeq: {{{currenttab|}}} | 2
        |{{{tab2fullurl|[[{{{tab2|}}}|<span style="color:black;">'''{{{tab2text|{{{tab2|}}}}}}''']]}}}
        |{{{tab2fullurl|[[{{{tab2|}}}|<span style="color:white;">'''{{{tab2text|{{{tab2|}}}}}}''']]}}}
      }}
      |
  }}
}}
|style="text-align: center; height: 50px;" |{{#if: {{{tab3fullurl|}}}
  |{{{tab3fullurl}}}
  |{{#if: {{{tab3|}}}
      |{{#ifeq: {{{currenttab|}}} | 3
        |{{{tab3fullurl|[[{{{tab3|}}}|<span style="color:black;">'''{{{tab3text|{{{tab3|}}}}}}''']]}}}
        |{{{tab3fullurl|[[{{{tab3|}}}|<span style="color:white;">'''{{{tab3text|{{{tab3|}}}}}}''']]}}}
      }}
      |
  }}
}}
|style="text-align: center; height: 50px;" |{{#if: {{{tab4fullurl|}}}
  |{{{tab4fullurl}}}
  |{{#if: {{{tab4|}}}
      |{{#ifeq: {{{currenttab|}}} | 4
        |{{{tab4fullurl|[[{{{tab4|}}}|<span style="color:black;">'''{{{tab4text|{{{tab4|}}}}}}''']]}}}
        |{{{tab4fullurl|[[{{{tab4|}}}|<span style="color:white;">'''{{{tab4text|{{{tab4|}}}}}}''']]}}}
      }}
      |
  }}
}}
|style="text-align: center; height: 50px;" |{{#if: {{{tab5fullurl|}}}
  |{{{tab5fullurl}}}
  |{{#if: {{{tab5|}}}
      |{{#ifeq: {{{currenttab|}}} | 5
        |{{{tab5fullurl|[[{{{tab5|}}}|<span style="color:black;">'''{{{tab5text|{{{tab5|}}}}}}''']]}}}
        |{{{tab5fullurl|[[{{{tab5|}}}|<span style="color:white;">'''{{{tab5text|{{{tab5|}}}}}}''']]}}}
      }}
      |
  }}
}}
|
|}</includeonly><noinclude>
{{pagetabs2
|tab1          = Test
|tab2          = User:{{ROOTPAGENAME}}/Trophies
|tab2text      = Trophies
|tab3          = Special:Contributions/{{ROOTPAGENAME}}
|tab3text      = Contributions
|tab4          = Tab 4
|tab5fullurl    = Displaytext
|currenttab    = 2
}}

Revision as of 22:53, 28 February 2021

This month's Featured Article

Akita Spawn.png
Survival 5 was the fifth iteration of Survival Multiplayer worlds on the Dogcraft Server. It succeeded Survival 4 and brought with it the update to Minecraft 1.18: Caves & Cliffs: Part II. Launched on March 18, 2022, the season spanned four parallel worlds (an increase of two from the previous season) — Shepherd, Akita, Labrador and Corgi. A few months into the season, the server economy was reset and new systems were put in place for Dogcraft Dollars and Player Homes; a fifth Mall world launched alongside this.... (Full article)
This page was last modified on 28 February 2021, at 22:53. (4 months ago)