Template:Command: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
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#{{#explode: {{{1}}} }}|{{ lc: {{#explode: {{{1}}} }} }}{{{b|}}}]]{{
<includeonly>{{#invoke: command | cmd }}</includeonly><noinclude>
  #switch: {{ lc: {{{2}}} }}
  | ? | options | ... = &nbsp;{{
    #switch: {{ lc: {{{1}}} }}
    | ? | help = ([<''page''>{{!}}<''command''>])
    | ban | kick = <''player''> (<''reason''>)
    | ban-ip | pardon-ip = <''ip''>
    | banlist = ([ips])
    | clear = (<''player''> <''item''> <''data-value''>)
    | debug = <''operation'':[start{{!}}stop]>
    | defaultgamemode = <''mode'':[<span title="Adventure">0</span>{{!}}<span title="Creative">1</span>{{!}}<span title="Survival">2</span>]>
    | deop | op | pardon = <''player''>
    | difficulty = <''difficulty'':[<span title="Peaceful">0</span>{{!}}<span title="Easy">1</span>{{!}}<span title="Normal">2</span>{{!}}<span title="Hard">3</span>]>
    | gamemode = <''mode'':[<span title="Adventure">0</span>{{!}}<span title="Creative">1</span>{{!}}<span title="Survival">2</span>]> (<''player''>)
    | gamerule = <''rule'':[commandBlockOutput{{!}}doFireTick{{!}}doMobLoot{{!}}doMobSpawning{{!}}doTileDrops{{!}}keepInventory{{!}}mobGriefing]> (<''enabled'':[true{{!}}false]>)
    | give = <''player''> <''data-value''> <''amount''> (<''damage-value''>)
    | me = <''action''>
    | say = <''message''>
    | spawnpoint = (<''player''> (<''x''> <''y''> <''z''>))
    | tell = <''player''> <''message''>
    | tp = <''player''> [<''destination-player''>{{!}}<''x''> <''y''> <''z''>]
    | time = <''operation'':[set{{!}}add]> <''number''>
    | weather = <''option'':[clear{{!}}rain{{!}}thunder]> <''time''>
    | whitelist = <''operation'':[add <''player''>{{!}}remove <''player''>{{!}}list{{!}}on{{!}}off{{!}}reload]>
    | xp = <''amount''> <''player''>
  }}[[Category:Fixme]]
  | #default = {{#if: {{#pos: {{{1}}} }} | &#32;{{#sub: {{{1}}} | {{#pos: {{{1}}} }} }} | {{#if: {{{2|}}} | &nbsp;{{{2}}} }} {{{3|}}} {{{4|}}} {{{5|}}} {{{6|}}} {{{7|}}} {{{8|}}} {{{9|}}} {{{10|}}} {{{11|}}} {{{12|}}} {{{13|}}} {{{14|}}} }}
}}</code>{{
#if: {{#pos: {{{1}}} }}<!-- Space in command name --> | [[Category:Invalid command name]] }}</includeonly><noinclude>
{{/doc}}
{{/doc}}


[[nl:Sjabloon:Command]]
[[nl:Sjabloon:Command]]

Revision as of 12:45, 22 February 2014