Template:Update layout/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
m +image
Line 22: Line 22:
},
},
"source2": {
"source2": {
"description": "2nd Source link.",
"description": "2nd source link.",
"type": "url"
"type": "url"
},
},
Line 30: Line 30:
},
},
"source2_title": {
"source2_title": {
"description": "2nd Source title.",
"description": "2nd source title.",
"type": "string"
"type": "string"
},
},
Line 37: Line 37:
"type": "string",
"type": "string",
"required": true
"required": true
},
"category": {
"type": "boolean",
"description": "Exclude the page from Category:Updates.",
"suggestedvalues": [
"false"
]
},
},
"month": {
"month": {
Line 63: Line 56:
"description": "Update image.",
"description": "Update image.",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
"nocat": {
"description": "Exclude the page from Category:Updates.",
"type": "boolean",
"suggestedvalues": [
"true"
]
}
}
},
},
Line 77: Line 77:
"source2_title",
"source2_title",
"image",
"image",
"category",
"nocat",
"notes"
"notes"
],
],

Revision as of 23:26, 5 June 2026

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.

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