Template:Update layout: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
mNo edit summary
Mgpt (talk | contribs)
m category parameter
 
(12 intermediate revisions by 2 users not shown)
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;"
{| 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;" | {{BASEPAGENAME}}
! 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}} →
|}
|}
<span style="font-size: 95%; font-style: italic;">Source: {{#if:{{{source|}}}|{{{source}}}|No source link has been provided.}}</span>
{{#if:{{{source|{{{source2|}}}}}}|<span style="font-size: 95%; font-style: italic;">Source:&nbsp;{{#if:{{{source|}}}|[{{{source}}} {{{source_title|{{{source}}}}}}]}}{{#if:{{{source2|}}}|{{#if:{{{source|}}}|,&nbsp;}}[{{{source2}}} {{{source2_title|{{{source2}}}}}}]}}</span>}}
 
== Patch notes ==
== Patch notes ==
{{{notes|}}}
{{{notes|}}}
</div><includeonly>[[Category:Updates]]</includeonly><noinclude>{{Documentation}}</noinclude>
</div>{{#ifeq:{{{category|}}}|no||[[Category:Updates]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
__NOEDITSECTION__
__NOEDITSECTION__

Latest revision as of 17:20, 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