Template:AIScript: Difference between revisions

From The Perfect Tower II
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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Sourcesource

Script source code

Contentsuggested
Import Codecode

Code for importing into TPT2

Stringrequired