Difference between revisions of "Template:Function"

Jump to navigation Jump to search
No change in size ,  18:15, 20 December 2008
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: {{{ReturnVal|missing}}} | missing | '''missing return value!''' | ({{{ReturnVal}}}|}}<!--
--> {{ #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: {{{ReturnType|}}} |:{{{ReturnType}}}|}}<!--
-->{{ #if: {{{returnType|}}} |:{{{returnType}}}|}}<!--


closing parenthesis:
closing parenthesis:
-->{{ #if: {{{ReturnVal|}}} |)&nbsp;|}}<!--
-->{{ #if: {{{returnVal|}}} |)&nbsp;|}}<!--


optional reference type (actor, activator, door, etc.):
optional reference type (actor, activator, door, etc.):
-->{{ #if: {{{ReferenceType|}}} |''{{{ReferenceType}}}.''|}}<!--
-->{{ #if: {{{referenceType|}}} |''{{{referenceType}}}.''|}}<!--


the actual function:
the actual function:
Line 63: Line 63:


example:
example:
-->{{ #if: {{{Example|}}} | == Example == &nbsp;{{{Example}}} |}}<!--
-->{{ #if: {{{Example|}}} | == Example == &nbsp;{{{example}}} |}}<!--


categorization code (needs something clever): -->
categorization code (needs something clever): -->
{{{CategoryList|}}}</includeonly>
{{{CategoryList|}}}</includeonly>
Anonymous user

Navigation menu