Template:TerminalAsDataType: Difference between revisions
Appearance
Add alternative names for simple numeric types |
Add boolean, variant, error cluster, and void |
||
Line 34: | Line 34: | ||
| extended precision | | extended precision | ||
| ext = Extended Float.png{{!}}link=EXT | | ext = Extended Float.png{{!}}link=EXT | ||
| boolean = Boolean.png{{!}}link=Boolean | |||
| variant = LV Variant.png{{!}}link=Variant | |||
| error cluster = Error Cluster.png{{!}}link=Error Cluster | |||
| void = Void.png{{!}}link=Void | |||
}} | }} | ||
| indicator = {{#switch:{{lc:{{{1}}}}} | | indicator = {{#switch:{{lc:{{{1}}}}} | ||
Line 69: | Line 73: | ||
| extended precision | | extended precision | ||
| ext = Extended Float Indicator.png{{!}}link=EXT | | ext = Extended Float Indicator.png{{!}}link=EXT | ||
| boolean = Boolean Indicator.png{{!}}link=Boolean | |||
| variant = LV Variant Indicator.png{{!}}link=Variant | |||
| error cluster = Error Cluster Indicator.png{{!}}link=Error Cluster | |||
| void = Void Indicator.png{{!}}link=Void | |||
}} | }} | ||
}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 19:14, 3 January 2025
This documentation is transcluded from Template:TerminalAsDataType/doc (history).
Provides a simple way to get terminal images as data type that link to the corresponding wiki page.
Parameters
Parameter | Description |
---|---|
type
|
Terminal type (control or indicator). Default is control. |
1 | Type name (e.g., string) |
Type names
This is a complete reference of supported type names:
Examples
Source | Result |
---|---|
{{TerminalAsDataType|type=control|string}}
|
|
{{TerminalAsDataType|type=indicator|string}}
|