Difference between revisions of "Help:Contents"
From WikiManual
m (restore page blanked by 69.160.117.177) |
m (additional wiki code) |
||
Line 1: | Line 1: | ||
− | =Code= | + | =Wiki Code= |
This took me a bit to figure out. | This took me a bit to figure out. | ||
all code simply starts with a space at the start of the line | all code simply starts with a space at the start of the line | ||
+ | |||
+ | |||
+ | Here's another way:<br> | ||
+ | Use <nowiki><pre> and </pre></nowiki> to bracket your code.<br> | ||
+ | This precludes one having to enter a space at the beginning of every line.<br> | ||
+ | An example:<br> | ||
+ | |||
+ | A handy method for eventually unfixing the stuck bot is: | ||
+ | |||
+ | <pre> | ||
+ | 'will normally unfix bot by restoring .fixpos to zero | ||
+ | 'typically I place this in most bots to prevent possible attack and accidental fixing | ||
+ | cond | ||
+ | start | ||
+ | .fixpos *.fixed mult dec | ||
+ | stop | ||
+ | </pre> | ||
+ | |||
+ | This will also disable any HTML code/tags within the 'box'<br> | ||
+ | allowing one to list them as instructions without activating the tag.<br> | ||
+ | example: | ||
+ | <pre> <b><i><u> have no effect within the <nowiki><pre></pre> tags.</nowiki> </pre> | ||
+ | |||
+ | Also ... <br> | ||
+ | one may indent using one or more colons at the beginning of a line ...<br> | ||
+ | :this is one colon | ||
+ | ::two | ||
+ | :::three ... etc. | ||
+ | |||
+ | this also precludes having to place <nowiki><br></nowiki> at the end of a line to break it. |
Revision as of 10:10, 13 October 2005
Wiki Code
This took me a bit to figure out.
all code simply starts with a space at the start of the line
Here's another way:
Use <pre> and </pre> to bracket your code.
This precludes one having to enter a space at the beginning of every line.
An example:
A handy method for eventually unfixing the stuck bot is:
'will normally unfix bot by restoring .fixpos to zero 'typically I place this in most bots to prevent possible attack and accidental fixing cond start .fixpos *.fixed mult dec stop
This will also disable any HTML code/tags within the 'box'
allowing one to list them as instructions without activating the tag.
example:
<b><i><u> have no effect within the <nowiki><pre>tags.</nowiki> </pre>
Also ...
one may indent using one or more colons at the beginning of a line ...
- this is one colon
- two
- three ... etc.
- two
this also precludes having to place <br> at the end of a line to break it.