Template:Command: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Fix extra space after name with no parameters. |
||
Line 1: | Line 1: | ||
<includeonly><code {{#if: {{{long|}}} | style="display:block;padding:0.8em 1em;margin-bottom:0.4em;word-wrap:break-word" | class="nowrap" }}>{{{b|}}}/[[Commands#{{{1}}}|{{ lc: {{{1}}} }}{{{b|}}}]] {{ | <includeonly><code {{#if: {{{long|}}} | style="display:block;padding:0.8em 1em;margin-bottom:0.4em;word-wrap:break-word" | class="nowrap" }}>{{{b|}}}/[[Commands#{{{1}}}|{{ lc: {{{1}}} }}{{{b|}}}]]{{ | ||
#switch: {{ lc: {{{2}}} }} | #switch: {{ lc: {{{2}}} }} | ||
| ? | options = {{ | | ? | options = {{ | ||
#switch: {{ lc: {{{1}}} }} | #switch: {{ lc: {{{1}}} }} | ||
| ? | help = ([<''page''>{{!}}<''command''>]) | | ? | help = ([<''page''>{{!}}<''command''>]) | ||
Line 25: | Line 25: | ||
| xp = <''amount''> <''player''> | | xp = <''amount''> <''player''> | ||
}} | }} | ||
| #default = {{{2|}}} {{{3|}}} {{{4|}}} {{{5|}}} | | #default = {{#if: {{{2|}}} | {{{2}}} }} {{{3|}}} {{{4|}}} {{{5|}}} | ||
}}</code>{{ | }}</code>{{ | ||
#if: {{#pos: {{{1}}} }}<!-- Space in command name --> | [[Category:Invalid command name]] }}</includeonly><noinclude> | #if: {{#pos: {{{1}}} }}<!-- Space in command name --> | [[Category:Invalid command name]] }}</includeonly><noinclude> |