Difference between revisions of "Template:Function"
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'' | ''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 | ''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 |