--- title: "Quick User Guide | Using Templates | N3uron KB V.1.20" slug: "quick-user-guide-templates" description: "Welcome to N3uron, the modern and highly customizable Industrial IoT and SCADA software solution to accomplish any data collection project." updated: 2021-11-19T13:12:27Z published: 2021-11-19T13:12:28Z canonical: "docs.n3uron.com/quick-user-guide-templates" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.n3uron.com/llms.txt > Use this file to discover all available pages before exploring further. # Working with Templates Templates can be created and used at different levels of configuration: - **Tag level:** Tag templates and device templates containing tags. - **Communications level:** Templates for communication clients (Modbus, OPC, Siemens, etc.) including preliminary configuration of the connection. The Model tree for each section can be used to instantiate templates and provide the values for Custom Properties, assigning different values for each instance. This User Guide assumes a basic understanding of Object-Oriented paradigm. ## Custom Properties In order to use the templates, it is possible to create Custom Properties within each template to be used as parameters. Custom properties are what differentiate instances derived from the same template. These Custom Properties can then be referenced in the Expressions to calculate specific values for each instance. Custom properties are referenced in the Expressions using the name of the Custom Property in curly braces { }. ## Expressions JavaScript expressions can be used on each data entry to calculate the value. All expressions start with “=” (like in spreadsheets). Expressions are only evaluated during the start-up of the module. Examples of expressions assuming the following Custom Properties: | **Custom Property Name** | **Type** | **Value** | | --- | --- | --- | | Boolean01 | Boolean | True | | Boolean02 | Boolean | False | | Number01 | Number | 5 | | Number02 | Number | 25 | | Text01 | Text | Hello | | Text02 | Text | World! | | **Action** | **Expression** | **Result** | | --- | --- | --- | | Concatenation | ={Text01}+" "+{Text02} | Hello World! | | Sum | ={Number01}+{Number02} | 30 | | Conditional | ={Boolean01}==1?{Number01}:{Number02} | 5 | | Conditional | =['A','B','C','D','E'][{Number01}-2] | D | | String methods | ={Text02}.substr(0,1)+{Text01}.slice(1,4) | Well |