Template:VIServerLegend: Difference between revisions
Appearance
VI Server Class Legend template created |
m Category reorg |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style=" | <includeonly>{| class="wikitable" style="font-size: 0.75em;" | ||
! colspan="2"|Legend | ! colspan="2"| Legend | ||
|- | |- | ||
|R/W | {{#ifeq: {{{showrw|}}}|TRUE|<tr><td>R/W</td><td>Readable/Writable Permissions</td></tr>|}} | ||
{{#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 17: | ||
== 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''' | |||
'''Example: Show RTE''' | |||
''This is for Method tables.'' | |||
<code> | |||
<nowiki> | |||
{{VIServerLegend|showrte=TRUE}} | |||
</nowiki> | |||
</code> | |||
{{VIServerLegend|showrte=TRUE}} | |||
'''Example: Don't show either (Default)''' | |||
''This is for Event tables.'' | |||
<code> | <code> | ||
| Line 30: | Line 66: | ||
</code> | </code> | ||
{{VIServerLegend}} | {{VIServerLegend}} | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 13:20, 8 May 2020
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 Permissions |
| 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 |