Template:NewsWidget/Block

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


Usage Examples

Template Call Output
{{NewsWidget/Block
|header = Arriving 22 September 2026<br>{{Inter|dune_news|console-date-and-single-player-announced|Chapter 4, Consoles and Single-Player}}
|image = Console Announcement Banner.jpg
|link  = https://duneawakening.com/news/console-date-and-single-player-announced
|caption = Check out the different [[DLC#Bundles|Game Editions]]!
}}
Arriving 22 September 2026
Chapter 4, Consoles and Single-Player

Check out the different Game Editions!
{{NewsWidget/Block
|header = Arriving 22 September 2026<br>{{Inter|dune_news|console-date-and-single-player-announced|Chapter 4, Consoles and Single-Player}}
|youtube = _UODATIHRas
|caption = Check out the different [[DLC#Bundles|Game Editions]]!
}}
Arriving 22 September 2026
Chapter 4, Consoles and Single-Player

Check out the different Game Editions!

TemplateData

This subtemplate renders a single news block for use inside Template:NewsWidget.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Header Labelheader

Optional label displayed above the image.

Stringoptional
News Imageimage

Full file name with extension.

Filesuggested
Image Linklink

Optional link target for image. Leave blank for an unclickable image.

Stringoptional
YouTube Traileryoutube

Insert only ONE YouTube video code, i.e. the string that comes after 'watch?v=' in the URL. If specified, it overrides `image` and `link`, and the specified YouTube video will be shown instead.

Example
_UODATIHRas
Stringoptional
Captioncaption

Optional caption displayed below the image.

Stringoptional