Template:Bindcommand: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Eabrace
m (created for use in bind file notation or for use in demonstrating concatenated ($$) commands)
 
imported>Sekoia
(replaced use of {{if}} with {{#if:}})
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''[[{{{1}}} (Slash Command)|{{{1}}}]]'''{{if|test={{{2|}}}|then='' {{{2|}}}''|else=}}<noinclude>
'''[[{{{1}}} (Slash Command)|{{{prefix|}}}{{{1}}}]]'''{{#if:{{{2|}}}|'' {{{2|}}}''|}}<noinclude>
 
{{documentation}}
== Usage ==
</noinclude>
 
<nowiki>{{slashcommand|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki>
 
Similar to the [[:Template:Slashcommand]] template with one minor difference.  This template does not place a '/' in front of the command name and article link.  This template is to be used for demonstrating keybind strings where the '/' should ''not'' be placed at the beginning of a command.  This template may also be used in conjunction with the Slashcommand template when demonstrating two or more commands concatenated with by '$$'.
 
See also [[:Template:Slashcommand]].
 
== Examples ==
 
Demonstrating a line in a loadable bind file:
; <nowiki>ALT+2 {{bindcommand|powexec_altslot|2}}</nowiki>
: ALT+2 {{bindcommand|powexec_altslot|2}}
 
Demonstrating multiple, concatenated slash commands:
; <nowiki>{{slashcommand|powexec_name|Taunt}}$${{bindcommand|local|Looking for me, boys?}}</nowiki>
: {{slashcommand|powexec_name|Taunt}}$${{bindcommand|local|Looking for me, boys?}}
 
[[Category:Standardized Text Templates]]
[[Category:Slash Command Templates]]</noinclude>

Latest revision as of 19:49, 21 February 2010

[[{{{1}}} (Slash Command)|{{{1}}}]]

[edit] [purge] Documentation

Usage

{{slashcommand|command|options}}

Similar to the Template:Slashcommand template with one minor difference. This template does not place a '/' in front of the command name and article link. This template is to be used for demonstrating keybind strings where the '/' should not be placed at the beginning of a command. This template may also be used in conjunction with the Slashcommand template when demonstrating two or more commands concatenated with by '$$'.

If provided, prefix= will put a prefix before the command.

See also Template:Slashcommand.

Examples

Demonstrating a line in a loadable bind file:

ALT+2 {{bindcommand|powexec_altslot|2}}
ALT+2 powexec_altslot 2

Demonstrating multiple, concatenated slash commands:

{{slashcommand|powexec_name|Taunt}}$${{bindcommand|local|Looking for me, boys?}}
/powexec_name Taunt$$local Looking for me, boys?

See Also