Template:Slash command: Difference between revisions
Created page with "<code class="slash-command">/{{{1}}}{{#if:{{{2|}}}| {{{2}}}}}{{#if:{{{3|}}}|: {{{3}}}}}{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}|: {{{5}}}}}{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}|: {{{7}}}}}{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}|: {{{9}}}}}{{#if:{{{10|}}}| {{{10}}}}}{{#if:{{{11|}}}|: {{{11}}}}}</code> <noinclude> ==Documentation== Displays a slash command. ===Examples=== <syntaxhighlight lang="wikitex..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<code class="slash-command">/{{{1}}}{{#if:{{{2|}}}| {{{2}}}}}{{#if:{{{3|}}}|: {{{3}}}}}{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}|: {{{5}}}}}{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}|: {{{7}}}}}{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}|: {{{9}}}}}{{#if:{{{10|}}}| {{{10}}}}}{{#if:{{{11|}}}|: {{{11}}}}}</code> | <code class="slash-command">/{{{1}}}{{#if:{{{2|}}}| {{{2}}}}}{{#if:{{{3|}}}|: {{{3}}}}}{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}|: {{{5}}}}}{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}|: {{{7}}}}}{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}|: {{{9}}}}}{{#if:{{{10|}}}| {{{10}}}}}{{#if:{{{11|}}}|: {{{11}}}}}</code><noinclude> | ||
<noinclude> | |||
==Documentation== | ==Documentation== | ||
Displays a slash command. | Displays a slash command. | ||
Latest revision as of 20:58, 3 June 2024
/{{{1}}}
Documentation[edit source]
Displays a slash command.
Examples[edit source]
{{Slash command|stats}}
{{sc|stats}}
{{sc|stash|common_animal|beaver}}
{{sc|animals|query|bison|hidden|true}}
Template data[edit source]
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Name of the command
| String | required |
| 2 | 2 | First parameter
| String | suggested |
| 3 | 3 | Value for first parameter
| Unknown | suggested |
| 4 | 4 | Second parameter | String | suggested |
| 5 | 5 | Value for second parameter | String | suggested |
| 6 | 6 | Third parameter | String | optional |
| 7 | 7 | Value for third parameter | String | optional |
| 8 | 8 | Fourth parameter | String | optional |
| 9 | 9 | Value for fourth parameter | String | optional |
| 10 | 10 | Fifth parameter | String | optional |
| 11 | 11 | Value for fifth parameter | String | optional |