Help:Formatting: Difference between revisions

From Mallala
Marcus (talk | contribs)
mNo edit summary
Marcus (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
You can format the page using Wikitext special characters.  
You can format the page using Wikitext special characters.  


{| border="1" style="width: 832px; height: 3024px;"
{| border="1" style="width: 728px; height: 856px;"
|-
|-
! width="640px" | What it looks like on the wiki page  
! width="640px" | What it looks like on the wiki page  
Line 40: Line 40:
But an empty line starts a new paragraph.  
But an empty line starts a new paragraph.  


When used in a list, a newline ''does'' affect the layout (<a href="#lists">see below</a>).  
When used in a list, a newline ''does'' affect the layout .  


| <pre>A single newline
| <pre>A single newline
Line 55: Line 55:


When used in a list, a newline ''does''
When used in a list, a newline ''does''
affect the layout ([[#lists|see below]]).
affect the layout.
</pre>
</pre>
|-
|-
Line 73: Line 73:
|-
|-
| You should "sign" your comments on talk pages: <br>  
| You should "sign" your comments on talk pages: <br>  
*Three tildes gives your signature: &lt;a href="User:Example"&gt;Example&lt;/a&gt; <br>  
*Three tildes gives your signature: Yourname <br>  
*Four tildes give your signature plus date/time: &lt;a href="User:Example"&gt;Example&lt;/a&gt; 07:46, 27 November 2005 (UTC) <br>  
*Four tildes give your signature plus date/time: Yourname 07:46, 27 November 2005 (UTC) <br>  
*Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br>
*Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br>


Line 85: Line 85:
- Five tildes gives the  
- Five tildes gives the  
date/time alone: ~~~~~
date/time alone: ~~~~~
</pre>
|-
|
== Advanced Editing  ==
== Section headings  ==
''Headings'' organize your writing into sections. The ''Wiki'' software can automatically generate a &lt;a href="Help:Table of contents"&gt;table of contents&lt;/a&gt; from them. <!-- don't use standard since it will move the edit block -->
=== Subsection  ===
Using more "equals" (=) signs creates a subsection.
==== A smaller subsection  ====
Don't skip levels, like from two to four equals signs.
Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.
| <pre>== Section headings ==
''Headings'' organize your writing into
sections. The ''Wiki'' software can automatically
generate a [[Help:table of contents|table of contents]] from them.
=== Subsection ===
Using more "equals" (=) signs creates a subsection.
==== A smaller subsection ====
Don't skip levels, like from two to four equals signs.
Start with 2 equals signs not 1 because 1 creates H1
tags which should be reserved for page title.
</pre>
|- id="lists"
|
*''Unordered &lt;a href="Help:List"&gt;lists&lt;/a&gt;'' are easy to do:
**Start every line with a star.
***More stars indicate a deeper level.
<br>
*:Previous item continues. &lt;/dd&gt;
<br>
**A newline
*in a list
marks the end of the list.
*Of course you can start again.
| <pre>* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
</pre>
|-
|
#''Numbered lists'' are:
##Very organized
##Easy to follow
A newline marks the end of the list.
#New numbering starts with 1.
| <pre># ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
<br>
;Word&nbsp; &lt;/dt&gt;
:Definition of the word &lt;/dd&gt;
;A longer phrase needing definition &lt;/dt&gt;
:Phrase defined &lt;/dd&gt;
;A word&nbsp; &lt;/dt&gt;
:Which has a definition &lt;/dd&gt;
:Also a second definition &lt;/dd&gt;
:And even a third &lt;/dd&gt;
<br>
Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
| <pre>Here's a ''definition list'':
; Word&nbsp;: Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word&nbsp;: 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.
</pre>
|-
|
*You can even do mixed lists
*#and nest them
*#inside each other
*#*or break lines<br>in lists.
<br>
*#;definition lists &lt;/dt&gt;
*#:can be
*#:;nested&nbsp; &lt;/dt&gt;
*#::too &lt;/dd&gt; &lt;/dd&gt;
<br>
| <pre>* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines&lt;br&gt;in lists.
*#; definition lists
*#: can be
*#:; nested&nbsp;: too
</pre>
|-
|
<br>
:A colon (:) indents a line or paragraph. &lt;/dd&gt;
<br>
A newline starts a new paragraph. <br> Should only be used on &lt;a _fcknotitle="true" href="Talk page"&gt;Talk page&lt;/a&gt;s. <br> For articles, you probably want the blockquote tag.
<br>
:We use 1 colon to indent once.
::We use 2 colons to indent twice.
:::3 colons to indent 3 times, and so on. &lt;/dd&gt; &lt;/dd&gt; &lt;/dd&gt;
<br>
| <pre>: A colon (:) indents a line or paragraph.
A newline starts a new paragraph.
Should only be used on talk pages.
For articles, you probably want the blockquote tag.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make &lt;a href="W:horizontal dividing line"&gt;horizontal dividing lines&lt;/a&gt; (----) to separate text.
----
But you should usually use sections instead, so that they go in the table of contents.
| <pre>You can make [[w:horizontal dividing line|horizontal dividing line]]s
(----) to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
<br>
:There are over six billion people in the world.&lt;ref&gt;CIA World Factbook, 2006.&lt;/ref&gt; &lt;/dd&gt;
<br>
References: &lt;references/&gt;
<br>
| <pre>You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
:There are over six billion people in the
world.&lt;ref&gt;CIA World Factbook, 2006.&lt;/ref&gt;
References: &lt;references/&gt;
</pre>
</pre>
|}
|}

Latest revision as of 19:13, 20 September 2009

Text formatting markup

This table lists the various formatting options available using Wikitext:

Basic text formatting

You can format the page using Wikitext special characters.

What it looks like on the wiki page What you type

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.)

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 -- <br /> the last pair are just 
''''left over ones'''' that are included 
as part of the text.)

A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the diff function (used internally to compare different versions of a page).

But an empty line starts a new paragraph.

When used in a list, a newline does affect the layout .

A single newline
generally has no effect on the layout.
These can be used to separate
sentences within a paragraph.
Some editors find that this aids editing
and improves the ''diff'' function
(used internally to compare
different versions of a page).

But an empty line
starts a new paragraph.

When used in a list, a newline ''does''
affect the layout.

You can break lines
without a new paragraph.
Please use this sparingly.

Please do not start a link or italics or bold text on one line and end on the next.

You can break lines<br/>
without a new paragraph.<br/>
Please use this sparingly.

Please do not start a link or
''italics'' or '''bold''' text on one line
and end on the next.
You should "sign" your comments on talk pages:
  • Three tildes gives your signature: Yourname
  • Four tildes give your signature plus date/time: Yourname 07:46, 27 November 2005 (UTC)
  • Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC)
You should "sign" your comments 
on talk pages:
- Three tildes gives your
signature: ~~~
- Four tildes give your 
signature plus date/time: ~~~~
- Five tildes gives the 
date/time alone: ~~~~~