Jump to content

Template:LabVIEW VI Analyzer Toolkit InVersion/doc: Difference between revisions

From LabVIEW Wiki
Add notes about version ranges
Add note about changed behavior for the version
 
Line 27: Line 27:
|-
|-
|value
|value
|Value to display when current version is between first and last version. If the current version is not specified, the value is displayed with a version range: "<value> (LabVIEW VI Analyzer Toolkit <first>..<last>)" or "<value> (LabVIEW VI Analyzer Toolkit <first> and later").
|Value to display when current version is between first and last version. If the current version is "-1", the value is displayed with a version range: "<value> (LabVIEW VI Analyzer Toolkit <first>..<last>)" or "<value> (LabVIEW VI Analyzer Toolkit <first> and later").
|}
|}



Latest revision as of 06:22, 20 August 2024

This is the documentation page for Template:LabVIEW VI Analyzer Toolkit InVersion.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

Returns a value only if a version is between a first and last version.

Usage

{{LabVIEW VI Analyzer Toolkit InVersion
|first=2009
|last=2024 Q1
|current=2019
|value=Value when between versions
}}

Parameters

Parameter Description
first (optional) First version where the value is included. If no value is specified, the value is included in all versions until 'last'.
last (optional) Last version where the value is included. If no value is specified, the value is included in all versions since 'first'.
current Current version
value Value to display when current version is between first and last version. If the current version is "-1", the value is displayed with a version range: "<value> (LabVIEW VI Analyzer Toolkit <first>..<last>)" or "<value> (LabVIEW VI Analyzer Toolkit <first> and later").