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

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(New page: You should utilize the <nowiki><pre></nowiki> tags when setting aside a script -- it eliminates the need to add the <nowiki><br></nowiki> tags to create new lines, among other things. Als...)
 
mNo edit summary
Line 1: Line 1:
You should utilize the <nowiki><pre></nowiki> tags when setting aside a script -- it eliminates the need to add the <nowiki><br></nowiki> tags to create new lines, among other things. Also, add the [[Template:Script|Script]] template.
You should utilize the <nowiki><pre></nowiki> tags when setting aside a script -- it eliminates the need to add the <nowiki><br></nowiki> tags to create new lines, among other things. Also, add the [[:Template:Script|Script]] template.


;For example, this source code:
;For example, this source code:

Revision as of 12:59, 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
Compatibility:Wrayth Only
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)