Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
m
changing all arguments to lower case first letter
imported>Qazaaq m (making sure it doesn't take ''any'' space if empty) |
imported>Qazaaq m (changing all arguments to lower case first letter) |
||
Line 24: | Line 24: | ||
<!-- return value: | <!-- return value: | ||
--> {{ #ifeq: {{{ | --> {{ #ifeq: {{{returnVal|missing}}} | missing | '''missing return value!''' | ({{{returnVal}}}|}}<!-- | ||
return type (short, float, base object, ref, something else?): | return type (short, float, base object, ref, something else?): | ||
-->{{ #if: {{{ | -->{{ #if: {{{returnType|}}} |:{{{returnType}}}|}}<!-- | ||
closing parenthesis: | closing parenthesis: | ||
-->{{ #if: {{{ | -->{{ #if: {{{returnVal|}}} |) |}}<!-- | ||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): | ||
-->{{ #if: {{{ | -->{{ #if: {{{referenceType|}}} |''{{{referenceType}}}.''|}}<!-- | ||
the actual function: | the actual function: | ||
Line 63: | Line 63: | ||
example: | example: | ||
-->{{ #if: {{{Example|}}} | == Example == {{{ | -->{{ #if: {{{Example|}}} | == Example == {{{example}}} |}}<!-- | ||
categorization code (needs something clever): --> | categorization code (needs something clever): --> | ||
{{{CategoryList|}}}</includeonly> | {{{CategoryList|}}}</includeonly> |