Template:LuaFunction

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Daman (Talk)
(<code lua n> now requires a linebreak after it.)

Latest revision as of 13:57, 4 June 2010

Function
Syntax{{{function_name}}}( )
Description:
No description provided
Returnsnil




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!


Example Usage

{{LuaFunction
|function_name        = Name of Function
|arguments            = [[type]] arg , [[type]] arg[2]
|returns              = [[type]] 
|description          = Enter a description here
|codedesc             = Example code description/explanation.
|code                 = Enter lua code here, enclose in <code lua n></code>
|output               = What does the example return?
|}}
Personal tools