18,700
edits
(adding semicolon to "finish" function call; putting Win/Mac icons in consistent order) |
(testing support for variadic functions; trying clearer code style) |
||
Line 22: | Line 22: | ||
-->}} | -->}} | ||
|style="font-size:166%; vertical-align:bottom"|{{{name}}}( | |style="font-size:166%; vertical-align:bottom"|{{{name}}}( | ||
|style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg1name|}}} | |style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg1variadic|}}}|''|}} <!--use italics if variadic--> | ||
{{#if:{{{arg1name|}}} | |||
|{{{arg1name|}}} <!--print arg 1 name if supplied--> | |||
{{#if:{{{arg1altname|}}} | |||
|<u>or</u> {{{arg1altname|}}} <!--print alternative arg 1 if present --> | |||
| | |||
}} | |||
{{#if:{{{arg2name|}}}|, |}} <!--if there is a next arg, print comma--> | |||
|void ); <!--if no args, print "void" and a close parens--> | |||
}} | |||
|style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg2name|}}} | |style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg2name|}}} | ||
|{{{arg2name|}}} {{#if:{{{arg2altname|}}} | |{{{arg2name|}}} {{#if:{{{arg2altname|}}} | ||
|<u>or</u> {{{arg2altname|}}}|}} | |<u>or</u> {{{arg2altname|}}}|}} | ||
{{#if:{{{arg3name|}}}|, |}} | |||
|{{#if:{{{arg1name|}}}| ); |}} }} <!--if this was last arg, close parentheses--> | |||
|style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg3name|}}} | |style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg3name|}}} | ||
|{{{arg3name|}}} {{#if:{{{arg3altname|}}} | |{{{arg3name|}}} {{#if:{{{arg3altname|}}} |