18,700
edits
(working on comma/parens fix) |
(working on comma/parens fix) |
||
Line 23: | Line 23: | ||
|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:{{{arg1name|}}} | ||
|{{{arg1name|}}}{{#if:{{{arg1altname|}}} | |{{{arg1name|}}} {{#if:{{{arg1altname|}}} | ||
|<u>or</u> {{{arg1altname|}}}|}} <!-- print alternative arg 1 if present | |<u>or</u> {{{arg1altname|}}}|}} <!-- print alternative arg 1 if present | ||
-->{{#if:{{{arg2name|}}}|, |}} <!-- if there is a next arg, print comma | -->{{#if:{{{arg2name|}}}|, |}} <!-- if there is a next arg, print comma | ||
-->|void )}} <!-- if no arg1, print "void" and a close parens --> | -->|void )}} <!-- if no arg1, 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 there is a next arg, print comma | {{#if:{{{arg3name|}}}|, |}} <!-- if there is a next arg, print comma | ||
-->| 2) }} <!-- if this arg didn't exist, close parentheses --> | -->| 2) }} <!-- if this arg didn't exist, 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|}}} | ||
|<u>or</u> {{{arg3altname|}}}|}} | |<u>or</u> {{{arg3altname|}}}|}} | ||
{{#if:{{{arg4name|}}}|, |}} <!-- if there is a next arg, print comma | {{#if:{{{arg4name|}}}|, |}} <!-- if there is a next arg, print comma | ||
-->| 3) }} | -->|{{#if:{{{arg2name|}}}| 3) |}} }} <!-- if this arg didn't exist, close parentheses --> | ||
|style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg4name|}}} | |style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg4name|}}} | ||
|{{{arg4name|}}}{{#if:{{{arg4altname|}}} | |{{{arg4name|}}} {{#if:{{{arg4altname|}}} | ||
|<u>or</u> {{{arg4altname|}}}|}} <!-- this must be last arg, so no comma | |<u>or</u> {{{arg4altname|}}}|}} <!-- this must be last arg, so no comma | ||
--> 4) }} <!-- close parentheses since this must be the last arg --> | --> 4) }} <!-- close parentheses since this must be the last arg --> |