Template:Event: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
Undo revision 40648 by ArceusInator (Talk)
>NXTBoy
Might flow into two columns on smaller monitors
Line 1: Line 1:
<div style="float:left; padding:2px; width:600px; height:120px; overflow:auto; margin:2px;">
<div style="float:left; max-width:600px; width: 50%; height:120px; overflow:auto">
{| 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="margin: 4px; padding: 4px; display: block; {{border-radius|6px}}; background: #ffdddd; font-size: 90%; text-align: left; border: 4px solid #dbd517;"
|style="padding: 0;font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected}}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: white"
|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"|Description
|style="border-top: solid 1px black;"|{{{description}}}
|style="border-top: solid 1px black;"|{{{description}}}
|-style="background: #ffdddd;"
|-
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|In Object{{if|{{{object2|}}}|s}}:
!style="width: 10%; border-top: solid 1px black; border-right: solid 1px black"|In Object{{if|{{{object2|}}}|s}}:
|style="border-top: solid 1px black;"|{{if|{{{object|}}}|[[{{{object|}}}]]}}{{if|{{{objects|}}}|{{{objects|}}}}}
|style="border-top: solid 1px black;"|{{if|{{{object|}}}|[[{{{object|}}}]]}}{{if|{{{objects|}}}|{{{objects|}}}}}
|}</div><noinclude>
|}</div><noinclude>

Revision as of 16:18, 15 July 2011

[[{{{name}}} (Event)|{{{name}}}]] ( )
Description {{{description}}}
In Object:


Example Usage

{{Event
|name        = ChildAdded
|arguments   = [[Instance]] Child
|description = Fired after a child is added.
|object      = Instance
}}
ChildAdded ( Instance Child )
Description Fired after a child is added.
In Object: Instance
ProtectedEvent ( Boolean playingRoblox )
Description Fired when somethings happens
In Object: nil