Homecoming Wiki:Slash Commands: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
(→‎Overview: better overview.)
imported>Konoko
(+more stuff)
Line 6: Line 6:


==Naming convention==
==Naming convention==
Slash Command articles are to follow this format: "command (Slash Command)". The space before the parentheses is a mediawiki standard that allows for a piped link trick.
Slash Command articles are to follow this format: '''"command (Slash Command)"'''. The space before the parentheses is a mediawiki standard that allows for a piped link trick.


We will NOT be using SlashCommand:command.
We will NOT be using "SlashCommand:command".


:Many chat commands ({{slashcommand|team}}, {{slashcommand|coalition}}) have articles about the thing that they have a channel for. The [[Team]] article describes a team and links to its related slash command.
:Many chat commands ({{slashcommand|team}}, {{slashcommand|coalition}}) have articles about the thing that they have a channel for. The [[Team]] article describes a team and links to its related slash command.
Line 16: Line 16:
== Default ==
== Default ==
Use this code to get started on slash command articles.
Use this code to get started on slash command articles.
<!-- START DEFAULT CODE SECTION THINGY (note the pre tag) -->
<pre>==Slash Command==
<pre>==Slash Command==
{{SlashCommandArticle
{{SlashCommandArticle
Line 26: Line 27:
== Other section (common use, examples, detail) ==
== Other section (common use, examples, detail) ==
Some commands have unique properties that need to be explained. Here is the place to do it.
Some commands have unique properties that need to be explained. Here is the place to do it.


== Related ==
== Related ==
Line 31: Line 33:
*[[other_command]]
*[[other_command]]
*[[another_command]]</pre>
*[[another_command]]</pre>
<!-- END DEFAULT CODE SECTION THINGY (note the pre tag) -->
== Template details ==
* {{tl|slashcommand}} - creates a link to the command specified with a preceding slash. see page for more parameters
* {{tl|bindcommand}} - creates a link to the command specified without a preceding slash.
* {{tl|SlashCommand}}(capital "C") - Creates a section called <nowiki>== Slash Command ==</nowiki> with many options to fill out that section.
* {{tl|SlashCommandArticle}} - does not create a section, however it does place the article in [[:Category:Slash Commands]]. Similar options to SlashCommand
{{Slash Command Article Reference NavBox}}
{{Slash Command Article Reference NavBox}}
[[Category:Slash Commands]]
[[Category:Slash Commands]]

Revision as of 18:12, 9 December 2008

Overview

Slash Commands in City of Heroes can be typed from the chat box or used in [[Bind]s.

This article aims to keep the individual articles uniform and act as a reference.

Naming convention

Slash Command articles are to follow this format: "command (Slash Command)". The space before the parentheses is a mediawiki standard that allows for a piped link trick.

We will NOT be using "SlashCommand:command".

Many chat commands (/team, /coalition) have articles about the thing that they have a channel for. The Team article describes a team and links to its related slash command.
Most other commands (/slashchat, /pow_exec_name) do not, but instead have a redirect from pow_exec_name to pow_exec_name (Slash Command).

This way there's no confusion that this is a slash command.

Default

Use this code to get started on slash command articles.

==Slash Command==
{{SlashCommandArticle
|command=command
|options=options
|aliases=(optional)
|note=Semi Brief but descriptive note on the command
}}

== Other section (common use, examples, detail) ==
Some commands have unique properties that need to be explained. Here is the place to do it.


== Related ==

*[[other_command]]
*[[another_command]]

Template details

  • {{slashcommand}} - creates a link to the command specified with a preceding slash. see page for more parameters
  • {{bindcommand}} - creates a link to the command specified without a preceding slash.
  • {{SlashCommand}}(capital "C") - Creates a section called == Slash Command == with many options to fill out that section.
  • {{SlashCommandArticle}} - does not create a section, however it does place the article in Category:Slash Commands. Similar options to SlashCommand

Template:Slash Command Article Reference NavBox