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!

ENDING ON

TemplateData

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

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

  • Displays "STARTING ON" before the campaign begins
  • Displays "ENDING ON" once the campaign is active
  • Entire block is omitted once the campaign has ended

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

Full file name with extension.

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