Talk:Well of Life diagnosis (script): Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 28: Line 28:
;Shows this on the page:
;Shows this on the page:


title = stuff
{{script
| title = stuff
author = me
| author = me
compat = SF
| compat = SF
}}


<pre>
<pre>

Latest revision as of 14:02, 2 July 2015

You should utilize the <pre> tags when setting aside a script -- it eliminates the need to add the <br> tags to create new lines, among other things. Also, add the Script template.

For example, this source code
{{script
 | title = stuff
 | author = me
 | compat = SF
}}

<pre>
put stuff
match LABEL stuff
match OTHERLABEL other stuff
matchwait

LABEL:
put this stuff
exit

OTHERLABEL:
put other stuff
exit
</pre>
Shows this on the page
title = stuff
author = me
compat = SF
put stuff
match LABEL stuff
match OTHERLABEL other stuff
matchwait

LABEL:
put this stuff
exit

OTHERLABEL:
put other stuff
exit
Andy talk 02:21, 5 March 2007 (EST)