Template:BSLfuncinfo: Difference between revisions
No edit summary |
(saving work so far) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{ | {{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]] <!--if neither platform, show error icon | ||
-->|[[Image:Platform-empty.png|20px]] [[Image:Platform-Win.png|20px]] <!--if only Win, show blank and Win icon | |||
{{{ | -->}}<!-- | ||
-->|{{#ifeq:{{{win|yes}}}|no|[[Image:Platform-Mac.png|20px]] [[Image:Platform-empty.png|20px]] <!--if only Mac, show Mac and blank icon | |||
-->|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if both platforms, show both icons | |||
|{{{ | -->}}<!-- | ||
-->}} <span style="font-size:166%; vertical-align:bottom">{{#switch:{{{type}}} | |||
|int = int | |||
|string = string | |||
|float = float | |||
|bool = bool | |||
|void | |||
}} <!-- | |||
--> {{{name|function_name}}}()</span><br /> | |||
default: {{#ifeq:{{{return_default}}}|void|error: a void function cannot have a return value|{{{return_default}}}}}<noinclude> | |||
[[Category:Basic formatting templates]]</noinclude> | [[Category:Basic formatting templates]]</noinclude> |