Difference between revisions of "Template:EndeavorSetsEventDisplay"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(adding width 100% style)
>Boblers
(changing header to bolded text)
Line 1: Line 1:
 
<noinclude>{{Doc}}[[Category:Templates]]</noinclude><includeonly>
 
<noinclude>{{Doc}}[[Category:Templates]]</noinclude><includeonly>
 
<div class="EndeavorSetsEventDisplay">
 
<div class="EndeavorSetsEventDisplay">
===={{{Name}}}====
+
'''{{{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}}}}}}}
 
{{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}}}}}}}
 
{{#if:{{{Description|}}}|{{{Description|}}}{{Clear}}|}}These Endeavors occurred from {{{StartDate}}} to {{{EndDate}}}.
 
{{#if:{{{Description|}}}|{{{Description|}}}{{Clear}}|}}These Endeavors occurred from {{{StartDate}}} to {{{EndDate}}}.

Revision as of 02:55, 6 April 2020

50px Documentation

(Endeavor Sets Event Display) - Parses endeavor sets cargo field into a formatted header and table, similar to Template:EndeavorSetsDisplay, but used on Event pages rather than the Endeavors page.

Usage

{{EndeavorSetsEventDisplay
|Name         =
|Type         =
|Description  =
|StartDate    =
|EndDate      =
}}

Examples

Catch-Up Campaign (Oct 2019)

Ends in:
These endeavors are a set of examples.
These Endeavors occurred from 11-10-2019 06:00 UTC to 18-10-2029 05:59:59 UTC.
# Description Reward
Error: Table EndeavorSetsRow not found.
{{EndeavorSetsEventDisplay
|Name         = Catch-Up Campaign (Oct 2019)
|Type         = Limited
|Description  = These endeavors are a set of examples.
|StartDate    = 11-10-2019 06:00 UTC
|EndDate      = 18-10-2029 05:59:59 UTC
}}