Difference between revisions of "Template:Function"

Jump to navigation Jump to search
29 bytes removed ,  14:55, 10 February 2009
Update returnType docs to indicate its optional and don't mention void anymore.
imported>SnakeChomp
(Stop complaining if no return type is specified for the template; sometimes we just don't know)
imported>SnakeChomp
(Update returnType docs to indicate its optional and don't mention void anymore.)
Line 11: Line 11:
   summary          = description of the function
   summary          = description of the function
   ''name''              = the name of the function. The page name is the default value.
   ''name''              = the name of the function. The page name is the default value.
   ''alias''         = An abbreviated version of the function name that can be
   ''alias''             = An abbreviated version of the function name that can be
                       used instead of the long name.
                       used instead of the long name.
   ''returnVal ''        = what the function returns
   ''returnVal ''        = what the function returns.
   returnType        = the type of the returned value. Use void if there is no return value.
   ''returnType''       = the type of the returned value.
   ''referenceType''    = if appropriate, the type of reference that the function may be called
   ''referenceType''    = if appropriate, the type of reference that the function may be called
                       on with the dot syntax
                       on with the dot syntax
Anonymous user

Navigation menu