Template:Update layout/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
add templatedata, cat,
Mgpt (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Usage ==
== Usage ==
This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page into [[:Category:Updates]].
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 ==
== Example ==
Line 21: Line 21:
| source = https://forums.playdeadlock.com/threads/05-10-2024-update.689/
| source = https://forums.playdeadlock.com/threads/05-10-2024-update.689/
| source_title = 05-10-2024 Update
| source_title = 05-10-2024 Update
| category = no
| notes =  
| notes =  
* Sandbox mode now supports entering it with your party
* Sandbox mode now supports entering it with your party
Line 32: Line 33:
"next_update": {},
"next_update": {},
"source": {},
"source": {},
"source2": {},
"source_title": {},
"source_title": {},
"notes": {}
"source2_title": {},
"notes": {},
"category": {}
},
},
"format": "block"
"format": "block",
"paramOrder": [
"prev_update",
"current_update",
"next_update",
"source",
"source_title",
"source2",
"source2_title",
"category",
"notes"
]
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

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

Template parameters

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