Difference between revisions of "Help:Contents"

From WikiManual
Jump to: navigation, search
m (additional wiki code)
m (Wiki Code)
Line 11: Line 11:
 
An example:<br>
 
An example:<br>
 
   
 
   
A handy method for eventually unfixing the stuck bot is:
+
'''''A handy method for eventually unfixing the stuck bot is:'''''
  
 
<pre>
 
<pre>
Line 27: Line 27:
 
<pre> <b><i><u> have no effect within the <nowiki><pre></pre> tags.</nowiki> </pre>
 
<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>
+
===Indenting===
 +
 
 +
One may indent using one or more colons at the beginning of a line ...<br>
 +
So this:
 +
<pre>
 +
:this is one colon
 +
::two
 +
:::three ... etc.
 +
</pre>
 +
results in:
 
:this is one colon
 
:this is one colon
 
::two
 
::two
Line 34: Line 43:
  
 
this also precludes having to place <nowiki><br></nowiki> at the end of a line to break it.
 
this also precludes having to place <nowiki><br></nowiki> at the end of a line to break it.
 +
 +
 +
===Placing Comments in the Edit Window===
 +
 +
<pre>
 +
using <!-- and --> one can place comments in the edit which will not be visible on the page.
 +
like so: <!-- place any comments/code examples/reminders here -->
 +
</pre>

Revision as of 11:35, 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>


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 which will not be visible on the page.
 like so: <!-- place any comments/code examples/reminders here -->