Difference between revisions of "Help:Contents"

From WikiManual
Jump to: navigation, search
m (Wiki Code)
m (Placing Comments in the Edit Window)
Line 48: Line 48:
  
 
<pre>  
 
<pre>  
  using <!-- and --> one can place comments in the edit which will not be visible on the page.
+
  using <!-- and --> one can place comments in the edit window which will not be visible on the page.
 
  like so: <!-- place any comments/code examples/reminders here -->
 
  like so: <!-- place any comments/code examples/reminders here -->
 
</pre>
 
</pre>

Revision as of 00:02, 14 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>


Indenting

One may indent using one or more colons at the beginning of a line ...
So this:

:this is one colon
::two
:::three ... etc.

results in:

this is one colon
two
three ... etc.

this also precludes having to place <br> at the end of a line to break it.


Placing Comments in the Edit Window

 
 using <!-- and --> one can place comments in the edit window which will not be visible on the page.
 like so: <!-- place any comments/code examples/reminders here -->