Difference between revisions of "Template:SecondaryEventsMP"
Jump to navigation
Jump to search
>Caledor92 (add some spacing between images) |
>Eave m |
||
| (41 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude> | + | <noinclude>{{Doc}}[[Category:Templates]]</noinclude><includeonly>{{#widget:Template/SecondaryEventsMP/css}}<div class="SecondaryEventsMP" style="padding-bottom:1em;padding-right:3px;"> |
| − | + | {{#if: {{{OfficialLink|}}} <!--Check if OfficialLink exists; include if it does--> | |
| − | + | |[[File:{{{ImageFile}}}|link={{{PageLink}}}]]<div style="width: 300px">[[{{{PageLink}}}|{{{Name}}}]] [{{{OfficialLink}}}] | |
| − | + | {{Countdown|EventName={{{_rowID}}}|TimeStart={{#time:F d, Y h:i:s A e|{{{StartDate}}}}}|TimeEnd={{#time:F d, Y h:i:s A e|{{{EndDate}}}}}}} | |
| − | + | |[[File:{{{ImageFile}}}|link={{{PageLink}}}]][[{{{PageLink}}}|{{{Name}}}]] | |
| − | + | {{Countdown|EventName={{{_rowID}}}|TimeStart={{#time:F d, Y h:i:s A e|{{{StartDate}}}}}|TimeEnd={{#time:F d, Y h:i:s A e|{{{EndDate}}}}}}} | |
| − | + | }}</div > | |
| − | + | </div></includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }}<div class="SecondaryEventsMP" style=" | ||
Latest revision as of 14:29, 27 March 2020
(Secondary Events Main Page) - Parses secondary events cargo field into a formatted banner, used on the Main Page.
Usage
{{SecondaryEventsMP
|Name =
|ImageFile =
|PageLink =
|OfficialLink = // Link to official Dragalia Lost News article
|StartDate =
|EndDate =
}}
Examples
{{SecondaryEventsMP
|Name=Imperial Onslaught Double Drops (Wind, Water,Shadow)
|ImageFile=Banner Top The Imperial Onslaught Event Details.png
|PageLink=Event Quests#Imperial Onslaught
|OfficialLink=https://dragalialost.com/en/news/detail/1181
|StartDate=1-1-2020 06:00 UTC
|EndDate=1-1-2030 05:59:59 UTC
}}
