Help:Editing: Difference between revisions

From Spring
Jump to navigationJump to search
Fnordia (talk | contribs)
m Used to be wider than the page
Mongus (talk | contribs)
added link to wikipedia article for "Don't use line breaks"
Line 109: Line 109:


</td>
</td>
<td><pre><nowiki>
<td>NaodW29-pre528c2f011c33886800000001
 
== New section ==
 
=== Subsection ===
 
==== Sub-subsection ====
</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 138: Line 131:
</td>
</td>
<td>
<td>
<pre><nowiki>
NaodW29-pre528c2f011c33886800000002
 
A single
newline
has no
effect on the
layout.
 
But an empty line
starts a new paragraph.</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 153: Line 137:
without starting a new paragraph.<p>
without starting a new paragraph.<p>
Sufficient as wikitext code is <nowiki><br></nowiki>, the XHTML code <nowiki><br /></nowiki> is not needed, the system produces this code.</p></td>  
Sufficient as wikitext code is <nowiki><br></nowiki>, the XHTML code <nowiki><br /></nowiki> is not needed, the system produces this code.</p></td>  
<td><pre><nowiki>You can break lines<br>
<td>NaodW29-pre528c2f011c33886800000003
without starting a new paragraph.</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 170: Line 153:


</td>
</td>
<td><pre><nowiki>* Lists are easy to do:
<td>NaodW29-pre528c2f011c33886800000004
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list 
marks the end of the list.
*Of course
*you can
*start again.
 
</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 195: Line 168:


</td>
</td>
<td><pre><nowiki># Numbered lists are also good
<td>NaodW29-pre528c2f011c33886800000005
## very organized
## easy to follow
#A newline
#in a list 
marks the end of the list.
#New numbering starts
#with 1.
</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 212: Line 177:
*#* like this<br>or have newlines<br>inside lists
*#* like this<br>or have newlines<br>inside lists
</td>
</td>
<td><pre><nowiki>* You can even do mixed lists
<td>NaodW29-pre528c2f011c33886800000006
*# and nest them
*#* like this<br>or have newlines<br>inside lists</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 222: Line 185:
**break lines<br>inside lists<br>like this
**break lines<br>inside lists<br>like this
</td>
</td>
<td><pre><nowiki>* You can also
<td>NaodW29-pre528c2f011c33886800000007
**break lines<br>inside lists<br>like this</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 231: Line 193:
; item : the item's definition
; item : the item's definition
</td>
</td>
<td><pre><nowiki>; Definition list : list of definitions
<td>NaodW29-pre528c2f011c33886800000008
; item : the item's definition</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 241: Line 202:
* This is primarily for displayed material, but is also used for discussion on [[Help:Talk page|Talk page]]s.
* This is primarily for displayed material, but is also used for discussion on [[Help:Talk page|Talk page]]s.
</td>
</td>
<td><pre><nowiki>: A colon indents a line or paragraph.
<td>NaodW29-pre528c2f011c33886800000009
A manual newline starts a new paragraph.
</nowiki></pre>
</td>
</td>
</tr>
</tr>
<tr valign=top>
<tr valign=top>
<td>
<td>
<pre><nowiki>IF a line of plain text starts
NaodW29-pre528c2f011c3388680000000A
with a space THEN
  it will be formatted exactly
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code
  * ASCII art;
  * chemical structures;</nowiki></pre>


WARNING If you make it wide,
WARNING If you make it wide,
Line 267: Line 214:
<center>(see also below)</center>
<center>(see also below)</center>
</td>
</td>
<td><pre><nowiki> IF a line of plain text starts
<td>NaodW29-pre528c2f011c3388680000000B</td>
with a space THEN
  it will be formatted exactly
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code
  * ASCII art;
  * chemical structures;</nowiki></pre></td>
</tr>
</tr>
<tr valign="top"><td><center>Centered text.</center>
<tr valign="top"><td><center>Centered text.</center>
</td>
</td>
<td><pre><nowiki><center>Centered text.</center></nowiki></pre>
<td>NaodW29-pre528c2f011c3388680000000C
</td>
</td>
</tr>
</tr>
Line 292: Line 227:


