Template:Variable

From FreeCAD Documentation
Revision as of 05:16, 19 December 2019 by Vocx (talk | contribs) (Added third parameter to show a second Type of the variable, in parentheses, and using the {{incode}} template for code. Also changed the size, to be relative, instead of fixed.)
Jump to navigation Jump to search

{{{1}}}


Use this template where you want to show a value or parameter.

Example:

{{Variable|MyAttribute}}: some variable.

Result:

MyAttribute: some variable.


You can optionally also specify a type to be shown before the variable.

Example:

{{Variable|MyAttribute|Type}}: some variable.

Result:

TypeMyAttribute: some variable.


You can optionally also specify a second type to be shown after the variable.

{{Variable|MyAttribute|Type|Type2}}: some variable.

Result:

TypeMyAttribute (Type2): some variable.