Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua

Converts Minecraft terms to real-life units and vice versa. To convert other units, use the corresponding template on Wikipedia, then copy the output to the desired page.

Parameters

  • Template:P: value to convert (e.g., 2400)
  • Template:P: full name of unit to convert from (e.g., game tick)
  • Template:P: full name of unit to convert to (e.g., second)
  • Template:P: optional, another full name of unit to convert to (e.g. minute)
  • Template:P: optional separator (defaults to a space with brackets)

Available units

  • game tick (tick, ticks, gt, game ticks or game tick)
  • redstone tick (rt, redstone ticks or redstone tick)
  • in-game day (day, days, igd, in game day or in-game day)
  • second (s, sec, secs, seconds or second)
  • minute (m, min, mins, minutes or minute)

Examples

TemplateData

<templatedata> { "params": { "1": { "label": "Value", "description": "Value to convert", "type": "number", "required": true }, "2": { "label": "Convert from", "description": "Full name of unit to convert from", "type": "string", "suggestedvalues": [ "game tick", "redstone tick", "in-game day", "second", "minute" ], "required": true }, "3": { "label": "Convert to", "description": "Full name of unit to convert to", "type": "string", "suggestedvalues": [ "game tick", "redstone tick", "in-game day", "second", "minute" ], "required": true }, "4": { "label": "Convert to (2)", "description": "Convert to another unit", "type": "string", "suggestedvalues": [ "game tick", "redstone tick", "in-game day", "second", "minute" ] }, "separator": { "label": "Separator", "description": "Optional separator", "type": "string", "suggestedvalues": [ "=", "->" ], "default": "A space with brackets" } }, "description": "Converts Minecraft terms to real-life units and vice versa", "format": "inline", "paramOrder": [ "1", "2", "3", "4", "separator" ] } </templatedata>


fr:Modèle:Convertir ja:テンプレート:Convert pt:Predefinição:Conversão uk:Шаблон:Конвертувати

zh:Template:Convert
The above text is transcluded from Template:MC/Convert/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Convert/doc. (View all subpages of this page.)