Template:VIServerGetPropertyDataName/doc: Difference between revisions
Appearance
Created page with "<noinclude>{{documentation subpage}}</noinclude> == Usage == This template is a lookup table. The input is the Property ID of a property of a class in the VI Server Class..." |
m Fix category name Template -> Templates |
||
Line 53: | Line 53: | ||
<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 Property ID of a property of a class in the VI Server Class Hierarchy. It returns the Data Name, if found. If not found, it returns a "unknown".
Syntax is as follows:
{{VIServerGetPropertyDataName|{{{1}}}}}
where:
Parameter | Description | Default |
---|---|---|
{{{1}}}
|
The Property ID of a property of a class in the VI Server Class Hierarchy. |
|
Example
632A813 is the Property ID for the UID property of GObject class.
{{VIServerGetPropertyDataName|632A813}}
Result
Result: (UID)
Example
Passing a blank to the lookup won't be found and therefore returns "unknown".
{{VIServerGetPropertyDataName|}}
Result
Result: (unknown)
See Also