Difference between revisions of "Template:Api help"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<!--T:(.*)-->" to "") |
||
Line 6: | Line 6: | ||
<hr/>{{ombox | <hr/>{{ombox | ||
|image=[[File:Tools clipart.png|20px]] | |image=[[File:Tools clipart.png|20px]] | ||
− | | text= | + | | text= The following documentation is the output of <tvar|special>[[Special:ApiHelp/{{{1|}}}]]</>, automatically generated by the pre-release version of MediaWiki that is running on this site (MediaWiki.org). |
}} | }} | ||
<includeonly><!-- | <includeonly><!-- | ||
Line 18: | Line 18: | ||
− | + | ||
This transcludes Special:ApiHelp/''module-name'' and explains what's going on. | This transcludes Special:ApiHelp/''module-name'' and explains what's going on. | ||
− | == Usage == | + | == Usage == |
; 1 | ; 1 | ||
− | : | + | : module name. No leading space. You can reference query submodules by ''module''+''submodule'' |
− | == Sample == | + | == Sample == |
<code><nowiki>{{Api help|query+extracts}}</nowiki></code> produces | <code><nowiki>{{Api help|query+extracts}}</nowiki></code> produces | ||
Line 33: | Line 33: | ||
{{Api help|query+extracts}} | {{Api help|query+extracts}} | ||
---- | ---- | ||
− | {{Note|1= | + | {{Note|1= You can't transclude the help of multiple API modules at once}} |
}} | }} |
Revision as of 14:34, 21 December 2019
![]() | The following documentation is the output of <tvar |

This transcludes Special:ApiHelp/module-name and explains what's going on.
Usage
- 1
- module name. No leading space. You can reference query submodules by module+submodule
Sample
{{Api help|query+extracts}}
produces
![]() | The following documentation is the output of <tvar |
Module "query+extracts" not found.
You can't transclude the help of multiple API modules at once