Template:Function: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Ozzypig
No edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{|
<onlyinclude><div style="float:left; max-width:600px; width: 50%; {{if|{{{widthoverride|}}}|width:100%;}} min-height:120px; overflow:auto">
|</noinclude><div style="float:left; padding:2px; width:600px; height:150px; overflow:auto; margin:2px;">
{| cellspacing="0" cellpadding="4" style="margin: 4px; padding: 4px; display: block; {{border-radius|6px}}; background: #ffdddd; font-size: 90%; text-align: left; border: 4px solid #AA0000;"
{| cellspacing="0" cellpadding="4" style="-webkit-border-radius: 6px; -moz-border-radius: 6px; background: #ffdddd; margin:0; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px; border: solid 4px #B57EDC;"
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|{{if|{{{nolink|}}}|{{{name}}}|[[{{{name}}} (Function)|{{{name}}}]]}}( {{{arguments<includeonly>|</includeonly>}}} )
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:Function Icon.png]] [[{{{name}}} (Function)|{{{name}}}]]( {{{arguments}}} )
|-style="background: #FFFFFF;"
|-style="background: #FFFFFF;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="border-top: solid 1px black;"|{{{returns}}}
|style="border-top: solid 1px black;"|{{{returns<includeonly>|[[nil]]</includeonly>}}}
|-style="background: #ffdddd;"
|-style="background: #ffdddd;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description:  
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description:  
|style="border-top: solid 1px black;"|{{{description}}}
|style="border-top: solid 1px black;"|{{{description}}}
|-style="background: #FFFFFF;"
|}</div></onlyinclude>
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|In Object:
|style="border-top: solid 1px black;"|{{{object}}}
|}</div><noinclude>
|}
 


== Deprecated ==
{{clear floats}}


Use the [[Template:Method|Method Template]] instead.
This template should not be used for methods. It should only be used with non-method functions. Whether these functions are in a library or directly in the environment doesn't matter.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>

Latest revision as of 14:05, 23 March 2012

[[{{{name}}} (Function)|{{{name}}}]]( {{{arguments}}} )
Returns {{{returns}}}
Description: {{{description}}}


This template should not be used for methods. It should only be used with non-method functions. Whether these functions are in a library or directly in the environment doesn't matter.