Template:VIServerGetClassType/doc: Difference between revisions
Created page with "<noinclude>{{documentation subpage}}</noinclude> == Usage == This template is a lookup table. The input is the Class ID of a class in the VI Server Class Hierarchy. It..." |
m Fix category name Template -> Templates |
||
Line 66: | Line 66: | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 17:29, 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
See Also