Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
m
fixing pre box.
imported>DragoonWraith (added functionality for alts and 2nd alts to have different return values and reference parameters) |
imported>DragoonWraith m (fixing pre box.) |
||
Line 9: | Line 9: | ||
valid values: CS1 (TES CS 1.0), CS1.1 (TES CS 1.1), CS1.2 (TES CS 1.2), OBSE | valid values: CS1 (TES CS 1.0), CS1.1 (TES CS 1.1), CS1.2 (TES CS 1.2), OBSE | ||
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 | ||
Line 20: | Line 20: | ||
''arguments'' = List of arguments specified using the {{[[:Template:FunctionArgument|FunctionArgument]]}} template, | ''arguments'' = List of arguments specified using the {{[[:Template:FunctionArgument|FunctionArgument]]}} template, | ||
or any other wiki syntax. | or any other wiki syntax. | ||
''altName'' = the name of an alternate version of a function (e.g. the "C" Magic Effect functions) | ''altName'' = the name of an alternate version of a function (e.g. the "C" Magic Effect functions) | ||
''altAlias'' = the alias of the alternate function. | ''altAlias'' = the alias of the alternate function. | ||
Line 28: | Line 28: | ||
''altRefOpt'' = whether the alternate's reference is optional. | ''altRefOpt'' = whether the alternate's reference is optional. | ||
''altArgs'' = List of arguments for the alternate version of the function. | ''altArgs'' = List of arguments for the alternate version of the function. | ||
''alt2Name'' = the name of a second alternate version of a function | ''alt2Name'' = the name of a second alternate version of a function | ||
''alt2Alias'' = the alias of any second alternate version of a function | ''alt2Alias'' = the alias of any second alternate version of a function | ||
Line 36: | Line 36: | ||
''alt2RefOpt'' = whether the second alternate's reference is optional. | ''alt2RefOpt'' = whether the second alternate's reference is optional. | ||
''alt2Args'' = List of arguments for the second alternate version of the function. | ''alt2Args'' = List of arguments for the second alternate version of the function. | ||
''example'' = optionally, the function used as part of a script to serve as an example | ''example'' = optionally, the function used as part of a script to serve as an example | ||
''CategoryList'' = the list of categories to which the page belongs | ''CategoryList'' = the list of categories to which the page belongs |