| Latest revision |
Your text |
| Line 1: |
Line 1: |
| {{TS}}
| |
| == Usage == | | == 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]]. | | This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page into [[:Category:Updates]]. |
|
| |
|
| <templatedata> | | <pre style="width:50%"> |
| {
| | {{Update layout |
| "params": {
| | | prev_update = May 3, 2024 |
| "prev_update": {
| | | current_update = May 10, 2024 |
| "example": "{{Update link|Month|Day|Year}}",
| | | next_update = May 13, 2024 |
| "type": "wiki-template-name",
| | | source = https://forums.playdeadlock.com/threads/05-10-2024-update.689/ |
| "required": true,
| | | source-title = 05-10-2024 Update |
| "description": "Previous update."
| | | notes = |
| },
| | * Sandbox mode now supports entering it with your party |
| "next_update": {
| | * Sandbox mode now has troopers spawning on the left side |
| "example": "{{Update link|Month|Day|Year}}",
| | }} |
| "type": "wiki-template-name",
| | </pre> |
| "required": true,
| |
| "description": "Next update."
| |
| },
| |
| "source": {
| |
| "description": "Source link.",
| |
| "type": "url"
| |
| },
| |
| "source2": {
| |
| "description": "2nd source link.",
| |
| "type": "url"
| |
| },
| |
| "source_title": {
| |
| "description": "Source title.",
| |
| "type": "string"
| |
| },
| |
| "source2_title": {
| |
| "description": "2nd source title.",
| |
| "type": "string"
| |
| },
| |
| "notes": {
| |
| "description": "Patch notes content.",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "month": {
| |
| "description": "Month",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "day": {
| |
| "description": "Day",
| |
| "type": "number",
| |
| "required": true
| |
| },
| |
| "year": {
| |
| "description": "Year",
| |
| "type": "number",
| |
| "required": true
| |
| },
| |
| "image": {
| |
| "description": "Update image.",
| |
| "type": "wiki-file-name"
| |
| },
| |
| "nocat": {
| |
| "description": "Exclude the page from Category:Updates.",
| |
| "type": "boolean",
| |
| "suggestedvalues": [
| |
| "true"
| |
| ]
| |
| },
| |
| "hide_general": {
| |
| "description": "Hide \"General\" header at the top of the patch notes. Any value equals \"true\"",
| |
| "type": "string",
| |
| "suggestedvalues": [
| |
| "true"
| |
| ]
| |
| }
| |
| },
| |
| "format": "block",
| |
| "paramOrder": [
| |
| "prev_update",
| |
| "month",
| |
| "day",
| |
| "year",
| |
| "next_update",
| |
| "source",
| |
| "source_title",
| |
| "source2",
| |
| "source2_title",
| |
| "image",
| |
| "nocat",
| |
| "notes",
| |
| "hide_general"
| |
| ],
| |
| "description": "Patch notes page"
| |
| }
| |
| </templatedata>
| |
| <includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
| |