Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith |
imported>DragoonWraith |
||
Line 108: | Line 108: | ||
'''Syntax:''' | '''Syntax:''' | ||
<!-- return value: | <!-- return value: | ||
--> ({{{returnVal| | --> ({{{returnVal|}}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} }}<!-- | -->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} | void }}<!-- | ||
-->) <!-- | -->) <!-- | ||
Line 128: | Line 128: | ||
return value: | return value: | ||
--> | --> ({{{returnVal|}}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{{returnType}}}) | -->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} | void }}<!-- | ||
-->) <!-- | |||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): | ||
Line 146: | Line 148: | ||
return value: | return value: | ||
--> | --> ({{{returnVal|}}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{{returnType}}}) | -->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} | void }}<!-- | ||
-->) <!-- | |||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): | ||
Line 164: | Line 168: | ||
return value: | return value: | ||
--> | --> ({{{returnVal|}}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{{returnType}}}) | -->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} | void }}<!-- | ||
-->) <!-- | |||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): | ||
Line 182: | Line 188: | ||
return value: | return value: | ||
--> | --> ({{{returnVal|}}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{{returnType}}}) | -->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} | void }}<!-- | ||
-->) <!-- | |||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): | ||
Line 200: | Line 208: | ||
return value: | return value: | ||
--> | --> ({{{returnVal|}}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{{returnType}}}) | -->{{ #if: {{{returnType|}}} | {{#if:{{{returnVal|}}}|:|}}{{{returnType}}} | void }}<!-- | ||
-->) <!-- | |||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): |