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:SlashCommandArticle"

From Paragon Wiki Archive
Jump to: navigation, search
m (formatting tweaks)
(another attempt)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>[[Category:Slash Commands]]</includeonly>
 
<includeonly>[[Category:Slash Commands]]</includeonly>
:'''/[[{{{command}}} (Slash Command)|{{{command}}}]]''' ''{{{options|&nbsp;}}}''
+
:'''/[[{{{command}}} (Slash Command)|{{{command}}}]]''' ''{{{options|&nbsp;}}}'' {{#if: {{{aliases|}}}|<br />
{{#if: {{{aliases|}}}|<br />''Aliases: '''{{{aliases}}}'''''}}<br />{{{note|&nbsp;}}}<noinclude>
+
''Aliases: '''{{{aliases}}}'''''}}
==Usage==
+
  
{{tl|SlashCommandArticle|command&#61;''command''|options&#61;''options''|note&#61;''notes''|aliases&#61;''alias-list''}}
+
{{{note|&nbsp;}}}<noinclude>
 
+
{{documentation}}
;'''NOTE''': This template will add the article to [[:Category:Slash Commands]].
+
{{DEFAULTSORT:SlashCommandArticle}}
 
+
</noinclude>
This template to be used on slash command specific articles.
+
 
+
''Command'' is the literal name of the command, without the leading slash.
+
 
+
''Options'' is a list of options (aka parameters or arguments) for the command; be sure to include extra characters, such as the comma in {{slashcommand|tell}}.
+
 
+
''Note'' is a brief description of the command.
+
 
+
''Aliases'' is an optional parameter; it is a comma-separated list of commands (without leading slashes) that are aliases of this command.
+
 
+
[[Category:Slash Command Templates]]
+
[[Category:Standardized Text Templates]]</noinclude>
+

Latest revision as of 06:03, 8 May 2012

/[[{{{command}}} (Slash Command)|{{{command}}}]]  

 

[edit] [purge] Documentation


Usage

{{SlashCommandArticle|command=command|options=options|note=notes|aliases=alias-list}}

NOTE
This template will add the article to Category:Slash Commands.

This template to be used on slash command specific articles.

Command is the literal name of the command, without the leading slash.

Options is a list of options (aka parameters or arguments) for the command; be sure to include extra characters, such as the comma in /tell.

Note is a brief description of the command.

Aliases is an optional parameter; it is a comma-separated list of commands (without leading slashes) that are aliases of this command.

See Also