Difference between revisions of "Template:AIScript"
Jump to navigation
Jump to search
Troylaurin (talk | contribs) |
Troylaurin (talk | contribs) |
||
Line 2: | Line 2: | ||
! | ! | ||
|- | |- | ||
− | |{{#tag:syntaxhighlight | + | |{{#tag:syntaxhighlight|{{{code|}}}|lang=text}} |
− | |{{{code|}}} | + | |- |
− | |lang=text | + | |{{#tag:syntaxhighlight|{{{src|}}}|lang=actionscript}} |
− | + | }} | |
− | | | ||
− | |||
− | |||
− | {{ | ||
− | |||
− | }} | ||
− | }} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 18: | Line 11: | ||
{ | { | ||
"params": { | "params": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"code": { | "code": { | ||
"label": "Import Code", | "label": "Import Code", | ||
Line 29: | Line 16: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
+ | }, | ||
+ | "src": { | ||
+ | "label": "Source Code", | ||
+ | "description": "Script source code", | ||
+ | "type": "content", | ||
+ | "suggested": true | ||
} | } | ||
}, | }, |
Revision as of 16:03, 21 January 2021
}} |
Displays the source and code for an AI script in syntax-highlighted code sections.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Import Code | code | Code for importing into TPT2 | String | required |
Source Code | src | Script source code | Content | suggested |