Template:Update layout/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
updated doc |
m update data, remove example (error stuff). |
||
| Line 2: | Line 2: | ||
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 onto [[:Category:Updates]]. | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"prev_update": {}, | "prev_update": { | ||
"example": "{{Update link|Month|Day|Year}}", | |||
"next_update": {}, | "type": "wiki-template-name", | ||
"source": {}, | "required": true, | ||
"source2": {}, | "description": "Previous update." | ||
"source_title": {}, | }, | ||
"source2_title": {}, | "next_update": { | ||
"notes": {}, | "example": "{{Update link|Month|Day|Year}}", | ||
"category": {}, | "type": "wiki-template-name", | ||
" | "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": "Source 2 title.", | |||
"type": "string" | |||
}, | |||
"notes": { | |||
"description": "Patch notes content.", | |||
"type": "string" | |||
}, | |||
"category": { | |||
"type": "boolean", | |||
"description": "Exclude the page from Category:Updates.", | |||
"suggestedvalues": [ | |||
"false" | |||
] | |||
}, | |||
"month": { | |||
"description": "Month", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"day": { | |||
"description": "Day", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"year": { | |||
"description": "Year", | |||
"type": "number", | |||
"required": true | |||
} | |||
}, | }, | ||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"prev_update", | "prev_update", | ||
" | "month", | ||
" | "day", | ||
"year", | |||
"next_update", | "next_update", | ||
"source", | "source", | ||
"source_title", | "source_title", | ||
| Line 54: | Line 72: | ||
"source2_title", | "source2_title", | ||
"category", | "category", | ||
"notes", | "notes" | ||
], | |||
"description": " " | |||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
Revision as of 03:31, 29 June 2025
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| prev_update | prev_update | Previous update.
| Template | required |
| month | month | Month | String | required |
| day | day | Day | Number | required |
| year | year | Year | Number | required |
| next_update | next_update | Next update.
| Template | required |
| source | source | Source link. | URL | optional |
| source_title | source_title | Source title. | String | optional |
| source2 | source2 | 2nd Source link. | URL | optional |
| source2_title | source2_title | Source 2 title. | String | optional |
| category | category | Exclude the page from Category:Updates.
| Boolean | optional |
| notes | notes | Patch notes content. | String | optional |