Template:Slashcommand: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly>'''/[[{{{1}}} (Slash Command)|{{{prefix|}}}{{{1}}}]]''' {{#if:{{{2|}}}|'' {{{2|}}}''|}} {{#if:{{{3|}}}| [{{{3|}}}]|}}
<includeonly>'''/[[{{{1}}} (Slash Command)|{{{prefix|}}}{{{1}}}]]''' {{#if:{{{2|}}}|'' {{{2|}}}''|}} {{#if:{{{3|}}}| {{{3|}}}|}}


</includeonly><noinclude>
</includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 13:18, 24 February 2024

[edit] [purge] Documentation

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