Template:Bindcommand

From Homecoming Wiki
Revision as of 23:05, 27 July 2007 by imported>Eabrace (historical) (created for use in bind file notation or for use in demonstrating concatenated ($$) commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[[{{{1}}} (Slash Command)|{{{1}}}]]Template:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.

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 '$$'.

See also Template:Slashcommand.

Examples

Demonstrating a line in a loadable bind file:

ALT+2 {{bindcommand|powexec_altslot|2}}
ALT+2 powexec_altslotTemplate:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.

Demonstrating multiple, concatenated slash commands:

{{slashcommand|powexec_name|Taunt}}$${{bindcommand|local|Looking for me, boys?}}
/powexec_name Taunt$$localTemplate:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.