Template:Launchparam: Difference between revisions
Jump to navigation
Jump to search
BlackSpectre (talk | contribs) No edit summary |
BlackSpectre (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''-[[{{{1}}} (Command Line Parameter)|{{{prefix|}}}{{{1}}}]]'''{{#if:{{{2|}}}|'' {{{2|}}}''|}} | <includeonly>'''-[[{{{1}}} (Command Line Parameter)|{{{prefix|}}}{{{1}}}]]'''{{#if:{{{2|}}}|'' {{{2|}}}''|}} | ||
{{#ifexist: | {{#ifexist:lodbias (Command Line Parameters)|1|0}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Revision as of 03:25, 21 June 2023
[edit] [ ] Documentation
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
0
- {{launchparam|lodbias}}
- -lodbias
0
- Testing the {{launchparam|lodbias}} in a sentence.
- Testing the -lodbias
0
in a sentence.
- {{launchparam|PageDoesNotExist}}
- -PageDoesNotExist
0
- {{launchparam|vis_scale}}
- -vis_scale
0