Template:Launchparam/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<nowiki>{{launchparam|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki> | <nowiki>{{launchparam|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki> | ||
This template | This template may be used in the middle of articles where all that is needed is the command line parameter. | ||
The template includes an "If - Then" function. | The template includes an "If - Then" function. | ||
If a slash command page exists for the command, then the template will link to that. Otherwise, if no slash command page exists, clicking the red link will create a new "Command Line Parameter" page. | If a slash command page exists for the command, then the template will link to that. Otherwise, if no slash command page exists, clicking the red link will create a new "Command Line Parameter" page. | ||
Revision as of 04:22, 21 June 2023
Usage
{{launchparam|command|options}}
This template may be used in the middle of articles where all that is needed is the command line parameter.
The template includes an "If - Then" function. If a slash command page exists for the command, then the template will link to that. Otherwise, if no slash command page exists, clicking the red link will create a new "Command Line Parameter" page.
Examples
- {{launchparam|lodbias|commands}}
- -lodbias commands
- {{launchparam|lodbias}}
- -lodbias
- Testing the {{launchparam|lodbias}} in a sentence.
- Testing the -lodbias in a sentence.
- {{launchparam|PageDoesNotExist}}
- -PageDoesNotExist