Template:VersionWidget/Layout

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


Usage Examples

Template Call Output
{{VersionWidget/Layout
|image = Logo - Update 1.4.png
|ptc_version = 1.4.0.0
|{{#invoke:Versions|latest}}}}
Game Versions
Current Major UpdateUpdate 1.4
Latest Patch Notes1.4.10.0
Public Test Client1.4.0.0

Version HistoryDownloadable Content


TemplateData

This subtemplate defines the layout of the infobox rendered by Template:VersionWidget, and abstracts out automation logic to reduce source code clutter in the main template.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Update Logoimage

Logo image for this Major Update. Specify the full file name with extension.

Example
Placeholder.png
Fileoptional
PTC Versionptc_version

Version number of the current Public Test Client build. The PTC field in the infobox will display `None` when this input is omitted, or when it matches the latest Version from Module:Versions.

Stringoptional
PTC Patch Notes Linkptc_link

Full URL to the patch notes for the current PTC build. By default, this does not need to be specified as the URL is automatically derived using `ptc_version`, but some patch notes may require this override if they do not follow the pattern: 'https://duneawakening.com/news/public-test-client-patch-<PTC_VERSION>/'.

URLoptional
Latest Version1

Version number of the latest live build, provided by the entry point function `latest` of Module:Versions. This parameter exists as a workaround due to the absence of Extension:Variables, to avoid invoking the module multiple times here. Do not set manually.

Suggested values
{{#invoke:Versions|latest}}
Stringrequired