Template:Labviewconfigurationkey: Difference between revisions
Remove comma at the end of version lists |
m Remove superfluous whitespace |
||
| Line 18: | Line 18: | ||
! scope="row" style="text-align: right;" | LabVIEW Versions | ! scope="row" style="text-align: right;" | LabVIEW Versions | ||
| | | | ||
{{ #if:{{{LV1|{{{LV1|}}} }}} | {{ #switch: {{{LV1}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV1}}} }} | [[Image:spacer.png]] }} | {{ #if:{{{LV1|{{{LV1|}}} }}} | {{ #switch: {{{LV1}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV1}}} }}| [[Image:spacer.png]] }} | ||
{{ #if:{{{LV2|{{{LV2|}}} }}} |, {{ #switch: {{{LV2}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV2}}} }} | [[Image:spacer.png]] }} | {{ #if:{{{LV2|{{{LV2|}}} }}} |, {{ #switch: {{{LV2}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV2}}} }}| [[Image:spacer.png]] }} | ||
{{ #if:{{{LV3|{{{LV3|}}} }}} |, {{ #switch: {{{LV3}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV3}}} }} | [[Image:spacer.png]] }} | {{ #if:{{{LV3|{{{LV3|}}} }}} |, {{ #switch: {{{LV3}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV3}}} }}| [[Image:spacer.png]] }} | ||
{{ #if:{{{LV4|{{{LV4|}}} }}} |, {{ #switch: {{{LV4}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV4}}} }} | [[Image:spacer.png]] }} | {{ #if:{{{LV4|{{{LV4|}}} }}} |, {{ #switch: {{{LV4}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV4}}} }}| [[Image:spacer.png]] }} | ||
{{ #if:{{{LV5|{{{LV5|}}} }}} |, {{ #switch: {{{LV5}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV5}}} }} | [[Image:spacer.png]] }} | {{ #if:{{{LV5|{{{LV5|}}} }}} |, {{ #switch: {{{LV5}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV5}}} }}| [[Image:spacer.png]] }} | ||
{{ #if:{{{LV6|{{{LV6|}}} }}} |, {{ #switch: {{{LV6}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV6}}} }} | [[Image:spacer.png]] }} | {{ #if:{{{LV6|{{{LV6|}}} }}} |, {{ #switch: {{{LV6}}} | 3 = 3.x | 4 = 4.x | 5 = 5.x | 6 = 6.x | 7 = 7.x | 8 = 8.x | #default = {{{LV6}}} }}| [[Image:spacer.png]] }} | ||
|- | |- | ||
! scope="row" style="text-align: right;" | OS's Supported | ! scope="row" style="text-align: right;" | OS's Supported | ||
Revision as of 07:27, 1 February 2020
If you want to experiment with the template goto: labviewconfigurationkeysandbox.
For support issues on this template see here.
Usage
To use the template copy and paste the following code as shown below into the editable page.
{{ labviewconfigurationkey
| keyname =
| example =
| datatype =
| description =
| permitted_values =
| default =
| LV1 =
| LV2 =
| LV3 =
| LV4 =
| LV5 =
| LV6 =
| OS1 =
| OS2 =
| OS3 =
| OS4 =
| notes =
}}
|
Example
Shown below is an example of the template used with real values inserted.
{{ labviewconfigurationkey
| keyname = copyDeleteFPDCOFromFPTerm
| example = copyDeleteFPDCOFromFPTerm=TRUE
| datatype = b
| description = Delete front panel terminals from diagram
| permitted_values = TRUE or FALSE
| default = FALSE
| LV1 = 3
| LV2 = 4
| LV3 = 5
| LV4 = 6
| LV5 = 7
| LV6 = 8
| OS1 = w
| OS2 = m
| OS3 = l
| OS4 = u
| notes =
}}
|
You do not need to include all rows. Any can be omitted. For example, if only one LabVIEW version is supported, the other LV parameters can be removed. You can also leave the parameter in place but not include a value. This may be useful for future edits. The above example produces the following formatted output:
copyDeleteFPDCOFromFPTerm
| Example | copyDeleteFPDCOFromFPTerm=TRUE |
|---|---|
| Description | Delete front panel terminals from diagram |
| Datatype | Boolean |
| Permitted Values | TRUE or FALSE |
| Default Value | FALSE |
| LabVIEW Versions |
3.x , 4.x , 5.x , 6.x , 7.x , 8.x |
| OS's Supported | |
| Notes |
The following parameters are explained further below. At any time, you can use a value that is not specified here. It will be accepted as typed. For example, if you want to specify LabVIEW version 6.0.1, then you would use: LV1 = 6.0.1
| Parameter Name | Options |
|---|---|
| datatype | b=Boolean, i=Integer, s=string, p=path, h=Integer HEX, f=Float |
| LV1-6 | 3=3.x, 4=4.x, 5=5.x, 6=6.x, 7=7.x, 8=8.x |
| OS1-4 | w= |