Template:Pywikibot command option: Difference between revisions

From Bonkipedia
[[mw:]]>Baris6161TURK
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:03, 12 November 2022

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