Jump to content

Template:Labviewconfigurationkey: Difference between revisions

From LabVIEW Wiki
No edit summary
m Use {{Documentation}} instead of {{template doc}}
 
(71 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== {{{keyname}}} ==
<includeonly>== {{{keyname}}} ==
{{ #if:{{{example|{{{example|}}} }}} | '''Example:''' {{{example}}}<br />}}
{| class="wikitable"
{{ #if:{{{description|{{{description|}}} }}} | '''Description:''' {{{description}}}<br />}}
! scope="row" style="text-align: right;" | Example
{{ #if:{{{datatype|{{{datatype|}}} }}} | '''Datatype:'''
| <code>{{ #if:{{{example|{{{example|}}} }}} | {{{example}}} }}</code>
{{
|-
#switch: {{{datatype}}}
! scope="row" style="text-align: right;" | Description
| b = Boolean
| {{ #if:{{{description|{{{description|}}} }}} | {{{description}}} }}
| i = Integer
|-
| s = String
! scope="row" style="text-align: right;" | Datatype
| #default = Undefined
| {{ #if:{{{datatype|{{{datatype|}}} }}} | {{ #switch: {{{datatype}}} | b = [[Boolean]] | i = [[Integer]] | s = [[String]] | p = [[Path]] | h = [[Integer HEX]] | f = [[Float]] | #default = {{{datatype}}} }} }}
}}
|-
<br />
! scope="row" style="text-align: right;" | Permitted Values
}}
| {{ #if:{{{permitted_values|{{{permitted_values|}}} }}} | {{{permitted_values}}} }}
{{ #if:{{{permitted values|{{{permitted values|}}} }}} | '''Permitted Values:''' {{{permitted values}}}<br />}}
|-
{{ #if:{{{default|{{{default|}}} }}} | '''Default Value:''' {{{default}}}<br />}}
! scope="row" style="text-align: right;" | Default Value
{{ #if:{{{LV|{{{LV|}}} }}} | '''LabVIEW Versions:'''
| {{ #if:{{{default|{{{default|}}} }}} | {{{default}}} }}
{{
|-
#switch: {{{LV}}}
! scope="row" style="text-align: right;" | LabVIEW Versions
| 6 = 6.x
|
| 7 = 7.x
{{ #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]]}}
| 8 = 8.x
{{ #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]]}}
| #default = Undefined
{{ #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]]}}
<br />
{{ #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:{{{OS|{{{OS|}}} }}} | '''OS's Supported:'''
|-
{{
! scope="row" style="text-align: right;" | OS's Supported
#switch: {{{OS}}}
|
| m = 6.x
{{ #if:{{{OS1|{{{OS1|}}} }}} | {{ #switch: {{{OS1}}} | m = [[Image:logo.Mac.png]] | w = [[Image:logo.Windows.png]] | l = [[Image:logo.Linux.png]] | u = [[Image:logo.Sun.png]] | #default = [[Image:spacer.png]] }} | [[Image:spacer.png]]}}
| w = 7.x
{{ #if:{{{OS2|{{{OS2|}}} }}} | {{ #switch: {{{OS2}}} | m = [[Image:logo.Mac.png]] | w = [[Image:logo.Windows.png]] | l = [[Image:logo.Linux.png]] | u = [[Image:logo.Sun.png]] | #default = [[Image:spacer.png]] }} | [[Image:spacer.png]]}}
| l = 8.x
{{ #if:{{{OS3|{{{OS3|}}} }}} | {{ #switch: {{{OS3}}} | m = [[Image:logo.Mac.png]] | w = [[Image:logo.Windows.png]] | l = [[Image:logo.Linux.png]] | u = [[Image:logo.Sun.png]] | #default = [[Image:spacer.png]] }} | [[Image:spacer.png]]}}
| u = 8.x
{{ #if:{{{OS4|{{{OS4|}}} }}} | {{ #switch: {{{OS4}}} | m = [[Image:logo.Mac.png]] | w = [[Image:logo.Windows.png]] | l = [[Image:logo.Linux.png]] | u = [[Image:logo.Sun.png]] | #default = [[Image:spacer.png]] }} | [[Image:spacer.png]]}}
| #default = Undefined
|-
}}
! scope="row" style="text-align: right;" | Notes
<br />
| {{ #if:{{{notes|{{{notes|}}} }}} | {{{notes}}} }}__NOEDITSECTION__
}}
|}</includeonly><noinclude>{{documentation}}</noinclude>
{{ #if:{{{notes|{{{notes|}}} }}} | '''Notes:''' {{{notes}}}<br />}}
 
[[Image:logo.Windows.png]][[Image:logo.Mac.png]][[Image:logo.Linux.png]][[Image:log
 
<noinclude>
== Usage Example ==
 
<pre><nowiki>
{{inikey
|keyname=
|example=
|description=
|datatype=
|permitted values=
|default=
|LV=
|OS=
|notes=
}}
</nowiki></pre>
 
 
Image:logo.Windows.pngImage:logo.Mac.pngImage:logo.Linux.pngImage:logo.Sun.png</noinclude>
<noinclude>[[Category:Template]]</noinclude>

Latest revision as of 16:07, 2 August 2024