Template:AIScript: Difference between revisions
Jump to navigation
Jump to search
Troylaurin (talk | contribs) No edit summary |
Troylaurin (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
! | ! | ||
|- | |- | ||
|{{#tag:syntaxhighlight | |{{#tag:syntaxhighlight|{{{code|}}}|lang=text}} | ||
|{{{ | |||
|lang= | |||
}} | |||
|- | |- | ||
|{{#tag:syntaxhighlight | |{{#tag:syntaxhighlight|{{{src|}}}|lang=actionscript}} | ||
|{{{ | |||
|lang= | |||
}} | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
| Line 16: | Line 10: | ||
{ | { | ||
"params": { | "params": { | ||
"code": { | "code": { | ||
"label": "Import Code", | "label": "Import Code", | ||
| Line 27: | Line 15: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"src": { | |||
"label": "Source Code", | |||
"description": "Script source code", | |||
"type": "content", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Latest revision as of 15: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 |