Template:Property: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Examples show type parameter
>Ozzypig
No edit summary
Line 1: Line 1:
<onlyinclude><div style="float:left; max-width:600px; width: 50%; min-height:120px; overflow:auto">
<onlyinclude><div style="float:left; max-width:600px; width: 50%; min-height:120px; overflow:auto">
{| cellspacing="0" cellpadding="4" style="margin: 2px; padding: 4px; display: block; {{border-radius|6px}}; background: #ffdddd; font-size: 90%; text-align: left; border: 4px solid #3d78e3;"
{| cellspacing="0" cellpadding="4" style="margin: 2px; padding: 4px; display: block; {{border-radius|6px}}; background: #ddddff; font-size: 90%; text-align: left; border: 4px solid #3d78e3;"
|style="padding: 1; font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected}}Property Icon.png]][[{{{name}}} (Property)|{{{name}}}]]
|style="padding: 1; font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected}}Property Icon.png]][[{{{name}}} (Property)|{{{name}}}]]
|-style="background: #FFFFFF;"
|-style="background: #FFFFFF;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|{{if|{{{property|}}}|Property|Type}}
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|{{if|{{{property|}}}|Property|Type}}
|style="border-top: solid 1px black;"|{{{property|{{{type|}}}}}}
|style="border-top: solid 1px black;"|{{{property|{{{type|}}}}}}
|-style="background: #ffdddd;"
|-style="background: #ddddff;"
|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}}}

Revision as of 02:03, 17 February 2012

[[{{{name}}} (Property)|{{{name}}}]]
Type
Description {{{description}}}
In Object


Example Usage

{{Property
|name        = Name
|type        = String
|description = The name of the object.
|object      = Instance
}}
Name
Type String
Description The name of the object.
In Object Instance
{{Property
|name        = Protected Property
|type        = ProtectedProperty
|description = A protected property that cannot be read or written from scripts.
|object      = NonExistantObject
|protected   = yes}}
Protected Property
Type ProtectedProperty
Description A protected property that cannot be read or written from scripts.
In Object NonExistantObject