3,273 bytes removed ,  17:37, 14 January 2008
no edit summary
Line 1: Line 1:  
See also [http://www.mediawiki.org/wiki/Help:Contents Detailed Help from Media Wiki]
 
See also [http://www.mediawiki.org/wiki/Help:Contents Detailed Help from Media Wiki]
   −
=== Basic text formatting ===
+
== Text formatting markup ==
You can format the page using Wikitext special characters.
     −
{|width="80%"  border="1" cellpadding="2" cellspacing="0"
+
{| align="center" {{Prettytable}}
 
|-
 
|-
!What it looks like
+
|{{Hl2}} |'''Description'''
!What you type
+
|{{Hl2}} |'''You type'''
 +
|{{Hl2}} |'''You get'''
 
|-
 
|-
 +
| colspan="3" align="center" | ''applies anywhere''
 +
|-
 +
|Italic text
 +
|<tt><nowiki>''italic''</nowiki></tt>
 +
|''italic''
 +
|-
 +
| Bold text
 +
|<tt><nowiki>'''bold'''</nowiki></tt>
 +
|'''bold'''
 +
|-
 +
| Bold and italic
 +
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
 +
|'''''bold & italic'''''
 +
|-
 +
|Escape wiki markup
 +
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
 +
|<nowiki>no ''markup''</nowiki>
 +
|-
 +
| colspan="3" align="center" | ''only at the beginning of the line''
 +
|-
 +
|Headings of<br />
 +
different levels <ref>Use of a heading created by single equal signs is discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref><ref>An article with four or more headings will automatically create a [http://en.wikipedia.org/wiki/Wikipedia:Section#Table_of_contents_.28TOC.29 table of contents].</ref>
 +
|
 +
<tt><nowiki>==level 1==</nowiki></tt><br />
 +
<tt><nowiki>===level 2===</nowiki></tt><br />
 +
<tt><nowiki>====level 3====</nowiki></tt><br />
 +
<tt><nowiki>=====level 4=====</nowiki></tt>
 
|
 
|
You can ''italicize text'' by putting 2
  −
apostrophes on each side.
     −
3 apostrophes will '''bold the text'''.
+
==Level 1==
 
+
===Level 2===
5 apostrophes will '''bold''' and ''italicize''
+
====Level 3====
'''''the text'''''.
+
=====Level 4=====
 
+
|-
(Using 4 apostrophes doesn't do anything special -- <br />they are just '''' left over ones'''' that are included as part of the text.)
+
|Horizontal rule
|<pre>
+
|
You can ''italicize text'' by putting 2
+
<tt><nowiki>----</nowiki></tt>
apostrophes on each side.
+
|
 
+
----
3 apostrophes will '''bold the text'''.
+
|-
 
+
|Bullet list
5 apostrophes will '''bold''' and ''italicize''
+
|
'''''the text'''''.
+
&#42; one<br>
 
+
&#42; two<br>
(Using 4 apostrophes doesn't do anything
+
&#42; three<br>
special -- <br /> they are just ''''left
+
&#42;&#42; three and one-third<br>
over ones'''' that are included as part
+
&#42;&#42; three and two-thirds<br>
of the text.)
+
|
</pre>
+
* one
 +
* two
 +
* three
 +
** three and one-third
 +
** three and two-thirds
 
|-
 
|-
 +
|Numbered list
 +
|
 +
&#35; one<br />
 +
&#35; two<nowiki><br></nowiki>spanning several lines<nowiki><br></nowiki>without breaking the numbering<br />
 +
&#35; three<br />
 +
&#35;&#35; three point one<br />
 +
&#35;&#35; three point two<br />
 
|
 
|
A single newline
+
# one
generally has no effect on the layout.
+
# two<br>spanning several lines<br>without breaking the numbering
These can be used to separate
+
# three
sentences within a paragraph.
+
## three point one
Some editors find that this aids editing
+
## three point two
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 ([[#lists|see below]]).
  −
|<pre>
  −
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 ([[#lists|see below]]).
  −
</pre>
   
|-
 
|-
 +
| Mixture of bulleted<br /> and numbered lists
 +
|
 +
&#35; one<br />
 +
&#35; two<br />
 +
&#35;&#42; two point one<br />
 +
&#35;&#42; two point two<br />
 
|
 
|
You can break lines<br />
+
# one
without a new paragraph.<br />
+
# two
Please use this sparingly.
+
#* two point one
 
+
#* two point two
Please do not start a link or ''italics'' or '''bold''' on one line and close it on the next.
  −
|<pre>
  −
You can break lines<br />
  −
without a new paragraph.<br />
  −
Please use this sparingly.
  −
 
  −
Please do not start a link or
  −
''italics'' or '''bold''' on one line
  −
and close it on the next.
  −
</pre>
   
|-
 
|-
 +
|Definition list
 
|
 
|
You should "sign" your comments on talk pages: <br />
+
&#59;Definition<br />
- Three tildes gives your signature: [[User:Example|Example]] <br />
+
&#58;item 1<br />
- Four tildes give your signature plus date/time: [[User:Example|Example]] 07:46, 27 November 2005 (UTC) <br />
+
&#58;item 2<br />
- Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br />
+
|
|<pre>
+
;Definition
You should "sign" your comments
+
:item 1
on talk pages: <br />
+
:item 2
- Three tildes gives your
  −
signature: ~~~ <br />
  −
- Four tildes give your
  −
signature plus date/time: ~~~~ <br />
  −
- Five tildes gives the
  −
date/time alone: ~~~~~ <br />
  −
</pre>
  −
|}
  −
 
  −
=== Organizing your writing ===
  −
{| border="1" cellpadding="2"
  −
!width="1000"|What it looks like
  −
!width="500"|What you type
   
|-
 
|-
 +
|Preformatted text
 
|
 
|
<div style="font-size:150%;border-bottom:1px solid #000000;">Section headings</div>
+
&nbsp;&nbsp;preformatted text is done with<br />
 
+
&nbsp;&nbsp;a space at the<br />
''Headings'' organize your writing into
+
&nbsp;&nbsp;beginning of the line<br />
sections. The Wiki software can automatically
+
|
generate a [[Help:table of contents|table of contents]] from them.
+
preformatted text is done with
 
+
a space at the
<div style="font-size:132%;font-weight:bold;">Subsection</div>
+
beginning of the line
Using more "equals" (=) signs creates a subsection.
+
|}
 
  −
<div style="font-size:116%;font-weight:bold;">A smaller subsection</div>
  −
 
  −
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 [[table of contents]] from them.
  −
 
      +
Notes: <references/>
   −
=== Example ===
+
== Paragraphs ==
<blockquote>
  −
<tt>
  −
According to scientists, the Sun is pretty big.<font color=red>'''&lt;ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''&lt;/ref>'''<br/></font>
  −
The Moon, however, is not so big.<font color=red>'''&lt;ref>'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.'''&lt;/ref>'''<br/></font>
  −
<br/>
  −
&#61;=Notes==
  −
<br/>
  −
<font color=red>'''&lt;references/></font>
  −
</tt>
  −
</blockquote>
     −
=== Multiple uses of the same footnote ===
+
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tags <tt><nowiki><br> or <br/></nowiki></tt>.
   −
To give a footnote a unique identifier, use '''&lt;ref name="name">'''. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: '''&lt;ref name="name" />'''.
+
== HTML ==
   −
In the following example, the same source is cited three times.
+
Some [[w:HTML|HTML]] tags are allowed in MediaWiki, for example <tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>.
   −
<blockquote>
+
{{Admin tip|tip=If you trust your users you can allow full HTML by setting <code>[[Manual:$wgRawHtml|$wgRawHtml]] = true;</code> in [[Manual:LocalSettings.php|LocalSettings.php]].}}
<tt>
  −
This is an example of multiple references to the same footnote.<font color=red>'''&lt;ref name&#61;"multiple">'''Remember that when you refer to the same footnote multiple times, the text from the first reference is used.'''&lt;/ref>'''</font>
  −
<br/>
  −
<br/>
  −
Such references are particularly useful when citing sources, if different statements come from
  −
the same source.<font color=red>'''&lt;ref name&#61;"multiple">'''This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.'''&lt;/ref>'''</font>
  −
<br/>
  −
<br/>
  −
A concise way to make multiple references is to use empty ref tags, which have a slash at the
  −
end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.<font color=red>'''&lt;ref name&#61;"multiple" />'''</font>
  −
<br/>
  −
<br/>
  −
&#61;=Notes==
  −
<br/>
  −
<font color=red>'''&lt;references/>'''</font>
  −
</tt>
  −
</blockquote>
     −
The text above gives the following result in the article (see also section below):
  −
<blockquote>
  −
This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref>
  −
<br/>
  −
<br/>
  −
Such references are particularly useful when citing sources, when different statements come from the same source.<ref name="multiple">This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.</ref>
  −
<br/>
  −
<br/>
  −
A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.<ref name="multiple" />
  −
</blockquote>
      
=== Links ===
 
=== Links ===
341

edits