Template:Update layout: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
m fixed image above header.
No edit summary
Line 13: Line 13:
{{#if:{{{image|}}}|[[File:{{{image}}}|right|400px]]}}
{{#if:{{{image|}}}|[[File:{{{image}}}|right|400px]]}}
{{{notes|}}}
{{{notes|}}}
</div>{{#ifeq:{{{category|}}}|false||[[Category:Updates{{if lang}}]]}}</includeonly><noinclude>{{Documentation}}
</div>{{#ifeq:{{{category|}}}|false||[[Category:Updates{{if lang}}]]}}
{{#seo:
|description={{{notes|}}}
|keywords=Deadlock, Update, Patch Notes, Patch, Patches MOBA, Shooter, Game, Heroes, Valve, Cursed Apple, Updates, Items
|image={{{image|}}}}}
</includeonly><noinclude>{{Documentation}}
{{DISPLAYTITLE:Template:Update layout}}</noinclude>
{{DISPLAYTITLE:Template:Update layout}}</noinclude>
__NOEDITSECTION__
__NOEDITSECTION__

Revision as of 22:58, 19 August 2025

Template documentation [view] [edit] [history] [purge]
CSS3 logo.svg
This template uses CSS found at Update layout/styles.css.

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.

Patch notes page

Template parameters[Edit template data]

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