Template:Update layout: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Created page with "<div style="padding: 0.75em 1em; border: 1px solid #aaa; background-color: #f8f7f5;"> {| style="width:100%; border: 1px solid #aaa; margin: 0;" ! colspan="3" style="width:100%; background-color: #e1d2b3;" | Updates |- ! style="width:33%; background-color: #e1d2b3;" | ← {{#if:{{{prev_update|}}}|[[Update: {{{prev_update}}}|Update: {{{prev_update}}}]]|N/A}} ! style="width:34%; background-color: #e1d2b3;" | {{BASEPAGENAME}} ! style="width:33%; background-color: #e1d2b3..."
 
mNo edit summary
Line 3: Line 3:
! colspan="3" style="width:100%; background-color: #e1d2b3;" | [[Updates]]
! colspan="3" style="width:100%; background-color: #e1d2b3;" | [[Updates]]
|-
|-
! style="width:33%; background-color: #e1d2b3;" | ← {{#if:{{{prev_update|}}}|[[Update: {{{prev_update}}}|Update: {{{prev_update}}}]]|N/A}}
! style="width:33%; background-color: #e1d2b3;" | ← {{#if:{{{prev_update|}}}|[[Update: {{{prev_update}}}|{{{prev_update}}}]]|N/A}}
! style="width:34%; background-color: #e1d2b3;" | {{BASEPAGENAME}}
! style="width:34%; background-color: #e1d2b3;" | {{BASEPAGENAME}}
! style="width:33%; background-color: #e1d2b3;" | {{#if:{{{next_update|}}}|[[Update: {{{next_update}}}|Update: {{{next_update}}}]]|N/A}} →
! style="width:33%; background-color: #e1d2b3;" | {{#if:{{{next_update|}}}|[[Update: {{{next_update}}}|{{{next_update}}}]]|N/A}} →
|}
|}
''Source: {{#if:{{{source|}}}|{{{source}}}|No source link has been provided.}}''
''Source: {{#if:{{{source|}}}|{{{source}}}|No source link has been provided.}}''

Revision as of 19:15, 12 September 2024

Updates
← N/A Update layout N/A →

Source: No source link has been provided.

Patch notes

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