Template:Function: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
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>{{#customtitle:{{{name}}}()|{{{name}}}()}}<nowiki></nowiki>'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{#if: {{{parameter1|}}}|{{param|{{{parameter1|1}}}{{{parameter1|2}}}}}}}{{#if: {{{parameter2|}}}|, {{{parameter2}}}}}
<includeonly>{{#customtitle:{{{name}}}()|{{{name}}}()}}<nowiki></nowiki>'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{#if: {{{parameter1|}}}|{{param{{!}}{{{parameter1{{!}}1}}}{{{parameter1{{!}}2}}}}}}}
<p>{{{description|}}}</p>
<p>{{{description|}}}</p>
{{#if: {{{p1desc|}}}|<p>{{{p1desc}}}</p>}}
[[Category:Ash Functions]]
[[Category:Ash Functions]]
</includeonly>
</includeonly>

Revision as of 03:25, 24 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.