|
|
Line 190: |
Line 190: |
| | → [[Main Page]] | | | → [[Main Page]] |
| |} | | |} |
− |
| |
− | ===Extension:Cite===
| |
− |
| |
− | [http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Usage www.mediawiki.org/wiki/Extension:Cite]
| |
− |
| |
− | === Multiple uses of the same footnote ===
| |
− |
| |
− | To give a footnote a unique identifier, use '''<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: '''<ref name="name" />'''.
| |
− |
| |
− | In the following example, the same source is cited three times.
| |
− |
| |
− | <blockquote>
| |
− | <tt>
| |
− | This is an example of multiple references to the same footnote.<font color=red>'''<ref name="multiple">'''Remember that when you refer to the same footnote multiple times, the text from the first reference is used.'''</ref>'''</font>
| |
− | <br/>
| |
− | <br/>
| |
− | Such references are particularly useful when citing sources, if different statements come from
| |
− | the same source.<font color=red>'''<ref name="multiple">'''This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.'''</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>'''<ref name="multiple" />'''</font>
| |
− | <br/>
| |
− | <br/>
| |
− | ==Notes==
| |
− | <br/>
| |
− | <font color=red>'''<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>
| |
See also Detailed Help from Media Wiki
Text formatting markup
Description
|
You type
|
You get
|
applies anywhere
|
Italic text
|
''italic''
|
italic
|
Bold text
|
'''bold'''
|
bold
|
Bold and italic
|
'''''bold & italic'''''
|
bold & italic
|
Escape wiki markup
|
<nowiki>no ''markup''</nowiki>
|
no ''markup''
|
only at the beginning of the line
|
Headings of
different levels [1][2]
|
==level 1==
===level 2===
====level 3====
=====level 4=====
|
Level 1
Level 2
Level 3
Level 4
|
Horizontal rule
|
----
|
|
Bullet list
|
* one
* two
* three
** three and one-third
** three and two-thirds
|
- one
- two
- three
- three and one-third
- three and two-thirds
|
Numbered list
|
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
|
- one
- two
spanning several lines without breaking the numbering
- three
- three point one
- three point two
|
Mixture of bulleted and numbered lists
|
# one
# two
#* two point one
#* two point two
|
- one
- two
- two point one
- two point two
|
Definition list
|
;Definition
:item 1
:item 2
|
- Definition
- item 1
- item 2
|
Preformatted text
|
preformatted text is done with
a space at the
beginning of the line
|
preformatted text is done with
a space at the
beginning of the line
|
Notes:
- ↑ 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.
- ↑ An article with four or more headings will automatically create a table of contents.
Paragraphs
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 <br> or <br/>.
HTML
Some HTML tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>.
Links
You will often want to make clickable links to other pages.
Description
|
You type
|
You get
|
Internal link
|
[[Main Page]]
|
Main Page
|
Category link
|
[[:Category:Help]]
|
Category:Help
|
Piped link
|
[[Main Page|different text]]
|
different text
|
Anchor link
|
[[#External links|Anchor link]]
|
Anchor link
|
External link
|
http://mediawiki.org
|
http://mediawiki.org
|
Internal link to image file
|
[[media:example.jpg]]
|
media:example.jpg
|
External link,
different title
|
[http://mediawiki.org MediaWiki]
|
MediaWiki
|
External link,
unnamed
|
[http://mediawiki.org]
|
[1]
|
External link,
same host unnamed
|
[http://{{SERVERNAME}}/pagename]
|
[2]
|
Interwiki link
|
[[Wikipedia:MediaWiki]]
|
Wikipedia:MediaWiki
|
mailto
|
mailto:info@example.org
|
mailto:info@example.org
|
mailto unnamed
|
[mailto:info@example.org]
|
[3]
|
mailto named
|
[mailto:info@example.org info]
|
info
|
redirect
|
#REDIRECT [[Main Page]]
|
→ Main Page
|