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>{{#if: {{{parameter1|}}}|{{{parameter1}}}}}{{#if: {{{parameter2|}}}|, {{{parameter2}}}}}{{#if: {{{parameter3|}}}|, {{{parameter3}}}}}{{#if: {{{parameter4|}}}|, {{{parameter4}}}}}{{#if: {{{parameter5|}}}|, {{{parameter5}}}}}<nowiki></nowiki>''')'''
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{#if: {{{parameter1|}}}|{{{parameter1}}}}}{{#if: {{{parameter2|}}}|, {{{parameter2}}}}}{{#if: {{{parameter3|}}}|, {{{parameter3}}}}}{{#if: {{{parameter4|}}}|, {{{parameter4}}}}}{{#if: {{{parameter5|}}}|, {{{parameter5}}}}}<nowiki></nowiki>''')'''
<br /><br />{{{description|}}}<br />
<p>{{{description|}}}</p>
{{#if: {{{p1desc|}}}|{{{p1desc}}}}}
{{#if: {{{p1desc|}}}|<p>{{{p1desc}}}</p>}}
[[Category:Ash Functions]]
[[Category:Ash Functions]]
</includeonly>
</includeonly>

Revision as of 01:07, 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.