Template:Function: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
Line 3: Line 3:
{{#customtitle:{{{name}}}()|{{{name}}}()}}
{{#customtitle:{{{name}}}()|{{{name}}}()}}
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')'''
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')'''
{{#if: p1 | '''{{{p1t}}}''' {{{p1}}} - {{{p1d}}} }}
{{#if: parameter1 | {{params|p1}} }}
{{#if: p2 | '''{{{p2t}}}''' {{{p2}}} - {{{p2d}}} }}
{{#if: parameter2 | {{params|p2}} }}
[[Category:Ash Functions]]
[[Category:Ash Functions]]
</includeonly>
</includeonly>

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