Template:Launchparam/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== <nowiki>{{launchparam|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki> This template to be used in the middle of articles where all that is needed is the slash command. 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 exi...") |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
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 2 "If - Then" functions:<BR /><BR /> | |||
If a Command Line Parameter page exists for the command, then the template will link to that. Otherwise, if no Command Line Parameter page exists, the template will link to the command's Slash Command page. <BR /> | |||
If neither a Command Line Parameter nor a Slash Command page exits, then clicking the red link will create a new "Command Line Parameter" page. | |||
Line 17: | Line 17: | ||
: {{launchparam|lodbias|commands}} | : {{launchparam|lodbias|commands}} | ||
; <nowiki>{{launchparam| | ; <nowiki>{{launchparam|lodbias}}</nowiki> | ||
: {{launchparam|lodbias}} | : {{launchparam|lodbias}} | ||
; Testing the <nowiki>{{launchparam|lodbias}}</nowiki> in a sentence. | ; Testing the <nowiki>{{launchparam|lodbias}}</nowiki> in a sentence. | ||
: Testing the {{launchparam|lodbias}} in a sentence. | : Testing the {{launchparam|lodbias}} in a sentence. | ||
; <nowiki>{{launchparam|PageDoesNotExist}}</nowiki> | |||
: {{launchparam|PageDoesNotExist}} | |||
; <nowiki>{{launchparam|vis_scale}}</nowiki> | |||
: {{launchparam|vis_scale}} | |||
Latest revision as of 10:51, 3 January 2024
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 2 "If - Then" functions:
If a Command Line Parameter page exists for the command, then the template will link to that. Otherwise, if no Command Line Parameter page exists, the template will link to the command's Slash Command page.
If neither a Command Line Parameter nor a Slash Command page exits, then 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
- {{launchparam|vis_scale}}
- -vis_scale