Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Slashcommand"

From Paragon Wiki Archive
Jump to: navigation, search
m (+default)
(replacing {{if}} with {{#if:}})
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''/[[{{{1}}} (Slash Command)|{{{1}}}]]''' ''{{{2|}}}''<noinclude>
+
<includeonly>'''/[[{{{1}}} (Slash Command)|{{{prefix|}}}{{{1}}}]]'''{{#if:{{{2|}}}|'' {{{2|}}}''|}}</includeonly><noinclude>
 
+
{{Documentation}}</noinclude>
 
+
==Usage==
+
<nowiki>{{slashcommand|</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. Also includes a link to the command.
+
 
+
See also [[:Template:SlashCommandArticle]] and [[:Template:slashCommand]] (note the upper-case C).
+
 
+
[[Category:Standardized Text Templates]]
+
[[Category:Slash Command Templates]]</noinclude>
+

Latest revision as of 23:52, 21 February 2010

[edit] [purge] Documentation

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