Template:Option: Difference between revisions
Jump to navigation
Jump to search
m Fix last |
|||
| Line 5: | Line 5: | ||
-->|string = [[string]]<!-- | -->|string = [[string]]<!-- | ||
-->|#default = {{{value}}}<!-- | -->|#default = {{{value}}}<!-- | ||
--> | -->}}{{#if:{{{select|}}}|> <span style="overflow-wrap:break-word;">{{{select}}}</span>|{{#if:{{{min|}}}|{{#if:{{{max|}}}| [{{{min}}} .. {{{max}}}]|}}|}}>}}|{{{select|}}}}} ''': {{{description<includeonly>|?</includeonly>}}}{{#if:{{{default|}}}|. ''default value: {{{default}}}''|}}<noinclude> | ||
Usage: | Usage: | ||
Revision as of 01:34, 25 March 2019
- {{{name}}} : {{{description}}}
Usage:
- name (required)
- value (optional)
- min (optional)
- max (optional)
- select (optional): takes precedence over
minandmax.{}will not be provided if not given (to avoid doubling). Use as e.g.{png,jpg,tiff}for documentation of options for--snapshot-format - description (required)
- default (optional)
min and max are only shown if both of them are specified, because no range should be given unbounded (if you think that is stupid, change it!)