Template:Command: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
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>{{#invoke: command | cmd }}</includeonly><noinclude>
  #switch: {{ lc: {{{2}}} }}
{{documentation}}
  | ? | options = {{
<!-- Put categories/interwiki on the documentation page -->
    #switch: {{ lc: {{{1}}} }}
</noinclude>
    | ? | 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''>
  }}
  | #default = {{{2|}}} {{{3|}}} {{{4|}}} {{{5|}}}
}}</code>{{
#if: {{#pos: {{{1}}} }}<!-- Space in command name --> | [[Category:Invalid command name]] }}</includeonly><noinclude>
{{/doc}}
 
[[nl:Sjabloon:Command]]

Latest revision as of 10:04, 19 February 2023

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.