Template:PropertyView

From LabRPS Documentation
Revision as of 07:00, 6 August 2022 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

View{{{1}}}


Use this template where you want to show a View property. See also Template:PropertyData, Template:TitleProperty.

Example:

The View keyword is printed.

{{PropertyView|Line Width}}: width of the edge.

ViewLine Width: width of the edge.


Example 2:

If the second argument is given, the type of the data is printed.

{{PropertyView|Line Width|FloatConstraint}}: width of the edge.

ViewLine Width (FloatConstraint): width of the edge.


Example 3:

If the third argument is given, the type of the property is printed. One or more of these types can apply: Hidden, ReadOnly and Output.

{{PropertyView|Proxy|PythonObject|Hidden}}: a custom view provider class associated with this object.

View (Hidden)Proxy (PythonObject): a custom view provider class associated with this object.