Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
pre tags instead of leading space
imported>DragoonWraith (Undo revision 13074 by DragoonWraith (Talk) (unnecessary)) |
imported>DragoonWraith (pre tags instead of leading space) |
||
Line 82: | Line 82: | ||
<!-- return value: | <!-- return value: | ||
--> {{ #ifeq: {{{returnType}}} | void |<!-- no Return Value -->|({{ #if: {{{returnVal|}}} | {{{returnVal}}}<nowiki>:</nowiki> |}}<!-- | --><pre>{{ #ifeq: {{{returnType}}} | void |<!-- no Return Value -->|({{ #if: {{{returnVal|}}} | {{{returnVal}}}<nowiki>:</nowiki> |}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
Line 94: | Line 94: | ||
arguments | arguments | ||
-->{{ #if: {{{arguments|}}} | {{{arguments}}} |<!-- no Arguments -->}}<!-- | -->{{ #if: {{{arguments|}}} | {{{arguments}}} |<!-- no Arguments -->}}</pre><!-- | ||
<!-- FOR ALIAS: return value: | <!-- FOR ALIAS: return value: | ||
-->{{ #if: {{{shortname|}}} | | -->{{ #if: {{{shortname|}}} | Or: | ||
Or: | <pre>{{ #ifeq: {{{returnType}}} | void |<!-- no Return Value -->|({{ #if: {{{returnVal|}}} | {{{returnVal}}}<nowiki>:</nowiki> |}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
Line 111: | Line 110: | ||
arguments | arguments | ||
-->{{ #if: {{{arguments|}}} | {{{arguments}}} |<!-- no Arguments -->}} |<!-- no Alias -->}}<!-- | -->{{ #if: {{{arguments|}}} | {{{arguments}}} |<!-- no Arguments -->}} </pre>|<!-- no Alias -->}}<!-- | ||
example: --> | example: --> |