Module

DYK

From Dogcraft Wiki

(Difference between pages)
No edit summary
 
(Undo revision 17259 by Domino (talk))
Tag: Undo
 
Line 1: Line 1:
local p = {} --p stands for package
<div class="vdesktop" style="position:relative; height:250px">
<div style="position:absolute; width:100%; height:100%;">
<ul class="example-orbit" style="max-height:250px;" data-orbit data-options="animation:fade;
                  pause_on_hover:false;
                  animation_speed:500;
                  navigation_arrows:false;
                  slide_number: false;
                  timer_speed: 7000;
                  bullets:false;">
  <li class="active">
    [[File:Survival 1 Banner.png|1400px|link=Survival 1]]
  </li>
  <li>
    [[File:Survival 2 Banner.png|1400px|link=Survival 2]]
  </li>
  <li>
    [[File:Survival 3 Banner.png|1400px|link=Survival 3]]
  </li>
  <li>
    [[File:Survival 4 Banner.png|1400px|link=Survival 4]]
  </li>
</ul></div>


function p.random( frame )
<div style="position:absolute; width:100%; height:100%; padding:20px 0;"><div style="text-align:center; color:#000; background-color: #E9EDEF; width:60%; margin:auto; border-radius:15px;border: 5px solid #e9edef;box-shadow: 2px 0 5px 0 rgba(85, 85, 85, 0.25), 2px 0 10px 0 rgba(85, 85, 85, 0.25), inset 0 0 0 4px {{main-color}};">{{Header|Welcome to the Dogcraft Wiki|margin=border-top-left-radius:15px; border-top-right-radius:15px; margin:0; margin-bottom:0.5em;}}<div style="padding:1em; padding-top:0;">
    if (frame.args[mode] == "multiply") then
We're dedicated to recording everything about [[ReNDoG]]'s [[Dogcraft.net|Dogcraft community]] and his [[Dogcraft Server|official Minecraft fan-server]], server.dogcraft.net!
    seed = os.date("%d")*os.date("%m")*os.date("%y")
We have '''{{NUMBEROFARTICLES}} articles''' and '''{{NUMBEROFEDITS}}''' edits so far as well as '''{{NUMBEROFFILES}}''' images and videos from the community.
    else
Please join our goal of building a comprehensive source for information on all things Dogcraft!<br /></div></div></div></div>{{Main Page Slider Mobile}}
    seed = os.date("%d")+os.date("%m")+os.date("%y")
    end
    math.randomseed(seed)
length = frame.args[lenght] or 30
randnum = math.random(1,length)
    return randnum
end


function randomdaily( maxrandom, seed )
<div style="padding-top:.5rem;"></div><div style="background-color: #E9EDEF; color:#000; overflow-x:hidden;">{{Header|The Dogcraft Community & Server|margin=margin-top:0;}}<div class="vdesktop">
    math.randomseed(seed)
<gallery class="mainpagegallery" mode="packed" position="center" spacing="medium" orientation="none" navigation="true" style="margin:0;">
length = maxrandom or 30
ServerInfo.png|'''Overview'''|link=About the Server
randnum = math.random(1,length)
Builds.png|'''Builds'''|link=Category:Builds
    return randnum
Events_icon.png|'''Events'''|link=Events
end
Worlds.png|'''Worlds'''|link=Worlds
ReNDoG.png|'''ReNDoG'''|link=ReNDoG
Website_icon.png|'''Website'''|link=Dogcraft.net
Settlements.png|'''Settlements'''|link=Category:Settlements
WorldDownloads.png|'''Downloads'''|link=World Downloads
ServerGuides.png|'''Server Guides'''|link=Server Guides
</gallery></div>{{Main Page Cogs Mobile}}</div>


