Difference between revisions of "Template:Function"

From Kolmafia
Jump to navigation Jump to search
imported>Bumcheekcity
m
imported>StDoodle
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
__NOTOC__
 
__NOTOC__
dobedo
+
{{{returns}}} {{{name}}}( {{if: ({{arg1type}} and {{arg1desc}})|{{param |{{arg1type}}|{{arg1desc}}}}}} {{if: ({{arg2type}} and {{arg2desc}})|{{param |,{{arg2type}}|{{arg2desc}}}}}} {{if: ({{arg3type}} and {{arg3desc}})|{{param |,{{arg3type}}|{{arg3desc}}}}}}
<div style="position:relative">
 
<div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">
 
{{{returns}}} {{{name}}}( {{#if:{{{arg1|}}}{{{arg1}}}}} {{#if:{{{arg2|}}},{{{arg2}}}}} )<br />
 
{{#if:{{{noarg|}}}This function has no arguments.<br />}}
 
 
{{{description}}}
 
{{{description}}}
</div>
 
</div>
 
 
</includeonly>
 
</includeonly>
  
 
<noinclude>
 
<noinclude>
This is the main function template.
+
This is the main function template. Up to three arguments can be supplied.
 
</noinclude>
 
</noinclude>

Revision as of 15:58, 22 February 2010


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