Difference between revisions of "Template:AIScript"

From The Perfect Tower II
Jump to navigation Jump to search
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 15: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

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Sourcesource

Script source code

Contentsuggested
Import Codecode

Code for importing into TPT2

Stringrequired