Template:Pywikibot command option: Difference between revisions
From Bonkipedia
[[mw:]]>Baris6161TURK m (Replacing <source> tag to <syntaxhighlight>.) |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:03, 12 November 2022
Parameter | Description |
---|---|
- |
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>
Parameter | Description | Config 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>
Parameter | Description |
---|---|
-Parameter |
This is a short description of the parameter |