Difference between revisions of "Template:Slashcommand"
From Paragon Wiki Archive
(trying to add a prefix param) |
m (moves "see also" links to the "see also" section) |
||
Line 8: | Line 8: | ||
If provided, prefix= will put a prefix before the command. | If provided, prefix= will put a prefix before the command. | ||
− | |||
− | |||
== Examples == | == Examples == | ||
Line 25: | Line 23: | ||
: {{slashcommand|up|prefix=++}} | : {{slashcommand|up|prefix=++}} | ||
== See Also == | == See Also == | ||
− | {{tl|bindcommand}} | + | * {{tl|bindcommand}} |
+ | * {{tl|SlashCommandArticle}} | ||
+ | * {{tl|SlashCommand}} (note the capital C) | ||
[[Category:Standardized Text Templates]] | [[Category:Standardized Text Templates]] | ||
[[Category:Slash Command Templates]]</noinclude> | [[Category:Slash Command Templates]]</noinclude> |
Revision as of 13:03, 16 August 2007
/[[{{{1}}} (Slash Command)|{{{1}}}]]Template:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.
Usage
{{slashcommand|command|options}}
This template to be used in the middle of articles where all that is needed is the slash command. Also includes a link to the command.
If provided, prefix= will put a prefix before the command.
Examples
- {{slashcommand|petcom_all|commands}}
- /petcom_all commands
- {{slashcommand|petcom_all}}
- /petcom_all
- Testing the {{slashcommand|petcom_all}} in a sentence.
- Testing the /petcom_all in a sentence.
- {{slashcommand|up|prefix=++}}
- /++up
See Also
- {{bindcommand}}
- {{SlashCommandArticle}}
- {{SlashCommand}} (note the capital C)