Template:Example

From Moondust Wiki
Revision as of 10:58, 28 December 2014 by Kevsoft (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Wiki code

{{Example
 |desc=Prints a message at x = 20 and y = 20
 |code=<syntaxhighlight lang="lua">printText("Hello world!", 20, 20)</syntaxhighlight>
 }}

Result

Example
Prints a message at x = 20 and y = 20
Code
printText("Hello world!", 20, 20)