Basic Formatting

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(easy explanation)
m (m)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
With the following clues supplemented with the editing tools, you can build or edit good looking wiki pages. Here are some hints. Edit this page to see the source.
With the following clues supplemented with the editing tools, you can build or edit good looking wiki pages. Here are some hints. Edit this page to see the source.
-
Empty lines mean new paragraph.<br>If you want to start a new line <br> with no empty line between, use &lt;br&gt;.
+
==Headings==
 +
Headings will automatically build a table of contents.
 +
An equal sign beginning a line signifies a heading.<br/>
 +
Start with a header signified by using 2 equals surrounding the ==Name== since the page title is already supplied.
 +
==Top level==
 +
===Next smaller===
 +
====And Further====
 +
==Empty lines and Initial Spaces==
 +
Empty lines mean new paragraph.<br/>If you want to start a new line <br/> with no empty line between, use &lt;br/&gt;.
Initial spaces mean code example.
Initial spaces mean code example.
Line 8: Line 16:
  ...
  ...
  code3
  code3
-
 
+
==Lists==
-
Beginning *s mean bullets
+
Beginning *s mean '''Unordered List'''.
*one
*one
*two
*two
Line 16: Line 24:
*three
*three
-
Beginning # mean numbered outline
+
Beginning # mean Numerically '''Ordered List'''
#one
#one
#two
#two
Line 22: Line 30:
### and further
### and further
#three
#three
 +
A newline marks the end of the list.
 +
# New numbering starts with 1.
 +
Here's a ''definition list'':
 +
; Word : Definition of the word
 +
; A longer phrase needing definition
 +
: Phrase defined
 +
; A word : Which has a definition
 +
: Also a second one
 +
: And even a third
 +
 +
Begin with a semicolon. One item per line;
 +
a newline can appear before the colon, but
 +
using a space before the colon improves
 +
parsing.
 +
 +
==Font Effects==
You can ''italicize text'' by putting 2  
You can ''italicize text'' by putting 2  
apostrophes on '''each''' side.
apostrophes on '''each''' side.
-
<br>3 apostrophes will '''embolden the text'''.  
+
<br/>3 apostrophes will '''embolden the text'''.  
-
<br>5 apostrophes will '''embolden''' and ''italicize''  
+
<br/>5 apostrophes will '''embolden''' and ''italicize''  
'''''the text'''''.
'''''the text'''''.
-
<br>(Using 4 apostrophes doesn't do anything
+
<br/>(Using 4 apostrophes doesn't do anything
-
special -- <br /> the last pair are just  
+
special -- <br/> the last pair are just  
''''left over ones'''' that are included  
''''left over ones'''' that are included  
as part of the text.)
as part of the text.)
 +
<br/>The same with 6 ---
 +
''''''left over ones''''''
-
Beginning = mean headings (start with == since the page title is =
+
==Links==
-
Start with a header signified by using 2 equals surrounding the ==title==.
+
Internal links are built surrounding the link name with two square brackets.<br/>
-
==Top level==
+
[[How to edit this Wiki]]<br/>
-
===Next smaller===
+
Use the pipe symbol to display one thing and link to another.<br/>
-
====and further====
+
[[How to edit this Wiki|This is Displayed]]
-
 
+
<br/>Links may (and should?) be bold.
-
Internal links are built surrounding the link name with two square brackets.
+
'''[[How to edit this Wiki|This is Displayed]]'''
-
[[How to edit this Wiki]]
+
-
Use the pipe symbol to display one thing and link to another.
+
-
[[How to edit this Wiki|Click Me]]
+
External links are built much the same way using one square bracket.
External links are built much the same way using one square bracket.
-
For a full explanation see:'''[http://meta.wikimedia.org/wiki/Help:Contents#For_editors The Media Wiki Documentation]'''
+
:For a full explanation see:'''[http://meta.wikimedia.org/wiki/Help:Contents#For_editors The Media Wiki Documentation]'''
 +
==Tables==
 +
Edit this page to see the source formatting.
 +
{|
 +
|-
 +
! header 1
 +
! header 2
 +
! header 3
 +
|-
 +
| row 1, cell 1
 +
| row 1, cell 2
 +
| row 1, cell 3
 +
|-
 +
| row 2, cell 1
 +
| row 2, cell 2
 +
| row 2, cell 3
 +
|}

Latest revision as of 16:14, 5 June 2010

With the following clues supplemented with the editing tools, you can build or edit good looking wiki pages. Here are some hints. Edit this page to see the source.

Contents

Headings

Headings will automatically build a table of contents. An equal sign beginning a line signifies a heading.
Start with a header signified by using 2 equals surrounding the ==Name== since the page title is already supplied.

Top level

Next smaller

And Further

Empty lines and Initial Spaces

Empty lines mean new paragraph.
If you want to start a new line
with no empty line between, use <br/>.

Initial spaces mean code example.

code1
code2
...
code3

Lists

Beginning *s mean Unordered List.

  • one
  • two
    • 2 and 1/2
      • and further
  • three

Beginning # mean Numerically Ordered List

  1. one
  2. two
    1. 2 and 1/2
      1. and further
  3. three

A newline marks the end of the list.

  1. New numbering starts with 1.

Here's a definition list:

Word 
Definition of the word
A longer phrase needing definition
Phrase defined
A word 
Which has a definition
Also a second one
And even a third

Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.

Font Effects

You can italicize text by putting 2 apostrophes on each side.
3 apostrophes will embolden the text.
5 apostrophes will embolden and italicize the text.
(Using 4 apostrophes doesn't do anything special --
the last pair are just 'left over ones' that are included as part of the text.)
The same with 6 --- 'left over ones'

Links

Internal links are built surrounding the link name with two square brackets.
How to edit this Wiki
Use the pipe symbol to display one thing and link to another.
This is Displayed
Links may (and should?) be bold. This is Displayed

External links are built much the same way using one square bracket.

For a full explanation see:The Media Wiki Documentation

Tables

Edit this page to see the source formatting.

header 1 header 2 header 3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 row 2, cell 3
Personal tools