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
 
(One intermediate revision by the same user not shown)
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:
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)