Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith (removing the arg# and optarg#'s from the example - at the very least don't have people continue to use it) |
imported>DragoonWraith |
||
Line 121: | Line 121: | ||
<!-- FOR ALIAS: return value: | <!-- FOR ALIAS: return value: | ||
--> | -->{{ #if: {{{shortname|}}} | | ||
Or: | Or: | ||
{{ #ifeq: {{{returnType}}} | void | |({{ #if: {{{returnVal|}}} | {{{returnVal}}}<nowiki>:</nowiki> |}}<!-- | {{ #ifeq: {{{returnType}}} | void | |({{ #if: {{{returnVal|}}} | {{{returnVal}}}<nowiki>:</nowiki> |}}<!-- | ||
Line 132: | Line 132: | ||
shortname: | shortname: | ||
--> | -->{{{shortname}}}<!-- | ||
arguments | arguments | ||
Line 159: | Line 159: | ||
-->{{ #if: {{{optarg7|}}} | ''{{{optarg7}}}:{{{optarg7Type}}}'' |}}<!-- | -->{{ #if: {{{optarg7|}}} | ''{{{optarg7}}}:{{{optarg7Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg8|}}} | ''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!-- | -->{{ #if: {{{optarg8|}}} | ''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg9|}}} | ''{{{optarg9}}}:{{{optarg9Type}}}'' |}}<!-- | -->{{ #if: {{{optarg9|}}} | ''{{{optarg9}}}:{{{optarg9Type}}}'' |}} |}}<!-- | ||
example: --> | example: --> |