function p.facts( frame )
{|class="mainpagefullscreen" style="height:100%; margin-bottom:0;"
text = frame.args[text] or ""
|class="mainpagefullscreen" style="padding:0 0 0 0; width:30%; "|<div class="" style="padding-top:.5rem;"></div><div style="color:#000; background-color: #E9EDEF; height:400px;">{{Header|Did you know...|margin=margin-top:0;}}
    facts = {}
{{Did you know}}
i = 1
</div>
result = ""
|class="mainpagefullscreen" style="padding:0 .5rem; width:30%; " |<div style="padding-top:.5rem;"></div><div style="color:#000; background-color: #E9EDEF; height:400px;">{{Header|About the Dogcraft Wiki|margin=margin-top:0;}}<div style="padding:0 5px;">
resulttable = {}
{|style="margin:0em"
<center>
for fact in string.gmatch(text, '%* %.%.%. .-?') do
<h4>Edit the Wiki</h4>
facts[i] = fact
<span class="vdesktop">[https://dogcraft.net/u/login?return=/wiki/Main%20Page Sign in] to your Dogcraft account to make a page! Write about your base, a project, or edit an existing page to add more information.
i = i + 1
<br></span>
end
[[Dogcraft Wiki:Guidelines|{{Clickable button | 1= Help Editing| color=white }}]] [[Dogcraft Wiki:Create an Article|{{Clickable button | 1= Make an Article| color=blue }}]]</center>
|<hr style="margin:0em;"><center>
count = 1
<h4>Wiki News</h4></center>
count = tonumber(frame.args[count]) or 1
{{:Main Page/NewsScroll}}
if (count > 5) then
|-
count = 5
<br>
elseif (count < 1) then
|}</div>
count = 1
</div>
end
|class="mainpagefullscreen" style="padding:0 0px 0px 15px; padding-left:0; width:30%;" |<div style="padding-top:.5rem;"></div><div style="color:#000; background-color: #E9EDEF; height:400px;">
for i=1,count do
{{Main Page FA}}
key = randomdaily(facts.getn, os.date("%d")*os.date("%m")*os.date("%y")*count)
|}
resulttable[i] = facts[key]
end
result = table.concat(resulttable, "\n", 1, count)
return result
end


return p
<br>
__NOTOC__
__NOEDITSECTION__
__NONEWSECTIONLINK__
{{DEFAULTSORT:Main Page Sanbox}}
[[Category:Browse]]

Revision as of 01:27, 1 April 2021

  • Survival 1 Banner.png
  • Survival 2 Banner.png
  • Survival 3 Banner.png
  • Survival 4 Banner.png

Welcome to the Dogcraft Wiki

We're dedicated to recording everything about ReNDoG's Dogcraft community and his official Minecraft fan-server, server.dogcraft.net! We have 670 articles and 36,140 edits so far as well as 5,661 images and videos from the community.

Please join our goal of building a comprehensive source for information on all things Dogcraft!
Survival 1 Banner.png
Survival 2 Banner.png
Survival 3 Banner.png
Survival 4 Banner.png
Survival 5 Banner.png

Welcome to the Dogcraft Wiki

We're dedicated to recording everything about ReNDoG's Dogcraft community and his official minecraft fan-server, server.dogcraft.net!

We have 670 articles and 36,140 edits so far as well as 5,661 images and videos from the community.

Please join our goal of building a comprehensive source for information on all things Dogcraft!

The Dogcraft Community & Server

Template:Main Page Cogs Mobile

Did you know...

  • ... that during periods where there was no server Dynmap, players took mapping into their own hands by creating the Great Survival Map (Survival 2) and later the Grand Map (Survival 3)?
  • ... that the competitive aerial sport of Elytra racing was a popular pastime on the original Survival world, even before rocket-boosting was added to the game?
  • ... that in Nitro UHC, if you build a snowman, it has a 75% chance of dropping 8 Lapis Lazuli?

About the Dogcraft Wiki

Edit the Wiki

Sign in to your Dogcraft account to make a page! Write about your base, a project, or edit an existing page to add more information.

Help Editing Make an Article


Wiki News

  • 20.png XPModder has joined the Wiki Admin team! (30/09/23)
  • The "Survival 5 Reflections of the Dogs" event has started, and World Downloads submissions are now open! (13/09/23)
  • We've hit 600 pages! The 600th page is Station Competition by 20.png eybwam. (12/09/23)
  • The Main Page has been refreshed with an improved look! (14/07/2023)
  • The Reflections Survival 4 event has ended. (16/03/22)
  • We've reached 450 pages with the creation of Spawn Build Challenge 2019! (02/03/22)
  • We've launched the Reflections Survival 4 event! (09/01/22)
  • We've reached 400 pages! (04/10/21)
  • We've reached 350 pages! (11/07/21)
  • The Reflections 2020 event has ended. (01/02/21)
  • We've reached 300 pages! (10/01/21)
  • We've launched the Reflections 2020 event! (02/01/21)
  • The Wiki sign-in process has been improved (06/12/20)
  • We've reached 275 pages! (06/12/20)
  • We've reached 250 pages! (04/07/20)
  • We've reached 225 pages! (03/04/20)
  • The Dogcraft Wiki now uses Dogcraft.net accounts. (22/03/20)
  • We've reached 175 pages! (15/01/20)
  • We've reached 150 pages! (03/01/20)
  • The Reflecting on 2019 Event has been launched! (02/01/20)
  • The Dogcraft Wiki is now official and has moved. (06/09/2019)
  • We've reached 125 pages! (05/08/2019)
  • We've reached 100 pages! (04/07/2019)
  • Navboxes are being added across the wiki (03/18/2019)
  • The wiki domain has migrated to *.fandom.com (02/23/2019)
  • Darparniox has been made a wiki administrator. (02/17/2019)
  • The vote on a wiki merge to make an all-purpose ReNDoG wiki was turned town, solidifying the aim of this wiki. (02/12/2019)

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


This page was last modified on 1 April 2021, at 01:27. (19 months ago)
Background Dragon Slayer - Retriever by Ironboundred