Difference between revisions of "Template:PropertyData"

From FreeCAD Documentation
Jump to navigation Jump to search
(If the third argument is given, the ''hidden'' text is printed.)
Line 1: Line 1:
{{Variable|{{{1}}}|Data|{{{2|}}}|{{#if:{{{3|}}}
+
{{Variable|{{{1}}}|{{#switch:{{#translation:}}
                                    |hidden
+
|/bg=Data
                                    |}}}}<noinclude>
+
|/cs=Údaje
 +
|/de=Daten
 +
|/en=Data
 +
|/es=Datos
 +
|/fr=Données
 +
|/hr=Podaci
 +
|/hu=Adat
 +
|/id=Data
 +
|/it=Dati
 +
|/ja=データ
 +
|/ko=데이터
 +
|/pl=Dane
 +
|/pt=Dados
 +
|/pt-br=Dados
 +
|/ro=Date
 +
|/ru=Данные
 +
|/sv=Data
 +
|/tr=Veri
 +
|/uk=Дані
 +
|/zh=Data
 +
|/zh-cn=数据
 +
|/zh-hant=Data
 +
|/zh-tw=資料
 +
|Data}}|{{{2|}}}|{{{3|}}}|}}<noinclude>
  
 
----
 
----

Revision as of 21:22, 7 September 2021

Data{{{1}}}


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

Example:

The Data keyword is printed.

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

DataMake Face: create a face.


Example 2:

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

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

DataMake Face (Bool): create a face.


Example 3:

If the third argument is given, the hidden text is printed.

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

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