Template:VIServerGetClassType: Difference between revisions
Starting Templates |
m Move documentation to subpage |
||
| Line 295: | Line 295: | ||
|16552=script | |16552=script | ||
|16553=script | |16553=script | ||
|unknown}}</includeonly><noinclude> | |unknown}}</includeonly><noinclude>{{documentation}}</noinclude> | ||
</noinclude> | |||
Latest revision as of 16:52, 1 August 2024
Usage
This template is a lookup table. The input is the Class ID of a class in the VI Server Class Hierarchy. It returns the Class type {basic, script, private, deprecated, unknown}.
Syntax is as follows:
{{VIServerGetClassType|{{{1}}}}}
where:
| Parameter | Description | Default |
|---|---|---|
{{{1}}}
|
The Class ID of a class in the VI Server Class Hierarchy. |
|
Example: Basic Class
6 is the Class ID of Control class, which is a class available in the Basic Development Environment.
{{VIServerGetClassType|6}}
Result: basic
Example: Scripting Class
16386 is the Class ID of Constant class, which is a class available when VI Scripting is enabled.
{{VIServerGetClassType|16386}}
Result: script
Example: Private Class
82 is the Class ID of TagSet class, which is a class available when the Private VI Server functions are enabled.
{{VIServerGetClassType|82}}
Result: private