Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.
Module:Sandbox/Calendar/events: Difference between revisions
From WiKirby, your independent source of Kirby knowledge.
< Module:Sandbox | Calendar
Jump to navigationJump to search
(Created page with "local event = { [1] = { [25] = {"mario", "luigi"}, [26] = {"bowser"}, [30] = {"peach", "DK", "sonic"} } } return event") |
m (modified to birthday dates!) |
||
Line 1: | Line 1: | ||
--[[ | |||
inside the event variable there's the first object, which represents the | |||
number of the month (no 0-padded) | |||
[1] -> January | |||
[2] -> Feburary | |||
etc... | |||
inside each month object | |||
[5] = { | |||
[15] -> May 15th | |||
} | |||
each day has a Lua table with the events | |||
(don't forget the comma after the table or it'll break!!) | |||
[15] = {"event 1", "event 2"}, | |||
[24] = {"event 3", "event 4"} | |||
for testing purposes, try adding your birthday! | |||
--]] | |||
local event = { | local event = { | ||
[1] = { | [1] = { | ||
[ | [21] = {"[[user:Ampera|]]"}, | ||
[ | }, | ||
[30] = {" | [2] ={ | ||
} | [17] = {"[[user:DeepFriedCabbage|]]"}, | ||
}, | |||
[3] = { | |||
[8] = {"[[user:Gigi|]]"}, | |||
[27] = {"[[user:StarPunch|]]"}, | |||
}, | |||
[4] = { | |||
[30] = {"[[user:Jellytost♡|]]"}, | |||
}, | |||
[5] = { | |||
[23] = {"[[user:Lakelimbo|Lake]]"}, | |||
}, | |||
[8] = { | |||
[4] = {"[[user:Zolerian Yuviaflero|]]"}, | |||
}, | |||
[10] = { | |||
[2] = {"[[user:Basic Person|]]"}, | |||
[23] = {"[[user:Starvoid|]]"}, | |||
}, | |||
} | } | ||
return event | return event |
Revision as of 03:07, 25 January 2023
This is the list of events for Module:Sandbox/Calendar. Within the number of the month of the event, add them in the format [dayNumber] = {"Event 1 display text", "Event 2 display text", "etc."},
.
--[[ inside the event variable there's the first object, which represents the number of the month (no 0-padded) [1] -> January [2] -> Feburary etc... inside each month object [5] = { [15] -> May 15th } each day has a Lua table with the events (don't forget the comma after the table or it'll break!!) [15] = {"event 1", "event 2"}, [24] = {"event 3", "event 4"} for testing purposes, try adding your birthday! --]] local event = { [1] = { [21] = {"[[user:Ampera|]]"}, }, [2] ={ [17] = {"[[user:DeepFriedCabbage|]]"}, }, [3] = { [8] = {"[[user:Gigi|]]"}, [27] = {"[[user:StarPunch|]]"}, }, [4] = { [30] = {"[[user:Jellytost♡|]]"}, }, [5] = { [23] = {"[[user:Lakelimbo|Lake]]"}, }, [8] = { [4] = {"[[user:Zolerian Yuviaflero|]]"}, }, [10] = { [2] = {"[[user:Basic Person|]]"}, [23] = {"[[user:Starvoid|]]"}, }, } return event