|
|
| Line 17: |
Line 17: |
| }} | | }} |
|
| |
|
| {{#invoke:Eval|run| | | {{#invoke:MainPageBanner|render}} |
| 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)
| |
| }} | |
|
| |
|
| {{LinkGrid | | {{LinkGrid |
Welcome to the Jule's RNG Wiki!
Your ultimate guide to Jule's RNG!
Learn about its Items, Auras, and Game Mechanics. We'd like you to help us edit this wiki!
Over 500+ unique auras to collect! Ranging from event auras, to biome exclusive auras. There's tons of auras to discover!
Increase your luck, roll speed, Gem multiplier, and more with potions, biome randomizers, night bells, and much much more.
Grind for Potions and Gems in interactive games.
Complete Achievements to earn gems! Show off your dedication by finishing them all!
Discover rare and unique biomes! Collect exclusive Biome Specific Auras!
Show your holiday spirit by collecting limited-themed auras! Collect them all before they're gone!