Template:Update layout: Difference between revisions
Jump to navigation
Jump to search
m moved source to the top, it causes some issues with normal text above |
m category parameter |
||
(7 intermediate revisions by the same user 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; 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}} → | ||
|} | |} | ||
{{#if:{{{source|{{{source2|}}}}}}|<span style="font-size: 95%; font-style: italic;">Source: {{#if:{{{source|}}}|[{{{source}}} {{{source_title|{{{source}}}}}}]}}{{#if:{{{source2|}}}|{{#if:{{{source|}}}|, }}[{{{source2}}} {{{source2_title|{{{source2}}}}}}]}}</span>}} | |||
== Patch notes == | == Patch notes == | ||
{{{notes|}}} | {{{notes|}}} | ||
</div> | </div>{{#ifeq:{{{category|}}}|no||[[Category:Updates]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
__NOEDITSECTION__ | __NOEDITSECTION__ |
Latest revision as of 17:20, 10 November 2024
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
prev_update | prev_update | no description | Unknown | optional |
current_update | current_update | no description | Unknown | optional |
next_update | next_update | no description | Unknown | optional |
source | source | no description | Unknown | optional |
source_title | source_title | no description | Unknown | optional |
source2 | source2 | no description | Unknown | optional |
source2_title | source2_title | no description | Unknown | optional |
category | category | no description | Unknown | optional |
notes | notes | no description | Unknown | optional |