Template:Event: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy Linked. |
>ArceusInator You should be able use a ''protected'' argument in events now... |
||
Line 1: | Line 1: | ||
<div style="float:left; padding:2px; width:600px; height:120px; overflow:auto; margin:2px;"> | <div style="float:left; padding:2px; width:600px; height:120px; overflow:auto; margin:2px;"> | ||
{| 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 #dbd517;" | {| 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 #dbd517;" | ||
|style="padding: 0;font-size:120%; font-weight:bold;" colspan="2"|[[Image:Event Icon.png]] [[{{{name}}} (Event)|{{{name}}}]] ( {{{arguments|}}} ) | |style="padding: 0;font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected}}Event Icon.png]] [[{{{name}}} (Event)|{{{name}}}]] ( {{{arguments|}}} ) | ||
|-style="background: #FFFFFF;" | |-style="background: #FFFFFF;" | ||
|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 | ||
Line 30: | Line 30: | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
{{Event | |||
|name = ProtectedEvent | |||
|arguments = [[Boolean]] ''playingRoblox'' | |||
|description = Fired when somethings happens | |||
|object = [[nil]] | |||
|protected = Yes}} | |||
</noinclude> | </noinclude> |
Revision as of 22:12, 9 January 2011
Example Usage
{{Event |name = ChildAdded |arguments = [[Instance]] Child |description = Fired after a child is added. |object = Instance }}
![]() | |
Description | Fired after a child is added. |
In Object | Instance |
![]() | |
Description | Fired when somethings happens |
In Object | [[nil]] |