677 bytes removed ,  11:47, 3 August 2007
Line 127: Line 127:  
Using more "equals" (=) signs creates a subsection.
 
Using more "equals" (=) signs creates a subsection.
   −
==== A smaller subsection ====
+
=== Example ===
 +
<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>
   −
Don't skip levels,
+
=== Multiple uses of the same footnote ===
like from two to four equals signs.
     −
Start with 2 equals signs not 1
+
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" />'''.
because 1 creates H1 tags
  −
which should be reserved for page title.
  −
</pre>
  −
|- id="lists"
  −
|
  −
* ''Unordered [[Help:List|list]]s'' 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>
  −
* ''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>
+
In the following example, the same source is cited three times.
# ''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'':
  −
; 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;  
+
<blockquote>
a newline can appear before the colon, but
+
<tt>
using a space before the colon improves
+
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>
parsing.
+
<br/>
|<pre>
+
<br/>
Here's a ''definition list'':
+
Such references are particularly useful when citing sources, if different statements come from
; Word : Definition of the word
+
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>
; A longer phrase needing definition
+
<br/>
: Phrase defined
+
<br/>
; A word : Which has a definition
+
A concise way to make multiple references is to use empty ref tags, which have a slash at the
: Also a second one
+
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>
: And even a third
+
<br/>
 +
<br/>
 +
&#61;=Notes==
 +
<br/>
 +
<font color=red>'''&lt;references/>'''</font>
 +
</tt>
 +
</blockquote>
   −
Begin with a semicolon. One item per line;
+
The text above gives the following result in the article (see also section below):
a newline can appear before the colon, but
+
<blockquote>
using a space before the colon improves
+
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>
parsing.
+
<br/>
</pre>
+
<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/>
* You can even do mixed lists
+
<br/>
*# and nest them
+
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" />
*# inside each other
+
</blockquote>
*#* or break lines<br>in lists.
  −
*#; definition lists
  −
*#: can be
  −
*#:; nested : too
  −
|<pre>
  −
* You can even do mixed lists
  −
*# and nest them
  −
*# inside each other
  −
*#* or break lines<br>in lists.
  −
*#; definition lists
  −
*#: can be
  −
*#:; nested : too
  −
</pre>
  −
|-
  −
|
  −
: A colon (:) indents a line or paragraph.
  −
A newline starts a new paragraph. <br>
  −
Often used for discussion on [[talk pages]].
  −
: We use 1 colon to indent once.
  −
:: We use 2 colons to indent twice.
  −
::: 3 colons to indent 3 times, and so on.
  −
|<pre>
  −
: A colon (:) indents a line or paragraph.
  −
A newline starts a new paragraph. <br>
  −
Often used for discussion on talk pages.
  −
: 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 [[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 make horizontal dividing lines (----)
  −
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.
  −
 
  −
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
  −
 
  −
References: <references/>
  −
 
  −
For details, see [[Wikipedia:Footnotes]] and [[Help:Footnotes]].
  −
|
  −
<pre><nowiki>
  −
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.<ref>CIA World Factbook, 2006.</ref>
  −
 
  −
References: <references/>
  −
 
  −
For details, see [[Wikipedia:Footnotes]]
  −
and [[Help:Footnotes]].
  −
</nowiki></pre>
  −
|}
  −
 
  −
See also [[Wikipedia:Picture tutorial#Forcing a break]] (not just for pictures).
      
=== Links ===
 
=== Links ===
1,157

edits