Template:Doc-apihelp-summary
Appearance
- Usage :
- Documentation for all messages like "apihelp-*-summary".
- Parameters :
-
- First parameter is the "module path" of the API module, e.g. "query+backlinks".
- Optional parameter
description
allows for adjusting the descriptive text output by the template. - Optional parameter
info
will be displayed after the standard description, before the parameters. - Optional parameters
params
andparamstart
allow for prepending additional parameters to the list of parameters passed to the message. The first gives the wikitext for the additional parameters, while the second gives the number of the first standard parameter. - Optional parameter
seealso
will be displayed at the beginning of the "see also" list.
- Examples :
-
{{Doc-apihelp-summary|sample}}
generates :
This is a MediaWiki Action API module summary for the “sample” module. See API:Main page at MediaWiki.org for general information. This message should be a one-line summary of the module, with any additional explanatory text in the corresponding extended-description message.
- Parameters :
- $1 - Module parameter prefix, e.g. "bl"
- $2 - Module name, e.g. "backlinks"
- $3 - Module path, e.g. "query+backlinks"
- For other messages relating to this module, see :
- Apihelp-sample-description (page does not exist) for the translatable summary (and the deprecated combination with an extra description) of the “sample” module
- Apihelp-sample-extended-description (page does not exist) for the translatable additional descriptive text (optional, may not exist for the “sample” module, when combined with the summary)
- Special:PrefixIndex/MediaWiki:Apihelp-sample-param- for descriptions of extra parameters for the “sample” module
- Special:PrefixIndex/MediaWiki:Apihelp-sample-example- for usage examples for the “sample” module
{{Doc-apihelp-summary|sample|paramstart = 2|params = * $1 - Extra first parameter}}
generates :
This is a MediaWiki Action API module summary for the “sample ” module. See API:Main page at MediaWiki.org for general information. This message should be a one-line summary of the module, with any additional explanatory text in the corresponding extended-description message.
- Parameters :
- $1 - Extra first parameter
- $2 - Module parameter prefix, e.g. "bl"
- $3 - Module name, e.g. "backlinks"
- $4 - Module path, e.g. "query+backlinks"
- For other messages relating to this module, see :
- Apihelp-sample -description (page does not exist) for the translatable summary (and the deprecated combination with an extra description) of the “sample ” module
- Apihelp-sample -extended-description (page does not exist) for the translatable additional descriptive text (optional, may not exist for the “sample ” module, when combined with the summary)
- Special:PrefixIndex/MediaWiki:Apihelp-sample -param- for descriptions of extra parameters for the “sample ” module
- Special:PrefixIndex/MediaWiki:Apihelp-sample -example- for usage examples for the “sample ” module
- Maintenance :