Template:Bindcommand/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
(+doc +cat +navbox)
 
imported>Konoko
mNo edit summary
Line 25: Line 25:
<includeonly><!--
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Standardized Text Templates]]
[[Category:Standardized Text Templates|{{PAGENAME}}]]
[[Category:Slash Command Templates]]
[[Category:Slash Command Templates|{{PAGENAME}}]]
</includeonly>
</includeonly>

Revision as of 18:53, 11 December 2008

This is a documentation subpage for Template:Bindcommand (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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

Template:Slash Command Article Reference NavBox