Template:VIServerHasEvents: Difference between revisions
Appearance
Starting Templates |
m Move documentation to subpage |
||
Line 295: | Line 295: | ||
|16552=FALSE | |16552=FALSE | ||
|16553=FALSE | |16553=FALSE | ||
|FALSE}}</includeonly><noinclude> | |FALSE}}</includeonly><noinclude>{{documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 16:59, 1 August 2024
This documentation is transcluded from Template:VIServerHasEvents/doc (history).
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 whether the class has any events {TRUE, FALSE}.
Syntax is as follows:
{{VIServerHasEvents|{{{1}}}}}
where:
Parameter | Description | Default |
---|---|---|
{{{1}}}
|
The Class ID of a class in the VI Server Class Hierarchy. | NULL = FALSE
|
Example: Control class - Has Events
{{VIServerHasEvents|6}}
Result: TRUE
Example: Decoration class - Does not have events
{{VIServerHasEvents|4}}
Result: FALSE
Example: Passing a Null
Passing a NULL defaults to FALSE.
{{VIServerHasEvents}}
Result: FALSE
See Also
- Template:VIServerGetAncestors
- Template:VIServerGetChildren
- Template:VIServerGetClassName
- Template:VIServerGetClassType
- Template:VIServerGetParent
- Template:VIServerHasMethods
- Template:VIServerHasProperties