Template:Code/doc

Description
This template allows you to have syntax highlighting and a tab width of 4 (can be edited by providing a different size argument) to present code. The default language is Lua.

Usage
{{code|[=]code[|lang=language][|size=size]}} Note: text between brackets ([ and ]) is optional, text in bold represents a certain value (something you must replace) and the rest represents things that must be present as-is.

Result
alert("Hello World!");

Result
= for i = 1, 5 do	print("Hello World!") end