Template:TerminalAsDataType: Difference between revisions
Appearance
Add extended float types |
Add floating-point types |
||
Line 18: | Line 18: | ||
| complex extended float | | complex extended float | ||
| cxt = Complex Extended Float.png{{!}}link=CXT | | cxt = Complex Extended Float.png{{!}}link=CXT | ||
| fixed-point | |||
| fxp = Fixed-Point Numeric.png{{!}}link=FXP | |||
| single precision | |||
| sgl = Single Float.png{{!}}link=SGL | |||
| double precision | |||
| dbl = Double Float.png{{!}}link=DBL | |||
| extended precision | |||
| ext = Extended Float.png{{!}}link=EXT | |||
}} | }} | ||
| indicator = {{#switch:{{lc:{{{1}}}}} | | indicator = {{#switch:{{lc:{{{1}}}}} | ||
Line 37: | Line 45: | ||
| complex extended float | | complex extended float | ||
| cxt = Complex Extended Float Indicator.png{{!}}link=CXT | | cxt = Complex Extended Float Indicator.png{{!}}link=CXT | ||
| fixed-point | |||
| fxp = Fixed-Point Numeric Indicator.png{{!}}link=FXP | |||
| single precision | |||
| sgl = Single Float Indicator.png{{!}}link=SGL | |||
| double precision | |||
| dbl = Double Float Indicator.png{{!}}link=DBL | |||
| extended precision | |||
| ext = Extended Float Indicator.png{{!}}link=EXT | |||
}} | }} | ||
}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 19:07, 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}}
|