Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
imported>StDoodle m |
imported>StDoodle m |
||
(35 intermediate revisions by 2 users not shown) | |||
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> | ||
<includeonly> | <includeonly> | ||
− | + | {{#customtitle:{{{name}}}()|{{{name}}}()}} | |
− | + | '''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')''' | |
+ | {{#if: p1 | '''{{{p1t}}}''' {{{p1}}} - {{{p1d}}} }} | ||
+ | {{#if: p2 | '''{{{p2t}}}''' {{{p2}}} - {{{p2d}}} }} | ||
+ | [[Category:Ash Functions]] | ||
</includeonly> | </includeonly> | ||
− | |||
− | |||
− | |||
− |
Revision as of 22:37, 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.