Template:SlashCommandArticle: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng (historical)
No edit summary
m (remove invalid dd tag)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Slash Commands]]</includeonly>
<includeonly>[[Category:Slash Commands]]</includeonly>
:'''/[[{{{command}}} (Slash Command)|{{{command}}}]]''' ''{{{options|}}}''
<div style="margin: 0.2em 0 1em 1.6em">'''/[[{{{command}}} (Slash Command)|{{{command}}}]]''' ''{{{options|&nbsp;}}}''</div>
{{#if: {{{aliases|}}}|
{{#if: {{{aliases|}}}|
''Aliases: {{{aliases}}}''}}
<div style="font-style: italic;">Aliases: '''{{{aliases}}}'''</div>
 
}}{{{note|}}}<noinclude>
{{{note|&nbsp;}}}
{{documentation}}
<noinclude>
{{DEFAULTSORT:SlashCommandArticle}}
==Usage==
</noinclude>
 
<nowiki>{{SlashCommandArticle|command=</nowiki>''command''<nowiki>|options=</nowiki>''options''<nowiki>|note=</nowiki>''notes''<nowiki>|aliases=</nowiki>''alias-list''<nowiki>}}</nowiki>
 
:'''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 comma-separated list of options (aka parameters or arguments) for the command; use ''italicized text'' for the names of the parameters.
 
''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 18:23, 18 April 2022

/[[{{{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