Difference between revisions of "Template:DataType"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Fix line return)
m (Add default value)
Line 43: Line 43:
 
| teammember= {{Biki|Team Member}}
 
| teammember= {{Biki|Team Member}}
 
|
 
|
 +
| nothing
 
|-= {{Biki|Nothing}}
 
|-= {{Biki|Nothing}}
 +
|#default= {{{1|}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
Links to the corresponding {{Biki|Data Types}} BI wiki page.
 
Links to the corresponding {{Biki|Data Types}} BI wiki page.
Line 107: Line 109:
 
| <nowiki>{{DataType|s}}</nowiki>
 
| <nowiki>{{DataType|s}}</nowiki>
 
| {{DataType|s}}
 
| {{DataType|s}}
 +
|-
 +
| <nowiki>{{DataType|number, boolean or str}}</nowiki>
 +
| {{DataType|number, boolean or str}}
 +
|}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 13:03, 20 May 2020

Links to the corresponding Data Types BI wiki page.

Usage

{{DataType|type}}

  • type: one of:
Data Type Aliases
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
Script (Handle) handle, script, scripthandle
Side side
String s, str, string
Structured Text text, structuredtext
Task t, tsk, task
Team Member teammember
Examples
Code Result
{{DataType}} Nothing
{{DataType|-}} Nothing
{{DataType|num}} Number
{{DataType|s}} String
{{DataType|number, boolean or str}} number, boolean or str