Template:AIScript: Difference between revisions
Jump to navigation
Jump to search
Troylaurin (talk | contribs) Created page with "{| class="wikitable mw-collapsible mw-collapsed" ! |- |<syntaxhighlight lang="actionscript"> {{{source}}} </syntaxhighlight> |- |<syntaxhighlight lang="text"> {{{code}}} </syn..." |
Troylaurin (talk | contribs) No edit summary |
||
| Line 14: | Line 14: | ||
{ | { | ||
"params": { | "params": { | ||
"source": {}, | "source": { | ||
"code": {} | "label": "Source", | ||
"description": "Script source code", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"code": { | |||
"label": "Import Code", | |||
"description": "Code for importing into TPT2", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | }, | ||
"format": "block" | "format": "block", | ||
"description": "Displays the source and code for an AI script in syntax-highlighted code sections." | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 14:09, 21 January 2021
{{{source}}}
|
{{{code}}}
|
Displays the source and code for an AI script in syntax-highlighted code sections.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Source | source | Script source code | Content | suggested |
| Import Code | code | Code for importing into TPT2 | String | required |