18,700
edits
(default 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 --> | |<u>or</u> {{{arg1altname|}}}|}} <!-- print alternative arg 1 if present | ||
-->{{#if:{{{arg2name|}}}|, |}} <!-- if there is a next arg, print a comma | |||
-->|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:{{{arg3name|}}}|, | ) }} }} <!-- if there is next arg, print comma else close parens --> | ||
|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:{{{arg4name|}}}|, | ) }} }} | ||
|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|}}}|}} )}} | |<u>or</u> {{{arg4altname|}}}|}} ) }} | ||
|- | |- | ||
|default: | |default: |