Template:AlertBanner/Layout

From Dune: Awakening Community Wiki
Jump to navigation Jump to search


Usage Examples

Template Call Output
{{AlertBanner/Layout
|text = '''SAMPLE HEADER'''
SAMPLE TEXT
|start = 2026-06-03T08:00:00+08:00
|end = 2199-07-02T08:00:00+08:00
}}
SAMPLE HEADER

SAMPLE TEXT

START: NOW

END:

TemplateData

This subtemplate defines the layout of the banner rendered by Template:AlertBanner.

It automatically adapts based on the current time relative to the specified start and end timestamps:

  • Displays the start timestamp before the start time
  • Displays "NOW" while the alert is active
  • The banner is omitted once the specified end timestamp has passed

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Alert Contenttext

Text to display as the main content of the banner.

Contentrequired
Start Datestart

The starting date and time in ISO 8601 format, including timezone offset.

Example
2026-05-22T10:00:00+02:00
Stringrequired
End Dateend

The ending date and time in ISO 8601 format, including timezone offset.

Example
2026-06-01T16:00:00+08:00
Stringrequired