Template:Slashcommand/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
m (updating for {{Documentation}}, moving cats here from template page)
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
== Usage ==
== Usage ==


<nowiki>{{slashcommand|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>}}</nowiki>
<nowiki>{{slashcommand|</nowiki>''command''<nowiki>|</nowiki>''options''<nowiki>|</nowiki>''argument''<nowiki>}}</nowiki>


This template to be used in the middle of articles where all that is needed is the slash command. Also includes a link to the command.
This template to be used in the middle of articles where all that is needed is the slash command. Also includes a link to the command.
Line 21: Line 21:
; <nowiki>{{slashcommand|up|prefix=++}}</nowiki>
; <nowiki>{{slashcommand|up|prefix=++}}</nowiki>
: {{slashcommand|up|prefix=++}}
: {{slashcommand|up|prefix=++}}
== See Also ==
* {{tl|bindcommand}}
* {{tl|SlashCommandArticle}}
* {{tl|SlashCommand}} (note the capital C)


; <nowiki>{{slashcommand|option_set|NoXP|1}}</nowiki>
: {{slashcommand|option_set|NoXP|1}}
{{Navbox Slash Command Article Reference}}
<includeonly>
<includeonly>
[[Category:Standardized Text Templates]]
[[Category:Slash Command Templates|{{PAGENAME}}]]
[[Category:Slash Command Templates]]
</includeonly>
</includeonly>

Latest revision as of 13:17, 24 February 2024

This is a documentation subpage for Template:Slashcommand (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|argument}}

This template to be used in the middle of articles where all that is needed is the slash command. Also includes a link to the command.

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

Examples

{{slashcommand|petcom_all|commands}}
/petcom_all commands
{{slashcommand|petcom_all}}
/petcom_all
Testing the {{slashcommand|petcom_all}} in a sentence.
Testing the /petcom_all in a sentence.
{{slashcommand|up|prefix=++}}
/++up
{{slashcommand|option_set|NoXP|1}}
/option_set NoXP 1