Template:Patch
From MediaWiki.org
| patch | |
|---|---|
| file | {{{file}}} |
| function | {{{function}}} |
| description | {{{description}}} |
| author(s) | {{{authors}}} |
| source | {{{source}}} |
| date | {{{date}}} |
| MediaWiki version | {{{mediawiki_version}}} |
|
{{{code}}}
|
|
[edit] Purpose
This template can be used to format the code an meta-information of provided patches.
[edit] Usage
Cut and paste:
{{Patch
| file =
| function =
| description =
| authors =
| source =
| date =
| mediawiki_version =
| language =
| code =
}}
For help with parameter values, see below.
[edit] Content parameters
This section describes parameters that govern template content.
| parameter | optional value | default value | description |
|---|---|---|---|
| file | yes | none | provided patch has to be applied to this file |
| function | yes | none | provided patch has to be applied to this function |
| description | yes | none | what does the provided patch do? |
| authors | yes | none | who has provided this patch? |
| source | yes | none | where has this patch been published? |
| date | yes | none | when has this patch been provided? |
| mediawiki_version | yes | none | provided patch has to be applied to this mediawiki version |
| language | yes | diff | format the code by default as "diff" or chose one of the supported languages for syntax highlighting |
| code | no | none | code of the provided patch |

