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-01T12:30:00+08:00
|end = 2199-07-02T08:00:00+08:00
}}
SAMPLE HEADER

SAMPLE TEXT

STARTED:
ENDS:

TemplateData

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

It automatically adapts its display based on the current time relative to the specified start and end timestamps, and the entire banner is hidden 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
Stringoptional
End Dateend

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

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