Template

Main Page FA

From Dogcraft Wiki

m (adding header)
m (Text replacement - "Category:Main page templates" to "Category:Main page interface")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="mp-fa-container" style="display:flex; flex-direction:column; justify-content:space-between; background-color: #E9EDEF; color:#000; max-height:400px; height:100%;"><div id="mp-fa-title" style="order:1;">{{Header|{{#if: {{FeaturedArticleMP|mode=header}}|{{FeaturedArticleMP|mode=header}}|This month's Featured Article}}|margin=margin-top:0;}}</div>
{{Box
<div id="mp-fa-content" style="order:2; padding: 0 0.5em 0.2em 0.5em; background-color: #E9EDEF; overflow:auto; height:100%;">
|title={{#if: {{FeaturedArticleMP|mode=header}}|{{FeaturedArticleMP|mode=header}}|This month's Featured Article}}
<div id="mp-fa-img" style="float:left; margin: 0.3em 0.5em 0.4em 0em; max-width:25%; max-height:100%;">[[File:{{FeaturedArticleMP|mode=image}}|200px|{{FeaturedArticleMP|mode=caption}}]]</div>
|width=33%
<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>
|content=<div {{#if: {{FeaturedArticleMP|mode=description2}}|style="height:calc(50% - 0.3em);"|style="height:18.9em;"}}><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>
{{#if: {{FeaturedArticleMP|mode=description2}}|<hr style="order: 3;margin:0.3em 0.5em 0.3em 0.5em;">
{{clip text|{{FeaturedArticleMP|mode=description}}|link={{FeaturedArticleMP|mode=title}}|linktext=Full article|height={{#if:{{FeaturedArticleMP|mode=description}}|90%|auto}}}}</div>
<div id="mp-fa-content" style="order:4; padding: 0 0.5em 0.2em 0.5em; background-color: #E9EDEF; overflow:auto;">
{{#if: {{FeaturedArticleMP|mode=description2}}|<hr style="margin:0.3em 0.5em 0.3em 0.5em;">
<div id="mp-fa-img" style="float:right; margin: 0.3em 0.5em 0.4em 0em; max-width:25%; max-height:100%;">[[File:{{FeaturedArticleMP|mode=image2}}|200px|{{FeaturedArticleMP|mode=caption2}}]]</div>
<div style="height:calc(50% - 0.3em);"><div id="mp-fa-img" style="float:right; margin: 0.3em 0.5em 0.4em 0em; max-width:25%; max-height:100%;">[[File:{{FeaturedArticleMP|mode=image2}}|200px|{{FeaturedArticleMP|mode=caption2}}]]</div>
<span id="mp-fa-description" style="overflow-inline:hidden;">{{FeaturedArticleMP|mode=description2}}</span><span id="mp-fa-link">... <b>[[{{FeaturedArticleMP|mode=title2}}|(Full article)]]</b></span></div>|}}
{{clip text|{{FeaturedArticleMP|mode=description2}}|link={{FeaturedArticleMP|mode=title2}}|linktext=Full article|height=100%}}</div>}}
<div id="mp-fa-footer" style="order:{{#if: {{FeaturedArticleMP|mode=description2}}|5|3}}; 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 style="display:none;"><span id="mp-fa-articletitle">{{FeaturedArticleMP|mode=title}}</span><span id="mp-fa-contributor1">{{FeaturedArticleMP|mode=contributor1}}</span><span id="mp-fa-contributor2">{{FeaturedArticleMP|mode=contributor2}}</span><span id="mp-fa-contributor3">{{FeaturedArticleMP|mode=contributor3}}</span></span></div>
|footer=<div id="mp-fa-footer"><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}}]]|}} {{#if: {{FeaturedArticleMP|mode=credits}}|and [{{fullurl:{{FULLPAGENAME:{{FeaturedArticleMP|mode=title}}}}|action=credits}} others]|}}</span></div><span style="display:none;"><span id="mp-fa-articletitle">{{FeaturedArticleMP|mode=title}}</span><span id="mp-fa-contributor1">{{FeaturedArticleMP|mode=contributor1}}</span><span id="mp-fa-contributor2">{{FeaturedArticleMP|mode=contributor2}}</span><span id="mp-fa-contributor3">{{FeaturedArticleMP|mode=contributor3}}</span></span></div></div>
}}<noinclude>[[Category:Main page interface]]</noinclude>

Latest revision as of 12:28, 4 December 2023

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.
Survival 5William