Difference between revisions of "Template:DataType"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add default value) |
Lou Montana (talk | contribs) m (Add Anything and PositionX types) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1|}}}}} | <includeonly>{{#switch:{{lc:{{{1|}}}}} | ||
+ | | any | ||
+ | | anything= {{Biki|Anything}} | ||
| a | | a | ||
| arr | | arr | ||
Line 29: | Line 31: | ||
| obj | | obj | ||
| object= {{Biki|Object}} | | object= {{Biki|Object}} | ||
+ | | pos | ||
+ | | position= {{Biki|Position}} | ||
+ | | pos2d | ||
+ | | position2d= {{Biki|Position2D}} | ||
+ | | posagl | ||
+ | | positionagl= {{Biki|PositionAGL}} | ||
+ | | posasl | ||
+ | | positionasl= {{Biki|PositionASL}} | ||
+ | | posaslw | ||
+ | | positionaslw= {{Biki|PositionASLW}} | ||
+ | | posatl | ||
+ | | positionatl= {{Biki|PositionATL}} | ||
| handle | | handle | ||
| script | | script | ||
Line 53: | Line 67: | ||
{{<nowiki/>DataType|'''''type'''''}} | {{<nowiki/>DataType|'''''type'''''}} | ||
* type: one of: | * type: one of: | ||
− | :{| class="wikitable | + | :{| class="wikitable sortable" |
! {{Biki|Data Types|Data Type}} !! Aliases | ! {{Biki|Data Types|Data Type}} !! Aliases | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|Anything}} || any, anything | ||
|- | |- | ||
| {{Biki|Array}} || a, arr, array | | {{Biki|Array}} || a, arr, array | ||
Line 79: | Line 95: | ||
|- | |- | ||
| {{Biki|Object}} || o, obj, object | | {{Biki|Object}} || o, obj, object | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|Position}} || pos, position | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|Position2D}} || pos2D, position2D | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|PositionAGL}} || posAGL, positionAGL | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|PositionASL}} || posASL, positionASL | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|PositionASLW}} || posASLW, positionASLW | ||
+ | |- style="background-color: #EEE" | ||
+ | | {{Biki|PositionATL}} || posATL, positionATL | ||
|- | |- | ||
| {{Biki|Script (Handle)}} || handle, script, scripthandle | | {{Biki|Script (Handle)}} || handle, script, scripthandle |
Latest revision as of 22:07, 20 May 2020
Links to the corresponding Data Types BI wiki page.
Usage
{{DataType|type}}
- type: one of:
Data Type Aliases Anything any, anything Array a, arr, array Boolean b, bool, boolean Code code Config conf, config Control ctrl, control Diary Record diary, diaryrecord Display d, disp, display Group g, grp, group Location l, loc, location Namespace namespace Number n, num, number Object o, obj, object Position pos, position Position2D pos2D, position2D PositionAGL posAGL, positionAGL PositionASL posASL, positionASL PositionASLW posASLW, positionASLW PositionATL posATL, positionATL Script (Handle) handle, script, scripthandle Side side String s, str, string Structured Text text, structuredtext Task t, tsk, task Team Member teammember
Code | Result |
---|---|
{{DataType}} | Nothing |
{{DataType|-}} | Nothing |
{{DataType|num}} | Number |
{{DataType|s}} | String |
{{DataType|number, boolean or str}} | number, boolean or str |