Template:Update layout/doc: Difference between revisions

mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 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]].
Line 22: Line 23:
},
},
"source2": {
"source2": {
"description": "2nd Source link.",
"description": "2nd source link.",
"type": "url"
"type": "url"
},
},
Line 30: Line 31:
},
},
"source2_title": {
"source2_title": {
"description": "2nd Source title.",
"description": "2nd source title.",
"type": "string"
"type": "string"
},
},
Line 37: Line 38:
"type": "string",
"type": "string",
"required": true
"required": true
},
"category": {
"type": "boolean",
"description": "Exclude the page from Category:Updates.",
"suggestedvalues": [
"false"
]
},
},
"month": {
"month": {
Line 59: Line 53:
"type": "number",
"type": "number",
"required": true
"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"
]
}
}
},
},
Line 72: Line 84:
"source2",
"source2",
"source2_title",
"source2_title",
"category",
"image",
"notes"
"nocat",
"notes",
"hide_general"
],
],
"description": " "
"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>