Template:Update layout/doc: Difference between revisionsGive feedback
m is_herolab param |
No edit summary |
||
| (7 intermediate revisions by 3 users not shown) | |||
| 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 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}}", | ||
" | "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": "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", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"prev_update", | "prev_update", | ||
" | "month", | ||
"day", | |||
"year", | |||
"next_update", | "next_update", | ||
"source", | "source", | ||
| Line 49: | Line 84: | ||
"source2", | "source2", | ||
"source2_title", | "source2_title", | ||
" | "image", | ||
"nocat", | |||
"notes", | "notes", | ||
"hide_general" | |||
] | ], | ||
"description": "Patch notes page" | |||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||