Template:Property: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Switched colors to use the {{Color}} template, for consistency
>NXTBoy
Finished the set
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%; overflow:auto">
{| cellspacing="0" cellpadding="4" style="margin: 2px; padding: 4px; display: block; {{border-radius|6px}}; background: {{Color|blue}}; font-size: 90%; text-align: left; border: 4px solid {{Color|blue|dark}};"
{| cellspacing="0" cellpadding="4" style="margin: 2px; display: block; {{border-radius|6px}}; background: {{color|blue}}; font-size: 90%; text-align: left; border: 4px solid {{color|blue|dark}};"
|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: {{color|blue|light}};"
|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 {{color|blue|dark}}; border-right: solid 1px {{color|blue|dark}}; font-weight:bold;"|{{if|{{{property|}}}|Property|Type}}
|style="border-top: solid 1px black;"|{{{property|{{{type|}}}}}}
|style="border-top: solid 1px {{color|blue|dark}};"|{{{property|{{{type|}}}}}}
|-
|-
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description
|style="width: 10%; border-top: solid 1px {{color|blue|dark}}; border-right: solid 1px {{color|blue|dark}}; font-weight:bold;"|Description
|style="border-top: solid 1px black;"|{{{description}}}
|style="border-top: solid 1px {{color|blue|dark}};"|{{{description}}}
|-style="background: #FFFFFF;"
|-style="background: {{color|blue|light}};"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold; border-bottom: solid 1px black;"|In Object{{if|{{{objects|}}}|s}}
|style="width: 10%; border-top: solid 1px {{color|blue|dark}}; border-right: solid 1px {{color|blue|dark}}; font-weight:bold; border-bottom: solid 1px {{color|blue|dark}};"|In Object{{if|{{{objects|}}}|s}}
|style="border-bottom: solid 1px black; border-top: solid 1px black;"|{{if|{{{object|}}}|[[{{{object|}}}]]}}{{{objects|}}}
|style="border-bottom: solid 1px {{color|blue|dark}}; border-top: solid 1px {{color|blue|dark}};"|{{if|{{{object|}}}|[[{{{object|}}}]]}}{{{objects|}}}
|}</div></onlyinclude><noinclude>
|}</div></onlyinclude><noinclude>
{{clear floats}}
{{clear floats}}

Revision as of 17:24, 18 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