Template:Update layout: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
m removing "no source link" text (due to empty patches)
Mgpt (talk | contribs)
m adding includeonly and default value for current update
Line 1: Line 1:
<div style="padding: 0.75em 1em; border: 1px solid #aaa; background-color: #f8f7f5;">
<includeonly><div style="padding: 0.75em 1em; border: 1px solid #aaa; background-color: #f8f7f5;">
{| style="width:100%; border: 1px solid #aaa; margin: 0; margin-bottom: 1em;"
{| style="width:100%; border: 1px solid #aaa; margin: 0; margin-bottom: 1em;"
! 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}}}|{{{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;" | {{{current_update|}}}
! style="width:34%; background-color: #e1d2b3;" | {{{current_update|N/A}}}
! style="width:33%; background-color: #e1d2b3;" | {{#if:{{{next_update|}}}|[[Update:{{{next_update}}}|{{{next_update}}}]]|N/A}} →
! style="width:33%; background-color: #e1d2b3;" | {{#if:{{{next_update|}}}|[[Update:{{{next_update}}}|{{{next_update}}}]]|N/A}} →
|}
|}
Line 10: Line 10:
== Patch notes ==
== Patch notes ==
{{{notes|}}}
{{{notes|}}}
</div><includeonly>[[Category:Updates]]</includeonly><noinclude>{{Documentation}}</noinclude>
</div>[[Category:Updates]]</includeonly><noinclude>{{Documentation}}</noinclude>
__NOEDITSECTION__
__NOEDITSECTION__

Revision as of 17:07, 10 November 2024

Template documentation [view] [edit] [history] [purge]

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.

Example

{{Update layout
| prev_update = May 3, 2024
| current_update = May 10, 2024
| next_update = May 13, 2024
| source = https://forums.playdeadlock.com/threads/05-10-2024-update.689/
| source_title = 05-10-2024 Update
| notes = 
* Sandbox mode now supports entering it with your party
* Sandbox mode now has troopers spawning on the left side
}}
Updates
May 3, 2024 May 10, 2024 May 13, 2024

Source: 05-10-2024 Update

Patch notes

  • Sandbox mode now supports entering it with your party
  • Sandbox mode now has troopers spawning on the left side

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
prev_updateprev_update

no description

Unknownoptional
current_updatecurrent_update

no description

Unknownoptional
next_updatenext_update

no description

Unknownoptional
sourcesource

no description

Unknownoptional
source_titlesource_title

no description

Unknownoptional
source2source2

no description

Unknownoptional
source2_titlesource2_title

no description

Unknownoptional
categorycategory

no description

Unknownoptional
notesnotes

no description

Unknownoptional