Template:AIScript: Difference between revisions

From The Perfect Tower II
Jump to navigation Jump to search
Troylaurin (talk | contribs)
No edit summary
Troylaurin (talk | contribs)
No edit summary
Line 1: Line 1:
{| class="wikitable mw-collapsible mw-collapsed"
{| class="wikitable mw-collapsible mw-collapsed"
!
!
|-
|{{#tag:syntaxhighlight
|{{{source|}}}
|lang=actionscript
}}
|-
|-
|{{#tag:syntaxhighlight
|{{#tag:syntaxhighlight
|{{{code|}}}
|{{{code|}}}
|lang=text
|lang=text
}}
{{#if:{{{1|}}}
|
{{!}}-
{{!}}{{#tag:syntaxhighlight
{{!}}{{{1}}}
{{!}}lang=actionscript
}}<!-- #tag -->
}}<!-- #if -->
|}
|}
<noinclude>
<noinclude>

Revision as of 14:58, 21 January 2021

{{#tag:syntaxhighlight lang=text

{{#if:

<syntaxhighlight {{{1}}} lang=actionscript/>

}}

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