Template:CampaignWidget/Block

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


Usage Examples

Template Call Output
{{CampaignWidget/Block
|header = Community Challenge:
|title = Secrets of the Water Shippers
|subheader = Work together to earn Weapon skins!
|image = May26_SecretsOfTheWaterShippers.jpg
|type = Reward
|end = 2199-06-21T10:00:00+02:00
}}

Community Challenge:
Secrets of the Water Shippers
Work together to earn Weapon skins!

ENDS

TemplateData

This subtemplate renders a single campaign block for use inside Template:CampaignWidget.

It automatically adapts its display based on the current time relative to the specified start and end timestamps, and the entire block is hidden once the specified end timestamp has passed.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Header Textheader

Optional text displayed above the campaign title.

Stringoptional
Campaign Titletitle

Name of the campaign.

Stringrequired
Campaign Imageimage

Image to display. Specify the full file name with extension.

Example
Placeholder.jpg
Filerequired
Subheader Textsubheader

Optional text displayed below the campaign title.

Stringoptional
Campaign Typetype

Type of campaign.

Suggested values
Event Reward
Stringrequired
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