Difference between revisions of "Template:PropertyData"

From FreeCAD Documentation
Jump to navigation Jump to search
(Change the DATA text to lowercase. Use the second argument of the Variable template.)
({{PropertyData|Proxy|PythonObject|Hidden}}: a custom class associated with this object. Hidden parameter in action.)
Line 1: Line 1:
{{Variable|{{{1}}}|Data|{{{2|}}}}}<noinclude>
+
{{Variable|{{{1}}}|Data|{{{2|}}}|{{{3|}}}}}<noinclude>
  
 
----
 
----
Line 20: Line 20:
  
 
{{PropertyData|Make Face|Bool}}: create a face.
 
{{PropertyData|Make Face|Bool}}: create a face.
 +
 +
----
 +
 +
Example 3:
 +
 +
<nowiki>
 +
{{PropertyData|Proxy|PythonObject|Hidden}}: a custom class associated with this object.</nowiki>
 +
 +
{{PropertyData|Proxy|PythonObject|Hidden}}: a custom class associated with this object.
  
 
[[Category:Template:Text Format]]
 
[[Category:Template:Text Format]]
 
[[Category:Administration]]
 
[[Category:Administration]]
 
</noinclude>
 
</noinclude>

Revision as of 07:29, 18 January 2020

Data{{{1}}}


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

Example:

{{PropertyData|Make Face}}: create a face.

DataMake Face: create a face.


Example 2:

{{PropertyData|Make Face|Bool}}: create a face.

DataMake Face (Bool): create a face.


Example 3:

{{PropertyData|Proxy|PythonObject|Hidden}}: a custom class associated with this object.

Data (Hidden)Proxy (PythonObject): a custom class associated with this object.