Template:Pywikibot command option

From Bonkipedia
Revision as of 13:19, 23 December 2021 by [[mw:]]>Baris6161TURK (Replacing <source> tag to <syntaxhighlight>.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ParameterDescription
-
Template documentation

This template includes parameter information into Pywikibot scripts subpages.

Usage long form
Last parameter may be omitted
<table class="wikitable mw-collapsible" style="min-width:75%">
<tr>
<th>Parameter</th><th>Description</th>
</tr>
{{option
| param = Parameter1
| parameter2 = Param1
| parameter3 = Para1
| desc = This is a short description of the parameter
| config = Config option or default value
}}
{{option
| param = Parameter2
| desc = This parameter has no config option
| config = -
}}
</table>
ParameterDescriptionConfig variable
-Parameter
-Param1
-Para1
This is a short description of the parameter Config option or default value
-Parameter2 This parameter has no config option  
Usage short form
Last parameter may be omitted
<table class="wikitable mw-collapsible" style="min-width:75%">
<tr>
<th>Parameter</th><th>Description</th>
</tr>
{{option|Parameter|This is a short description of the parameter}}
</table>
ParameterDescription
-Parameter This is a short description of the parameter