Template:VIServerLegend: Difference between revisions
Appearance
mNo edit summary |
Created parameters for some rows |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="font-size: 0.75em;" | <includeonly>{| class="wikitable" style="font-size: 0.75em;" | ||
! colspan="2"|Legend | ! colspan="2"| Legend | ||
| | {{#ifeq: {{{showrw|}}}|TRUE|<tr><td>R/W</td><td>Readable/Writable {R = Read Only, W = Write Only, R/W = Read/Write}</td></tr>|}} | ||
|R/W | {{#ifeq: {{{showrte|}}}|TRUE|<tr><td>RTE</td><td>Available in the [[Run-Time Engine]]</td></tr>|}} | ||
| | |||
|RTE | |||
|- style="background-color:#FFFFCC;" | |- style="background-color:#FFFFCC;" | ||
|colspan="2"|[[VI Server#Basic Development Environment|Basic Development Environment]] | | colspan="2"|[[VI Server#Basic Development Environment|Basic Development Environment]] | ||
|-style="background-color:#CCFFFF;" | |-style="background-color:#CCFFFF;" | ||
|colspan="2"|[[VI Server#VI Scripting|VI Scripting]] | | colspan="2"|[[VI Server#VI Scripting|VI Scripting]] | ||
|-style="background-color:#D1BB80;" | |-style="background-color:#D1BB80;" | ||
|colspan="2"|[[VI Server#Private|Private]] | | colspan="2"|[[VI Server#Private|Private]] | ||
|-style="background-color:#FFAAAA;" | |-style="background-color:#FFAAAA;" | ||
|colspan="2"|[[VI Server#Deprecated|Deprecated]] | | colspan="2"|[[VI Server#Deprecated|Deprecated]] | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 20: | Line 16: | ||
== Usage == | == Usage == | ||
Use this template is for [[VI Server Class Hierarchy]] class pages. | Use this template is for [[VI Server Class Hierarchy]] class pages. This template supports named parameters to customize contents: | ||
{| class="wikitable" | |||
! Parameter | |||
! Description | |||
! Default | |||
|- | |||
| <code>showrw</code> | |||
| Specifies whether to show the "R/W - Readable/Writable" row | |||
| <code>showrw=TRUE</code> | |||
|- | |||
| <code>showrte</code> | |||
| Specifies whether to show the "RTE - Available in the [[Run-Time Engine]]" row | |||
| <code>showrte=TRUE</code> | |||
|} | |||
'''Example: Show R/W and Show RTE''' | |||
''This is for Property tables.'' | |||
<code> | |||
<nowiki> | |||
{{VIServerLegend|showrw=TRUE|showrte=TRUE}} | |||
</nowiki> | |||
</code> | |||
{{VIServerLegend|showrw=TRUE|showrte=TRUE}} | |||
'''Example: Show RTE''' | |||
''This is for Method tables.'' | |||
<code> | |||
<nowiki> | |||
{{VIServerLegend|showrte=TRUE}} | |||
</nowiki> | |||
</code> | |||
{{VIServerLegend|showrte=TRUE}} | |||
'''Example''' | '''Example: Don't show either (Default)''' | ||
''This is for Event tables.'' | |||
<code> | <code> | ||
| Line 30: | Line 65: | ||
</code> | </code> | ||
{{VIServerLegend}} | {{VIServerLegend}} | ||
</noinclude> | </noinclude> | ||
[[Category:VI Server]] | [[Category:VI Server]] | ||
Revision as of 00:11, 26 August 2019
Usage
Use this template is for VI Server Class Hierarchy class pages. This template supports named parameters to customize contents:
| Parameter | Description | Default |
|---|---|---|
showrw
|
Specifies whether to show the "R/W - Readable/Writable" row | showrw=TRUE
|
showrte
|
Specifies whether to show the "RTE - Available in the Run-Time Engine" row | showrte=TRUE
|
Example: Show R/W and Show RTE This is for Property tables.
{{VIServerLegend|showrw=TRUE|showrte=TRUE}}
| Legend | |
|---|---|
| R/W | Readable/Writable {R = Read Only, W = Write Only, R/W = Read/Write} |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
Example: Show RTE
This is for Method tables.
{{VIServerLegend|showrte=TRUE}}
| Legend | |
|---|---|
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
Example: Don't show either (Default) This is for Event tables.
{{VIServerLegend}}
| Legend
| |
|---|---|
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated |