Template:Function: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
Undo revision 51876 by JulienDethurens (talk) Oops... stupid redirect...
>JulienDethurens
K, I think I did it right... I wish we could test templates with the preview button or something, but we can't. :/
Line 1: Line 1:
<onlyinclude><div style="float:left; max-width:600px; width: 50%; {{if|{{{widthoverride|}}}|width:100%;}} min-height:120px; overflow:auto">
<onlyinclude><div style="float:left; max-width:600px; width: 50%; {{if|{{{widthoverride|}}}|width:100%;}} min-height:120px; overflow:auto">
{| 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 green;"
{| 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 green;"
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[{{{name}}} (Function)|{{{name}}}]]( {{{arguments<includeonly>|</includeonly>}}} )
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|{{if|{{{nolink|}}}|{{{name}}}|[[{{{name}}} (Function)|{{{name}}}]]}}( {{{arguments<includeonly>|</includeonly>}}} )
|-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

Revision as of 06:06, 9 February 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.