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 "Paragon Wiki Archive:Slash Commands"

From Paragon Wiki Archive
Jump to: navigation, search
(Default: updated)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wip}}
 
 
==Overview==
 
==Overview==
[http://paragonwiki.com/forums/viewtopic.php?p=879&highlight=#879 forum post]
+
[[Slash Commands]] in City of Heroes can be typed from the chat box or used in [[Bind]]s.
  
Slash command article stuffs.
+
This article aims to act as a reference in keeping the individual articles somewhat uniform.
  
* [[:Category:Slash Commands]]
 
* [[:Category talk:Slash Commands]]
 
* {{tl|SlashCommandArticle}} I had an epiphany to expand this slightly...
 
* {{tl|SlashCommand}}
 
* {{tl|slashcommand}}
 
 
==Naming convention==
 
==Naming convention==
ATM, slash commands are always slash_command(Slash Command), but it may be better to do Slash Command:Command instead. DISCUSS.
+
Slash Command article names are to follow this format: '''"command (Slash Command)"'''. The space before the parentheses "(" is a mediawiki standard that allows for a piped link trick.{{orange|details on the trick needed}}
: When I want to find a slash command, I type '''/slash_command''' into the search box. Any solution where that works is OK with me.  Bonus points for making that take me to the command's page instead of a search results page. --[[User:Lin Chiao Feng|Lin Chiao Feng]] 21:05, 16 May 2007 (EDT)
+
 
 +
We will NOT be using "SlashCommand:command". Unlike the [[Invention]] sets, the colon in slash command articles would be a hinderance.
 +
=== Reasoning ===
 +
# 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.
 +
#: Most other commands ({{slashcommand|slashchat}}, {{slashcommand|powexec_name}}) do not, but instead have a redirect from [[powexec_name]] to [[powexec_name (Slash Command)]].
 +
#: This way there's no confusion that this is a slash command.
  
 
== Default ==
 
== Default ==
 
Use this code to get started on slash command articles.
 
Use this code to get started on slash command articles.
<pre>{{SlashCommandArticle
+
<!-- START DEFAULT CODE SECTION THINGY (note the pre tag) -->
 +
<pre>==Slash Command==
 +
{{SlashCommandArticle
 
|command=command
 
|command=command
 
|options=options
 
|options=options
Line 27: Line 28:
  
 
== Related ==
 
== Related ==
 +
* {{slashcommand|other_command|options}}
 +
* {{slashcommand|another_command}}
 +
* [[Guide to command]]
  
*[[other_command]]
+
<nowiki>{{</nowiki>Commands NavBox}}</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
 +
: These templates were mostly created by me several years ago when I was, as EABrace puts it, a wiki-noob. I will not be offended if someone finds a better naming scheme or use for them. (hint hint) -[[User:Konoko|Konoko]]
 +
== See Also ==
 +
{{tl|Navbox Slash Command Article Reference}}
 +
{{Navbox Slash Command Article Reference}}
 
[[Category:Slash Commands]]
 
[[Category:Slash Commands]]

Latest revision as of 08:39, 8 July 2012

Overview

Slash Commands in City of Heroes can be typed from the chat box or used in Binds.

This article aims to act as a reference in keeping the individual articles somewhat uniform.

Naming convention

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

We will NOT be using "SlashCommand:command". Unlike the Invention sets, the colon in slash command articles would be a hinderance.

Reasoning

  1. 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, /powexec_name) do not, but instead have a redirect from powexec_name to powexec_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 ==
* {{slashcommand|other_command|options}}
* {{slashcommand|another_command}}
* [[Guide to command]]

{{Commands NavBox}}

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
These templates were mostly created by me several years ago when I was, as EABrace puts it, a wiki-noob. I will not be offended if someone finds a better naming scheme or use for them. (hint hint) -Konoko

See Also

{{Navbox Slash Command Article Reference}}