Template:Pywikibot command option

From Bonkipedia
Revision as of 18:03, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Template documentation pages)
(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