Difference between revisions of "Template:Function"

From Kolmafia
Jump to navigation Jump to search
imported>Bumcheekcity
m (rrv)
imported>StDoodle
m
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>
 +
{{#customtitle:blargh|blargh2}}
 
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')'''
 
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')'''
 
{{#if: p1 | '''{{{p1t}}}''' {{{p1}}} - {{{p1d}}} }}
 
{{#if: p1 | '''{{{p1t}}}''' {{{p1}}} - {{{p1d}}} }}

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