Difference between revisions of "Help:Contents"
Line 1: | Line 1: | ||
− | See also [[http://www.mediawiki.org/wiki/Help:Contents]] | + | See also [[http://www.mediawiki.org/wiki/Help:Contents|Media Wiki Help]] |
=== Basic text formatting === | === Basic text formatting === |
Revision as of 16:56, 14 January 2008
See also [Wiki Help]
Basic text formatting
You can format the page using Wikitext special characters.
What it looks like | What you type |
---|---|
You can italicize text by putting 2 apostrophes on each side. 3 apostrophes will bold the text. 5 apostrophes will bold and italicize the text. (Using 4 apostrophes doesn't do anything special -- |
You can ''italicize text'' by putting 2 apostrophes on each side. 3 apostrophes will '''bold the text'''. 5 apostrophes will '''bold''' and ''italicize'' '''''the text'''''. (Using 4 apostrophes doesn't do anything special -- <br /> they 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 (see below). |
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]]). |
You can break lines Please do not start a link or italics or bold on one line and close it 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''' on one line and close it on the next. |
You should "sign" your comments on talk pages: |
You should "sign" your comments on talk pages: <br /> - Three tildes gives your signature: ~~~ <br /> - Four tildes give your signature plus date/time: ~~~~ <br /> - Five tildes gives the date/time alone: ~~~~~ <br /> |
Organizing your writing
What it looks like | What you type |
---|---|
Section headings
Headings organize your writing into sections. The Wiki software can automatically generate a 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. |
== Section headings == ''Headings'' organize your writing into sections. The Wiki software can automatically generate a [[table of contents]] from them. === Example === <blockquote> <tt> According to scientists, the Sun is pretty big.<font color=red>'''<ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''</ref>'''<br/></font> The Moon, however, is not so big.<font color=red>'''<ref>'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.'''</ref>'''<br/></font> <br/> ==Notes== <br/> <font color=red>'''<references/></font> </tt> </blockquote> === 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> === Links === You will often want to make clickable ''links'' to other pages. {|width="100%" border="1" cellpadding="2" cellspacing="0" |- !What it looks like !What you type |- | Here's a link to a page named [[Official position]]. You can even say [[official position]]s and the link will show up correctly. |<pre> Here's a link to a page named [[Official position]]. You can even say [[official position]]s and the link will show up correctly. |
You can put formatting around a link. Example: Wikipedia. |
You can put formatting around a link. Example: ''[[Wikipedia]]''. |
The first letter of articles is automatically capitalized, so wikipedia goes to the same place as Wikipedia. Capitalization matters after the first letter. |
The ''first letter'' of articles is automatically capitalized, so [[wikipedia]] goes to the same place as [[Wikipedia]]. Capitalization matters after the first letter. |
The weather in London is a page that doesn't exist yet. You could create it by clicking on the link. |
[[The weather in London]] is a page that doesn't exist yet. You could create it by clicking on the link. |
You can link to a page section by its title: If multiple sections have the same title, add a number. #Example section 3 goes to the third section named "Example section". |
You can link to a page section by its title: *[[List of cities by country#Morocco]]. If multiple sections have the same title, add a number. [[#Example section 3]] goes to the third section named "Example section". |
You can make a link point to a different place with a piped link. Put the link target first, then the pipe character "|", then the link text. Or you can use the "pipe trick" so that text in parentheses or text after a comma does not appear. |
*[[Help:Link|About Links]] *[[List of cities by country#Morocco| Cities in Morocco]] *[[Spinning (textiles)|]] *[[Boston, Massachusetts|]] |
You can make an external link just by typing a URL: http://www.nupedia.com You can give it a title: Nupedia Or leave the title blank: [1] |
You can make an external link just by typing a URL: http://www.nupedia.com You can give it a title: [http://www.nupedia.com Nupedia] Or leave the title blank: [http://www.nupedia.com] |
Linking to an e-mail address works the same way: mailto:someone@example.com or someone |
Linking to an e-mail address works the same way: mailto:someone@example.com or [mailto:someone@example.com someone] |
You can redirect the user to another page. |
#REDIRECT [[Official position]] |
Category links do not show up in line but instead at page bottom and cause the page to be listed in the category. Add an extra colon to link to a category in line without causing the page to be listed in the category: Category:English documentation |
[[Help:Category|Category links]] do not show up in line but instead at page bottom ''and cause the page to be listed in the category.'' [[Category:English documentation]] Add an extra colon to ''link'' to a category in line without causing the page to be listed in the category: [[:Category:English documentation]] |
The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your Preferences: |
The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your [[Special:Preferences|]]: * [[1969-07-20]] * [[July 20]], [[1969]] * [[20 July]] [[1969]] |
Extension:Cite
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.
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>
Such references are particularly useful when citing sources, if 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>
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" />
==Notes==
<references/>
The text above gives the following result in the article (see also section below):
This is an example of multiple references to the same footnote.[1]
Such references are particularly useful when citing sources, when different statements come from the same source.[1]
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.[1]