Template:CampaignWidget/Campaign
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Header Label | header | Optional label displayed above the campaign title. | String | optional |
| Campaign Title | title | Name of the campaign. | String | required |
| Campaign Image | image | Full file name with extension. | File | required |
| Campaign Type | type | Type of campaign.
| String | required |
| Start Date | start | The date and time the campaign begins in ISO 8601 format, including timezone offset.
| String | required |
| End Date | end | The date and time the campaign ends in ISO 8601 format, including timezone offset.
| String | required |