Difference between revisions of "Template:Function"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
__NOTOC__
 
__NOTOC__
'''[[{{{returns}}}]]''' '''{{{name}}}(''' {{#if: {{{parameters|}}} || {{{parameters}}} || }} ''')'''
+
'''[[{{{returns}}}]]''' '''{{{name}}}(''' {{#if: {{{parameters|}}}|{{{parameters}}}|}} ''')'''
 
[[Category:Ash Functions]]
 
[[Category:Ash Functions]]
 
</includeonly>
 
</includeonly>

Revision as of 17:16, 22 February 2010


This is the main function template. Supply the function name, the data type of the value it returns, and what, if any, parameters it takes.