Template:Function: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bumcheekcity
m rv
imported>Bumcheekcity
m rrv
Line 1: Line 1:
<noinclude>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.</noinclude>
<noinclude>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.</noinclude>
<includeonly>
<includeonly>
'''[[{{{returns|}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters|}}}<nowiki></nowiki>''')'''
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')'''
{{#if: p1 | '''{{{p1t}}}''' {{{p1}}} - {{{p1d}}} }}
{{#if: p2 | '''{{{p2t}}}''' {{{p2}}} - {{{p2d}}} }}
{{#if: p3 | '''{{{p3t}}}''' {{{p3}}} - {{{p3d}}} }}
{{#if: p4 | '''{{{p4t}}}''' {{{p4}}} - {{{p4d}}} }}
{{#if: p5 | '''{{{p5t}}}''' {{{p5}}} - {{{p5d}}} }}
[[Category:Ash Functions]]
[[Category:Ash Functions]]
</includeonly>
</includeonly>

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