Template:CampaignWidget/Campaign

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


Usage Examples

Template Call
{{InfoboxLite
|wrap      = false
|title     = Current Campaigns
|subheader = The following campaigns are either ongoing or upcoming.
----
{{CampaignWidget/Campaign
|header = Community Challenge:
|title = Secrets of the Water Shippers
|image = May26_SecretsOfTheWaterShippers.jpg
|type = Reward
|start = 2026-05-22T10:00:00+02:00
|end = 2026-06-21T10:00:00+02:00
}}
}}

TemplateData

This subtemplate renders a single campaign block for use inside Template:CampaignWidget. It will automatically render nothing once the campaign has ended.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Header Labelheader

Optional label displayed above the campaign title.

Stringoptional
Campaign Titletitle

Name of the campaign.

Stringrequired
Campaign Imageimage

Full file name with extension.

Filerequired
Campaign Typetype

Type of campaign.

Suggested values
Event Reward
Stringrequired
Start Datestart

The date and time the campaign begins in ISO 8601 format, including timezone offset.

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

The date and time the campaign ends in ISO 8601 format, including timezone offset.

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