Main Page: Difference between revisions
From Jules RNG Wiki
More actions
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
| dev_id3 = 55615468 | | dev_id3 = 55615468 | ||
| contributors = | | contributors = [[User:Toaste]] (Wiki) | ||
}} | |||
<!-- Banner> | |||
{{#invoke:Eval|run| | |||
local frame = mw.getCurrentFrame() | |||
-- 1. Create the Main Div | |||
local div = mw.html.create('div') | |||
-- 2. Apply CSS Styles | |||
div:css({ | |||
['max-width'] = '100%', | |||
['width'] = '100%', | |||
['margin'] = 'auto', | |||
['text-align'] = 'center', | |||
['font-size'] = 'x-large', | |||
['padding'] = '1.5em', | |||
['background'] = 'linear-gradient(135deg, #222, #1a1a1a)', | |||
['border'] = '2px solid #444', | |||
['border-radius'] = '10px', | |||
['margin-bottom'] = '1.5em', | |||
['color'] = '#ddd', | |||
['font-weight'] = '400' | |||
}) | |||
-- 3. Add Heading 1 | |||
div:wikitext("== '''<big>Welcome to the Jule's RNG Wiki!</big>''' ==\n") | |||
-- 4. Add the Gallery | |||
-- We use frame:extensionTag to generate the <gallery> HTML safely | |||
local galleryImages = [[ | |||
File:Julesrngevo12thumb.webp | |||
File:Evoa.png | |||
File:Purple43.png | |||
File:GatewayBanner.webp | |||
File:ZeroBanner.webp | |||
File:Thumbnaileo.png | |||
]] | |||
div:wikitext(frame:extensionTag('gallery', galleryImages, { | |||
type = 'slider', | |||
bordersize = 'medium', | |||
position = 'center' | |||
})) | |||
-- 5. Add Bottom Text | |||
div:wikitext("\n== ''Your ultimate guide to Jule's RNG!'' ==\n") | |||
div:wikitext("=== ''Learn about its Items, Auras, and Game Mechanics. We'd like you to help us edit this wiki!'' ===") | |||
return tostring(div) | |||
}} | }} | ||
Revision as of 03:51, 27 January 2026