Template:Update layout/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{TS}}
== Usage ==
== Usage ==
This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page onto [[:Category:Updates]].
This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page onto [[:Category:Updates]].
Line 60: Line 61:
"description": "Exclude the page from Category:Updates.",
"description": "Exclude the page from Category:Updates.",
"type": "boolean",
"type": "boolean",
"suggestedvalues": [
"true"
]
},
"hide_general": {
"description": "Hide \"General\" header at the top of the patch notes. Any value equals \"true\"",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"true"
"true"
Line 78: Line 86:
"image",
"image",
"nocat",
"nocat",
"notes"
"notes",
"hide_general"
],
],
"description": " "
"description": "Patch notes page"
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 19:21, 23 August 2026

CSS3 logo.svg
This template uses CSS found at Update layout/styles.css.

This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page onto Category:Updates.

Patch notes page

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
prev_updateprev_update

Previous update.

Example
{{Update link|Month|Day|Year}}
Templaterequired
monthmonth

Month

Stringrequired
dayday

Day

Numberrequired
yearyear

Year

Numberrequired
next_updatenext_update

Next update.

Example
{{Update link|Month|Day|Year}}
Templaterequired
sourcesource

Source link.

URLoptional
source_titlesource_title

Source title.

Stringoptional
source2source2

2nd source link.

URLoptional
source2_titlesource2_title

2nd source title.

Stringoptional
imageimage

Update image.

Fileoptional
nocatnocat

Exclude the page from Category:Updates.

Suggested values
true
Booleanoptional
notesnotes

Patch notes content.

Stringrequired
hide_generalhide_general

Hide "General" header at the top of the patch notes. Any value equals "true"

Suggested values
true
Stringoptional