Difference between revisions of "User:Caledor92/Sandbox4"
Jump to navigation
Jump to search
>Caledor92 (dragoon roost stuff, takemika's name overlap fix) |
>Canim44 (#css → #widget/css) |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#widget:User/Caledor92/Sandbox4/css}} |
| − | | | + | <div class="latest-events-mp"> |
| − | | | + | <div style="padding-bottom:10px;text-align:center"> |
| − | | | + | {{#tag:tabber |
| − | | | + | |Ongoing= |
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=Events | ||
| + | |q?fields=Name,StartDate,EndDate | ||
| + | |q?orderBy=StartDate DESC, Name ASC | ||
| + | |q?groupBy=_pageName | ||
| + | |q?where=NOW() between StartDate and EndDate | ||
| + | |template=EventsMP | ||
| + | |default= | ||
| + | |more results text= | ||
| + | }} | ||
| + | <div class="mp-menu-item-body"> | ||
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=SecondaryEvents | ||
| + | |q?fields=Name,ImageFile,PageLink,OfficialLink,StartDate,EndDate,_rowID | ||
| + | |q?orderBy=StartDate ASC, Name ASC | ||
| + | |q?groupBy= | ||
| + | |q?where=NOW() between StartDate and EndDate AND _pageName='Dragalia Lost Wiki/Secondary Events' | ||
| + | |template=SecondaryEventsMP | ||
| + | |default= | ||
| + | |more results text= | ||
| + | }} | ||
| + | </div> | ||
| + | {{!}}-{{!}} | ||
| + | Upcoming= | ||
| + | <div class="mp-menu-item-body"> | ||
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=Events | ||
| + | |q?fields=Name,StartDate,EndDate | ||
| + | |q?orderBy=StartDate DESC, Name ASC | ||
| + | |q?groupBy=_pageName | ||
| + | |q?where=StartDate >= NOW() | ||
| + | |template=EventsMP | ||
| + | |default= | ||
| + | |more results text= | ||
| + | }} | ||
| + | </div> | ||
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=SecondaryEvents | ||
| + | |q?fields=Name,ImageFile,PageLink,OfficialLink,StartDate,EndDate,_rowID | ||
| + | |q?orderBy=StartDate ASC, Name ASC | ||
| + | |q?groupBy= | ||
| + | |q?where=StartDate >= NOW() AND _pageName='Dragalia Lost Wiki/Secondary Events' | ||
| + | |template=SecondaryEventsMP | ||
| + | |default= | ||
| + | |more results text= | ||
| + | }} | ||
| + | }} | ||
| + | </div> | ||
| + | </div> | ||
Latest revision as of 18:51, 23 February 2020
Lua error: Error: Table Events not found..
Lua error: Error: Table SecondaryEvents not found..