(However, in most cases a section header is more useful. The horizontal dividing line should only be used if what follows is logically part of the same section; otherwise that part would be hidden in the TOC.)</td>
(However, in most cases a section header is more useful. The horizontal dividing line should only be used if what follows is logically part of the same section; otherwise that part would be hidden in the TOC.)</td>
<td><pre><nowiki>A horizontal dividing line: above
<td>NaodW29-pre528c2f011c3388680000000D
----
and below. </nowiki></pre>
</td>
</td>
</tr>
</tr>
</table>
</table>


Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [[w:Wikipedia:Don't use line breaks]].
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [http://en.wikipedia.org/wiki/Wikipedia:Don%27t_use_line_breaks Don't use line breaks] (wikipedia).

Revision as of 16:57, 5 May 2006

This page contains tips on editing wiki pages, for full details of editing the Wiki see User's Guide

Basic Editing

  • Choose what you want to do:
    1. Make a new page
      Type the URL of the page you want to create into the address bar.
      EG: http://taspring.clan-sy.com/wiki/Page_that_dont_exist
    2. Edit an existing page
      Goto the page you want to edit, either through Links, or a URL.
  • Then, click the 'Edit this page' link at the bottom.
  • A page with a text box in the middle of it will appear.
  • Enter text into this box.
  • To insert formatting, click the formatting buttons above the text box.
  • For a full list of formatting tags, and their effects, see below
  • Click the 'Preview Page' button below the text box to preview the page.
  • Fix any errors you spot.
  • Click 'Save page' next to the Preview button.
  • Your Done!


Dont worry if you stuff things up. It is very easy to fix. Any changes that are made are automatically logged, and we can easily revert to an old version if you totally screw a page up. And if your still worried of messing something up, you can always play around in the sandbox first.

Markup

The following HTML elements are currently permitted, however most of the useful ones have a convenient shorthand (see table below):


Sections, paragraphs, lists and lines

What it looks like What you type

Start your sections with header lines:

Note: Single equal signs work for formatting headings, however as a convention for this wiki, do not use them.


New section

Subsection

Sub-subsection

NaodW29-pre528c2f011c33886800000001

Newline:

A single newline has no effect on the layout.

But an empty line starts a new paragraph.

(<p> disables this paragraphing until </p> or the end of the section)

(in Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines)

NaodW29-pre528c2f011c33886800000002

You can break lines
without starting a new paragraph.

Sufficient as wikitext code is <br>, the XHTML code <br /> is not needed, the system produces this code.

NaodW29-pre528c2f011c33886800000003
  • Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
  • A newline
  • in a list

marks the end of the list.

  • Of course
  • you can
  • start again.
NaodW29-pre528c2f011c33886800000004
  1. Numbered lists are also good
    1. very organized
    2. easy to follow
  2. A newline
  3. in a list

marks the end of the list.

  1. New numbering starts
  2. with 1.
NaodW29-pre528c2f011c33886800000005
  • You can even do mixed lists
    1. and nest them
      • like this
        or have newlines
        inside lists
NaodW29-pre528c2f011c33886800000006
  • You can also
    • break lines
      inside lists
      like this
NaodW29-pre528c2f011c33886800000007
Definition list
list of definitions
item
the item's definition
NaodW29-pre528c2f011c33886800000008
A colon indents a line or paragraph.

A manual newline starts a new paragraph.

  • This is primarily for displayed material, but is also used for discussion on Talk pages.
NaodW29-pre528c2f011c33886800000009

NaodW29-pre528c2f011c3388680000000A

WARNING If you make it wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.

(see also below)
NaodW29-pre528c2f011c3388680000000B
Centered text.
NaodW29-pre528c2f011c3388680000000C
A horizontal dividing line: above

and below.

(However, in most cases a section header is more useful. The horizontal dividing line should only be used if what follows is logically part of the same section; otherwise that part would be hidden in the TOC.)
NaodW29-pre528c2f011c3388680000000D

Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also Don't use line breaks (wikipedia).