Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
Small documentation update/format fix
imported>SnakeChomp m (Try to remove extraneous newline before function origin) |
imported>SnakeChomp (Small documentation update/format fix) |
||
Line 6: | Line 6: | ||
<nowiki>{{Function|</nowiki> | <nowiki>{{Function|</nowiki> | ||
''CSWikiPage'' = name of corresponding page on the [http://cs.elderscrolls.com/constwiki/index.php/Category:Functions TES CS Wiki] | ''CSWikiPage'' = name of corresponding page on the [http://cs.elderscrolls.com/constwiki/index.php/Category:Functions TES CS Wiki] | ||
origin = whether the function came from the GECK itself or was added by FOSE ( | origin = whether the function came from the GECK itself or was added by FOSE. | ||
valid values: GECK1 (GECK 1.1), FOSE0001 (FOSE v0001) | |||
summary = description of the function | summary = description of the function | ||
name = the name of the function | name = the name of the function | ||
Line 13: | Line 14: | ||
''referenceType'' = if appropriate, the type of reference that the function may be called on with the dot syntax | ''referenceType'' = if appropriate, the type of reference that the function may be called on with the dot syntax | ||
''arg0'' = the first '''mandatory''' argument | ''arg0'' = the first '''mandatory''' argument | ||
( | (''arg*'' parameters are optional, not all functions have mandatory arguments) | ||
''arg1'' = the second mandatory argument | ''arg1'' = the second mandatory argument | ||
... (the template | ... (the template supports 10 mandatory arguments, arg0 through arg9) | ||
''optArg0'' = the first '''optional''' argument | ''optArg0'' = the first '''optional''' argument | ||
(this means it is optional for the scripter) | (this means it is optional for the scripter) |