Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Main Page: Difference between revisions

From Jules RNG Wiki
No edit summary
Tag: Reverted
m Reverted edits by Texyc (talk) to last revision by MediaWiki default
Tags: Rollback Reverted
Line 1: Line 1:
local p = {}
<strong>MediaWiki has been installed.</strong>


function p.render(frame)
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.
local div = mw.html.create("div")


div:css({
== Getting started ==
-- LAYOUT FIXES
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]
["display"] = "flow-root", -- Prevents overlap
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]
["margin"] = "0 0 1.5em 0",
* [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ MediaWiki release mailing list]
["padding"] = "1.5em",
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]
["text-align"] = "center",
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]
 
-- CITIZEN SKIN STYLING
["background"] = "var(--color-surface-2)",
["border"] = "1px solid var(--border-color-base)",
["border-radius"] = "var(--border-radius-base, 10px)",
["box-shadow"] = "var(--box-shadow-level-1)",
["color"] = "var(--color-base)",
["font-weight"] = "400",
})
 
-- 1. MAIN HEADING
-- Replaces "== Welcome ==" to avoid parser bugs and edit buttons
div:tag("h2")
:css({
["border-bottom"] = "none", -- Removes the default wiki underline
["margin"] = "0 0 10px 0",
["font-weight"] = "bold",
["font-size"] = "1.8em",
["line-height"] = "1.2",
["font-family"] = "var(--font-family-header)", -- Matches skin font
})
:wikitext("Welcome to the Jule's RNG Wiki!")
 
-- 2. GALLERY
local galleryImages = table.concat({
"image1=File:ThumbEvo13.png",
"image2=File:ThumbGen1.png",
"image3=File:ThumbGen2.png",
}, "|")
 
div:wikitext(frame:preprocess("{{Slider|height=450px|interval=4000|" .. galleryImages .. "}}"))
 
-- 3. SUB-HEADING (Your ultimate guide...)
div:tag("div")
:css({
["font-size"] = "1.2em",
["font-weight"] = "bold",
["margin-top"] = "15px",
["font-style"] = "italic",
})
:wikitext("Your ultimate guide to Jule's RNG!")
 
-- 4. DESCRIPTION (Learn about...)
div:tag("div")
:css({
["color"] = "var(--color-subtle)", -- Muted text color
["font-style"] = "italic",
["margin-top"] = "5px",
["font-size"] = "0.95em",
})
:wikitext("Learn about its Items, Auras, and Game Mechanics. We'd like you to help us edit this wiki!")
 
return tostring(div)
end
 
return p

Revision as of 04:13, 27 January 2026

MediaWiki has been installed.

Consult the User's Guide for information on using the wiki software.

Getting started