Template:TerminalAsDataType: Difference between revisions
Appearance
Add more types |
m Fix string array does not fall through to 1d array of string |
||
Line 2: | Line 2: | ||
| control = {{#switch:{{lc:{{{1}}}}} | | control = {{#switch:{{lc:{{{1}}}}} | ||
| string = String.png{{!}}String{{!}}link=String | | string = String.png{{!}}String{{!}}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{{!}}link=I8 | | i8 = I8.png{{!}}I8{{!}}link=I8 | ||
Line 15: | Line 15: | ||
| indicator = {{#switch:{{lc:{{{1}}}}} | | indicator = {{#switch:{{lc:{{{1}}}}} | ||
| string = String Indicator.png{{!}}String{{!}}link=String | | string = String Indicator.png{{!}}String{{!}}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{{!}}link=I8 | | i8 = I8 Indicator.png{{!}}I8{{!}}link=I8 |
Revision as of 08:27, 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}}
|