Template:LabVIEW VI Analyzer Toolkit InVersion: Difference between revisions
Appearance
Add version info if the current version is not specified |
Fix typo |
||
| Line 19: | Line 19: | ||
| {{#if:{{{1|{{{first|}}}}}} | | {{#if:{{{1|{{{first|}}}}}} | ||
| {{{value}}} (LabVIEW VI Analyzer Toolkit {{{1|{{{first}}}}}} and later | | {{{value}}} (LabVIEW VI Analyzer Toolkit {{{1|{{{first}}}}}} and later | ||
}} | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 09:08, 19 August 2024
This documentation is transcluded from Template:LabVIEW VI Analyzer Toolkit InVersion/doc (history).
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"). |