Template:TerminalAsDataType: Difference between revisions
Appearance
m Fix string array does not fall through to 1d array of string |
m Simplify file names (implicit through links) |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{#switch:{{lc:{{{type|control}}}}} | <includeonly>[[File:{{#switch:{{lc:{{{type|control}}}}} | ||
| control = {{#switch:{{lc:{{{1}}}}} | | control = {{#switch:{{lc:{{{1}}}}} | ||
| string = String.png | | string = String.png{{!}}link=String | ||
| string array | | string array | ||
| 1d array of string = String Array.png{{!}}link=1D array of string | | 1d array of string = String Array.png{{!}}link=1D array of string | ||
| i8 = I8.png | | i8 = I8.png{{!}}link=I8 | ||
| i16 = I16.png | | i16 = I16.png{{!}}link=I16 | ||
| i32 = I32.png | | i32 = I32.png{{!}}link=I32 | ||
| i64 = I64.png | | i64 = I64.png{{!}}link=I64 | ||
| u8 = U8.png | | u8 = U8.png{{!}}link=U8 | ||
| u16 = U16.png | | u16 = U16.png{{!}}link=U16 | ||
| u32 = U32.png | | u32 = U32.png{{!}}link=U32 | ||
| u64 = U64.png | | u64 = U64.png{{!}}link=U64 | ||
}} | }} | ||
| indicator = {{#switch:{{lc:{{{1}}}}} | | indicator = {{#switch:{{lc:{{{1}}}}} | ||
| string = String Indicator.png | | string = String Indicator.png{{!}}link=String | ||
| string array | | string array | ||
| 1d array of string = String Array Indicator.png{{!}}link=1D array of string | | 1d array of string = String Array Indicator.png{{!}}link=1D array of string | ||
| i8 = I8 Indicator.png | | i8 = I8 Indicator.png{{!}}link=I8 | ||
| i16 = I16 Indicator.png | | i16 = I16 Indicator.png{{!}}link=I16 | ||
| i32 = I32 Indicator.png | | i32 = I32 Indicator.png{{!}}link=I32 | ||
| i64 = I64 Indicator.png | | i64 = I64 Indicator.png{{!}}link=I64 | ||
| u8 = U8 Indicator.png | | u8 = U8 Indicator.png{{!}}link=U8 | ||
| u16 = U16 Indicator.png | | u16 = U16 Indicator.png{{!}}link=U16 | ||
| u32 = U32 Indicator.png | | u32 = U32 Indicator.png{{!}}link=U32 | ||
| u64 = U64 Indicator.png | | u64 = U64 Indicator.png{{!}}link=U64 | ||
}} | }} | ||
}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 18:53, 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}}
|