Difference between revisions of "Template:Function"

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

Revision as of 22:54, 23 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.