Template:Doc-apihelp-paraminfo/doc
- Usage:
- Documentation for all messages like "apihelp-*-paraminfo-*".
First parameter is the "module path" of the API module, e.g. "query+backlinks". Second parameter is the name of the API module parameter info tag.
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 parameter seealso
will be displayed at the beginning of the "see also" list.
- Example:
{{ {{BASEPAGENAME}} | 1=sample | 2=sampleparam }}
generates:
This is a MediaWiki Action API parameter info description for the "sampleparam" parameter info tag to the "sample" module. See API:Main page at MediaWiki.org for general information.
Parameters:
- $1 - Number of info values. May be 0.
- $2 - Info fields as a comma-separated list.
- $3 - Module prefix.
For other messages relating to this module, see:
- MediaWiki:apihelp-sample-description for the deprecated combination of summary and extra description
- MediaWiki:apihelp-sample-summary for the one-line summary
- MediaWiki:apihelp-sample-extended-description for additional descriptive text
- Special:PrefixIndex/MediaWiki:apihelp-sample-param- for parameter descriptions
- Special:PrefixIndex/MediaWiki:apihelp-sample-example- for example descriptions
{{ {{BASEPAGENAME}} | 1=sample | 2=sampleparam | description = any 'sampleparam' parameter }}
generates:
This is a MediaWiki Action API parameter info description for any 'sampleparam' parameter. See API:Main page at MediaWiki.org for general information.
Parameters:
- $1 - Number of info values. May be 0.
- $2 - Info fields as a comma-separated list.
- $3 - Module prefix.
For other messages relating to this module, see:
- MediaWiki:apihelp-sample-description for the deprecated combination of summary and extra description
- MediaWiki:apihelp-sample-summary for the one-line summary
- MediaWiki:apihelp-sample-extended-description for additional descriptive text
- Special:PrefixIndex/MediaWiki:apihelp-sample-param- for parameter descriptions
- Special:PrefixIndex/MediaWiki:apihelp-sample-example- for example descriptions