18,700
edits
(working on comma/parens fix) |
(adding semicolon to "finish" function call; putting Win/Mac icons in consistent order) |
||
Line 15: | Line 15: | ||
|- | |- | ||
|{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]] <!--if neither platform, show error icon | |{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]] <!--if neither platform, show error icon | ||
-->|[[Image:Platform- | -->|[[Image:Platform-Win.png|20px]] [[Image:Platform-empty.png|20px]] <!--if only Win, show Win and blank icon | ||
-->}}<!-- | -->}}<!-- | ||
-->|{{#ifeq:{{{win|yes}}}|no|[[Image:Platform- | -->|{{#ifeq:{{{win|yes}}}|no|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if only Mac, show blank and Mac icon | ||
-->|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if both platforms, show both icons | -->|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if both platforms, show both icons | ||
-->}}<!-- | -->}}<!-- | ||
Line 26: | Line 26: | ||
|<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 )}} | -->|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 | |<u>or</u> {{{arg2altname|}}}|}} <!-- print alternative arg 2 if present | ||
-->{{#if:{{{arg3name|}}}|, |}} <!-- if there is a next arg, print comma | -->{{#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 | |<u>or</u> {{{arg3altname|}}}|}} <!-- print alternative arg 3 if present | ||
-->{{#if:{{{arg4name|}}}|, |}} <!-- if there is a next arg, print comma | -->{{#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 | |<u>or</u> {{{arg4altname|}}}|}} <!-- print alternative arg 4 if present | ||
-->}} <!-- | -->}} <!-- there can't be a next arg, so no comma | ||
-->{{#if:{{{arg3name|}}}| ) |}} | -->{{#if:{{{arg3name|}}}| ); |}} <!-- if this was last arg, close parentheses --> | ||
|- | |- | ||
|default: | |default: |