Template:Lua example

From Official DarkRP Wiki
Jump to navigation Jump to search
DescriptionN/A
Used on
Code
OutputN/A



How to use this template:

To use type:
{{Lua example |
description = DESCRIPTION |
useOn = LOCATION |
code = CODE |
output = OUTPUT |}}


  • DESCRIPTION = A description of what the example code does.
  • LOCATION = Where the action is executed, e.g. Server Side.
Tip:
Use {{Serverside}}, {{Client}} or {{Menu}} instead of words.
  • CODE = The example code.
  • OUTPUT = The outputed result of the executed code.


Use this template on a Lua function page (after the Lua function template) to add an example.