Difference between revisions of "Template:Function"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
__NOTOC__
 
__NOTOC__
{{{returns}}} {{{name}}}( {{if: ({{arg1type}} and {{arg1desc}})|{{param |{{arg1type}}|{{arg1desc}}}}}} {{if: ({{arg2type}} and {{arg2desc}})|{{param |,{{arg2type}}|{{arg2desc}}}}}} {{if: ({{arg3type}} and {{arg3desc}})|{{param |,{{arg3type}}|{{arg3desc}}}}}}
+
{{{returns}}} {{{name}}}( {{if: ({{{arg1type}}} and {{{arg1desc}}})|{{param |{{{arg1type}}}|{{{arg1desc}}}}}}} {{if: ({{{arg2type}}} and {}{arg2desc}}})|{{param |,{{{arg2type}}}|{}{arg2desc}}}}}}} {{if: ({{{arg3type}}} and {{{arg3desc}}})|{{param |,{{{arg3type}}}|{{{arg3desc}}}}}}}
 
{{{description}}}
 
{{{description}}}
 
</includeonly>
 
</includeonly>

Revision as of 16:02, 22 February 2010


This is the main function template. Up to three arguments can be supplied.