Difference between revisions of "Template:Api help"

From ZUGSEIL Wiki
Jump to navigation Jump to search
www.mediawiki.org>Keymap9
(PNG --> SVG)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 20:46, 30 June 2022

<languages/>


Template documentation

<translate> This transcludes {{<tvar name=1>tmpl|0=Special:ApiHelp/$1</tvar>|module-name}} and explains what's going on.

Usage

</translate> Lua error: expandTemplate: template loop detected. Lua error: expandTemplate: template loop detected.

This transcludes the API help page from “Special:ApiHelp” with a message box.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
API Method Name1

The name of the API method.

You can reference query submodules by using “module”+“submodule” (e.g.: “query+extracts”).

Auto value
{{subst:lc:{{subst:PAGENAME}}}}
Stringrequired

[[Category:API templates{{#translation:}}]]

<translate>

Sample

</translate> {{Api help|query+extracts}} produces



Module "query+extracts" not found.


<translate> You can't transclude the help of multiple API modules at once</translate>

[[Category:Template documentation pages{{#translation:}}]]