Difference between revisions of "Template:Slashcommand"
From Paragon Wiki Archive
m (+default(*sigh*)) |
(trying to tweak template to get rid of the extraneous space when it's used inline without the second argument) |
||
Line 1: | Line 1: | ||
− | '''/[[{{{1}}} (Slash Command)|{{{1}}}]]''' ''{{{2| | + | '''/[[{{{1}}} (Slash Command)|{{{1}}}]]'''{{if|{{{2|}}}| ''{{{2|}}}''|}}<noinclude> |
+ | == Usage == | ||
− | |||
<nowiki>{{slashcommand|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki> | <nowiki>{{slashcommand|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki> | ||
Line 8: | Line 8: | ||
See also [[:Template:SlashCommandArticle]] and [[:Template:slashCommand]] (note the upper-case C). | See also [[:Template:SlashCommandArticle]] and [[:Template:slashCommand]] (note the upper-case C). | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | ; <nowiki>{{slashcommand|petcom_all|commands}}</nowiki> | ||
+ | : {{slashcommand|petcom_all|commands}} | ||
+ | |||
+ | ; <nowiki>{{slashcommand|petcom_all}}</nowiki> | ||
+ | : {{slashcommand|petcom_all}} | ||
+ | |||
+ | ; Testing the <nowiki>{{slashcommand|petcom_all}}</nowiki> in a sentence. | ||
+ | : Testing the {{slashcommand|petcom_all}} in a sentence. | ||
[[Category:Standardized Text Templates]] | [[Category:Standardized Text Templates]] | ||
[[Category:Slash Command Templates]]</noinclude> | [[Category:Slash Command Templates]]</noinclude> |
Revision as of 06:29, 3 May 2007
/[[{{{1}}} (Slash Command)|{{{1}}}]]
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.
See also Template:SlashCommandArticle and Template:slashCommand (note the upper-case C).
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.