18,700
edits
(working on comma/parens fix) |
(working on comma/parens fix) |
||
Line 24: | Line 24: | ||
|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 | |||
-->{{#if:{{{arg2name|}}}|, |}} | -->{{#if:{{{arg2name|}}}|, |}} <!-- if there is a next arg, print comma | ||
-->|void )}} | -->|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|}}}|}} <!-- print alternative arg 2 if present | |||
-->{{#if:{{{arg3name|}}}|, |}} | -->{{#if:{{{arg3name|}}}|, |}} <!-- if there is a next arg, print comma | ||
-->|{{#if:{{{arg1name|}}}| ) |}} }} | -->|{{#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|}}} | ||
|<u>or</u> {{{arg3altname|}}}|}} <!-- print alternative arg 3 if present | |||
-->{{#if:{{{arg4name|}}}|, |}} | -->{{#if:{{{arg4name|}}}|, |}} <!-- if there is a next arg, print comma | ||
-->|{{#if:{{{arg2name|}}}| ) |}} }} | -->|{{#if:{{{arg2name|}}}| ) |}} }} <!-- if this was last arg, 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|}}}|}} <!-- print alternative arg 4 if present | |||
-->}} <!-- this must be last arg, so no comma | |||
-->{{#if:{{{arg3name|}}}| ) |}} <!-- if this was last arg, close parentheses --> | |||
|- | |- | ||
|default: | |default: |