|
|
Line 1: |
Line 1: |
| ==Wikipedia-specific introduction==
| | 118Wiki is a [[Wiki|WikiWiki]], meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for '''Wiki markup'''. |
| [[Wikipedia]] is a [[Wiki|WikiWiki]], meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for '''Wiki markup'''.
| |
|
| |
|
| == Minor edits == | | == Minor edits == |
| ''See also [[Wikipedia:Minor edit]]'' | | ''See also [http://en.wikipedia.org/wiki/Wikipedia:Minor_edit Wikipedia:Minor edit]'' |
|
| |
|
| When editing a page, a [[logged-in]] user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to ''hide'' minor edits when viewing [[Recent Changes]]. Marking a real change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary. | | When editing a page, a logged-in user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to ''hide'' minor edits when viewing [[Special:Recentchanges|Recent Changes]]. Marking a real change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary. |
|
| |
|
| == The wiki markup == | | == The wiki markup == |
| In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column. | | In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column. |
|
| |
|
| You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the [[wikipedia:Sandbox|Sandbox]]. | | You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the [[118Wiki:Sand Box|Sandbox]]. |
|
| |
|
| :'''The rest of this page is deprecated but will be updated periodically.'''
| | <div align="center"> |
| :'''Please direct edits to the [[meta:MediaWiki User's Guide: Editing overview|Meta-Wikimedia version of this page]]''' | | {| style="border:1px solid #B8C7D9; background:#f5faff; font-size: 95%;" |
| | | |- |
| === Sections, paragraphs, lists and lines ===
| | | width="25%" style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''Description''' |
| <table border="1" cellpadding="2" cellspacing="0">
| | | style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''You type''' |
| <tr>
| | | width="25%" style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''You get''' |
| <th>What it looks like</th>
| | |- |
| <th>What you type</th>
| | | colspan="3" style="background: #cedff2; padding: 3px 5px; text-align:center;" | ''applies anywhere'' |
| </tr>
| | |- |
| <tr>
| | |Italify text |
| <td>
| | |<tt><nowiki>''italic''</nowiki></tt> |
| Start your sections as follows:
| | |''italic'' |
| | | |- |
| <!-- This is the original
| | |colspan="3" style="border-top:1px solid #cedff2;"| |
| == New section == | | |- |
| === Subsection ===
| | | Bold text |
| ==== Sub-subsection ====
| | |<tt><nowiki>'''bold'''</nowiki></tt> |
| -->
| | |'''bold''' |
| | | |- |
| <!-- If this doesn't work, try the next set | | |colspan="3" style="border-top:1px solid #cedff2;"| |
| <h2> New section </h2>
| | |- |
| <h3> Subsection </h3>
| | | Bold and italic |
| <h4> Sub-subsection </h4>
| | |<tt><nowiki>'''''bold & italic'''''</nowiki></tt> |
| -->
| | |'''''bold & italic''''' |
| | | |- |
| <!-- Try this set if the previous set doesn't work. -->
| | |colspan="3" style="border-top:1px solid #cedff2;"| |
| <!-- It's a hacky way of doing it, but section edit links go crazy otherwise -->
| | |- |
| <br><b><font style="font-size:120%"> New section </font></b><br> | | | Internal link<br/> |
| <br><b><font style="font-size:110%"> Subsection </font></b><br> | | (within Wikipedia) |
| <br><b><font style="font-size:100%"> Sub-subsection </font></b><br> | | |<tt><nowiki>[[name of page]]</nowiki><br/> |
| <!-- -->
| | <nowiki>[[name of page|display text]]</nowiki> |
| | | |[[name of page]]<br/> |
| </td> | | [[name of page|display text]]</tt> |
| <td><pre><nowiki> | | |- |
| | | |colspan="3" style="border-top:1px solid #cedff2;"| |
| == New section ==
| | |- |
| | | | External link<br/> |
| === Subsection ===
| | (to other websites) |
| | | |<tt><nowiki>[http://www.example.com]</nowiki><br/> |
| ==== Sub-subsection ====
| | <nowiki>[http://www.example.com display text]</nowiki><br/> |
| </nowiki></pre> | | <nowiki> http://www.example.com </nowiki> |
| </td> | | | [http://www.example.com]<br/> |
| </tr> | | [http://www.example.com display text]<br/> |
| | | http://www.example.com |
| <tr>
| | |- |
| <td> | | |colspan="3" style="border-top:1px solid #cedff2;"| |
| A single [[newline]]
| | |- |
| has no effect on the layout.
| | |Escape wiki markup |
| These can be used to separate
| | |<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt> |
| sentences within a paragraph.
| | |<nowiki>no ''markup''</nowiki> |
| Some editors find that this aids editing
| | |- |
| and improves the ''diff'' function.<br>
| | | colspan="3" style="background: #cedff2; padding: 3px 5px; text-align:center;" | '' applies only at the beginning of the line'' |
| <br> | | |- |
| But an empty line
| | |Headings<br> |
| starts a new paragraph.
| | of different sizes |
| </td> | | | |
| <td> | | <tt><nowiki>==level 1==</nowiki></tt><br /> |
| <pre><nowiki>A single [[newline]] | | <tt><nowiki>===level 2===</nowiki></tt><br /> |
| has no effect on the layout.
| | <tt><nowiki>====level 3====</nowiki></tt><br /> |
| These can be used to separate
| | <tt><nowiki>=====level 4=====</nowiki></tt> |
| sentences within a paragraph.
| | | |
| Some editors find that this aids editing
| | ==Level 1== |
| and improves the ''diff'' function.
| | ===Level 2=== |
| | | ====Level 3==== |
| But an empty line
| | =====Level 4===== |
| starts a new paragraph.</nowiki></pre>
| | |- |
| </td>
| | |colspan="3" style="border-top:1px solid #cedff2;"| |
| </tr>
| | |- |
| | | |Bullet list |
| <tr valign="top"><td>You can break lines<br>
| | | |
| without starting a new paragraph.</td>
| | * one<br> |
| <td><pre><nowiki>You can break lines<br> | | * two<br> |
| without starting a new paragraph.</nowiki></pre>
| | ** two point one<br/> |
| </td> | | * three<br> |
| </tr> | | | |
| | | * one |
| <tr> | | * two |
| <td>
| | ** two point one |
| * Lists are easy to do:
| | * three |
| ** start every line with a star
| | |- |
| *** more stars means deeper levels
| | |colspan="3" style="border-top:1px solid #cedff2;"| |
| </td> | | |- |
| <td><pre><nowiki>* Lists are easy to do: | | |Numbered list |
| ** start every line with a star
| | | |
| *** more stars means deeper levels
| | # one<br> |
| | | # two<br> |
| </nowiki></pre> | | ## two point one<br/> |
| </td> | | # three<br> |
| </tr> | | | |
| | | # one |
| <tr> | | # two |
| <td> | | ## two point one |
| # Numbered lists are also good
| | # three |
| ## very organized
| | |- |
| ## easy to follow
| | |colspan="3" style="border-top:1px solid #cedff2;"| |
| </td>
| | |- |
| <td><pre><nowiki># Numbered lists are also good
| | | Definition list |
| ## very organized
| | | |
| ## easy to follow</nowiki></pre>
| | ;Definition<br> |
| </td>
| | :item 1<br> |
| </tr>
| | :item 2<br> |
| | | | |
| <tr> | | ;Definition |
| <td> | | :item 1 |
| * You can even do mixed lists
| | :item 2 |
| *# and nest them
| | |- |
| *#* like this
| | |colspan="3" style="border-top:1px solid #cedff2;"| |
| </td> | | |- |
| <td><pre><nowiki>* You can even do mixed lists | | |Unformatted text |
| *# and nest them | | | |
| *#* like this</nowiki></pre> | | a space at the<br/> |
| </td>
| | beginning of each line<br/> |
| </tr>
| | creates unformatted<br/> |
| | | monospaced text |
| <tr>
| | | |
| <td> | | a space at the |
| ; Definition list : list of definitions | | beginning of each line |
| ; item : the item's definition | | creates unformatted |
| </td> | | monospaced text |
| <td><pre><nowiki>; Definition list : list of definitions | | |- |
| ; item : the item's definition</nowiki></pre> | | |colspan="3" align="center" style="border-top:1px solid #B8C7D9;"|[http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia More editing help] |
| *''One item per line, no hard NEWLINE.''
| | |} |
| </td> | | </div> |
| </tr> | |
| | |
| <tr>
| |
| <td>
| |
| : A colon indents a line or paragraph. | |
| A manual newline starts a new paragraph.
| |
| | |
| * This is primarily for displayed material, but is also used for discussion on [[Wikipedia:Talk page|Talk page]]s.
| |
| </td> | |
| <td><pre><nowiki>: A colon indents a line or paragraph. | |
| A manual newline starts a new paragraph.
| |
| | |
| | |
| | |
| | |
| | |
| </nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign=top>
| |
| <td>
| |
| <pre> IF a line starts with a space THEN
| |
| it will be formatted exactly
| |
| as typed;
| |
| in a fixed-width font;
| |
| lines won't wrap;
| |
| ENDIF
| |
| this is useful for:
| |
| * pasting preformatted text;
| |
| * algorithm descriptions;
| |
| * program source code;
| |
| * [[ASCII art]] and chemical structures;
| |
| </pre>
| |
| WARNING If you make it wide, you [[page widening|force the whole page to be wide]] and hence less readable, especially for people who use lower resolutions. Never start ordinary lines with spaces.
| |
| </td>
| |
| <td><pre><nowiki> IF a line starts with a space THEN
| |
| it will be formatted exactly
| |
| as typed;
| |
| in a fixed-width font;
| |
| lines won't wrap;
| |
| ENDIF
| |
| this is useful for:
| |
| * pasting preformatted text;
| |
| * algorithm descriptions;
| |
| * program source code;
| |
| * [[ASCII art]] and chemical structures;</nowiki></pre></td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td><center>Centered text.</center>
| |
| </td>
| |
| <td><pre><nowiki><center>Centered text.</center></nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr>
| |
| <td>A [[horizontal dividing line]]: this is above it
| |
| ----
| |
| and this is below it.
| |
| | |
| Mainly useful for separating threads on Talk pages.
| |
| </td>
| |
| <td><pre><nowiki>A [[horizontal dividing line]]: this is above it
| |
| ----
| |
| and this is below it. </nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| | |
| | |
| === Links, URLs, images ===
| |
| | |
| <table border="1" cellpadding="2" cellspacing="0">
| |
| <tr>
| |
| <th>What it looks like</th>
| |
| <th>What you type</th>
| |
| </tr>
| |
| <tr valign="top"><td>London has [[public transport]].
| |
| | |
| *First letter of target is automatically capitalized.
| |
| *Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).
| |
| Thus the link above is to <nowiki>http://www.wikipedia.org/wiki/Public_transport</nowiki>, which is the article with the name "Public transport". See also [[Wikipedia:Canonization]].
| |
| </td>
| |
| <td><pre><nowiki>London has [[public transport]].</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| <tr><td>
| |
| [[World Heritage Sites#New Zealand]]<br>
| |
| is an example link to a section name on a page, see ''== headers =='' above.
| |
| Links to non-existent sections aren't broken, they are treated as links to the top of the page.</td><td>
| |
| <nowiki>[[World Heritage Sites#New Zealand]]</nowiki></td>.
| |
| </tr>
| |
| | |
| <tr valign="top"><td>Same target, different name:
| |
| [[wikipedia FAQ|answers]].
| |
| <br>(This is a [[piped link]].)
| |
| </td>
| |
| <td><pre><nowiki>Same target, different name:
| |
| [[wikipedia FAQ|answers]]</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top">
| |
| <td>Endings are blended into the link: [[test]]ing, [[gene]]s
| |
| </td>
| |
| <td>
| |
| | |
| <pre><nowiki>Endings are blended
| |
| into the link: [[test]]ing, [[gene]]s</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top">
| |
| <td>
| |
| Automatically hide stuff in parentheses: [[kingdom (biology)|kingdom]].
| |
| <p>Automatically hide namespace: [[Wikipedia:Village Pump|Village Pump]].
| |
| | |
| <p>The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A [[Wikipedia:Show preview|preview]] interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.
| |
| | |
| </td>
| |
| <td>
| |
| <pre><nowiki>Automatically hide stuff in parentheses:
| |
| [[kingdom (biology)|]]. </nowiki></pre>
| |
| | |
| | |
| <pre><nowiki>Automatically hide namespace:
| |
| [[Wikipedia:Village Pump|]].</nowiki></pre>
| |
| </td></tr>
| |
| | |
| <tr>
| |
| <td>When adding a comment to a Talk page,
| |
| you should sign it. You can do this by
| |
| adding three tildes for your user name:
| |
| : [[User:Montrealais|Montrealais]]
| |
| or four for user name plus date/time:
| |
| : [[User:Montrealais|Montrealais]] 08:10 Oct 5, 2002 (UTC)</td>
| |
| <td><pre><nowiki>When adding a comment to a Talk page,
| |
| you should sign it. You can do this by
| |
| adding three tildes for your user name:
| |
| : ~~~
| |
| or four for user name plus date/time:
| |
| : ~~~~</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>[[The weather in London]] is a page that doesn't
| |
| exist yet.
| |
| | |
| *You can create it by clicking on the link.
| |
| | |
| | |
| *To create a new page:
| |
| *#Create a link to it on some other page.
| |
| *#Save that page.
| |
| *#Click on the link you just made. The new page will open for editing.
| |
| *Have a look at [[Wikipedia:How to start a page|how to start a page]] guide and Wikipedia's [[Wikipedia:Naming conventions|naming conventions]].
| |
| *After creating a page, search for its title and make sure that everyone correctly links to it.
| |
| </td>
| |
| <td><pre><nowiki>[[The weather in London]] is a page
| |
| that doesn't exist yet.</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>[[Wikipedia:How to edit a page]] is this page.
| |
| | |
| [[Self link]]s appear as bold text when the article is viewed.</td>
| |
| <td><pre><nowiki>[[Wikipedia:How to edit a page]] is this page.</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>
| |
| [[wikipedia:Redirect|Redirect]] one article title to another by putting text like this in its first line. Note that redirects to sections do not work yet. <nowiki>#REDIRECT [[United States#History]]</nowiki> will redirect to the [[United States]] page, but not to any particular section on it. It is possible this feature will be implemented in future, so such redirects could be used now for future compatibility.
| |
| </td>
| |
| <td><pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>
| |
| Link to a page on the same subject in another language using a link like <nowiki>[[language code:Title]]</nowiki>.
| |
| | |
| It does not matter where you put these links while editing as they always show up in the same place when you save the page, but placement at the end of the edit box is recommended. See [[Wikipedia:Interlanguage links]] and [[Wikipedia:Complete list of language wikis available|list of languages and codes]].
| |
| </td>
| |
| <td><nowiki>[[fr:Wikip�?©dia:Aide]]</nowiki></td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>[[Wikipedia:External links|External link]]: [http://nupedia.8media.org Nupedia]<br>
| |
| This is an unnamed link. [http://nupedia.8media.org]<br>
| |
| This is a plain URL: http://nupedia.8media.org
| |
| </td>
| |
| <td><pre><nowiki>External link:
| |
| [http://nupedia.8media.org Nupedia]</nowiki>
| |
| This is an unnamed link. [http://nupedia.8media.org]
| |
| This is a plain URL: http://nupedia.8media.org</pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>Or just give the URL: http://nupedia.8media.org.
| |
| | |
| *In the [[URL]] all symbols must be among: A-Z a-z 0-9 ._\/~%-+&#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written %5E (to be looked up in [[ASCII]]).
| |
| </td>
| |
| | |
| | |
| <td><pre><nowiki>Or just give the URL:
| |
| http://nupedia.8media.org.</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| <tr valign="top"><td>A picture: [[Image:Wiki.png|Wikipedia Encyclopedia]]
| |
| | |
| * Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]]. See [[Wikipedia:Image use policy]] and [[Wikipedia:Image markup|Image markup]], [[Wikipedia:extended image syntax|extended image syntax]] for many more hints.
| |
| * Alternative text, used when the image isn't loaded, in a text-only browser, or when spoken aloud, is '''strongly''' encouraged. See [[Wikipedia:Alternate text for images|Alternate text for images]] for help on choosing it.
| |
| | |
| </td>
| |
| <td><pre><nowiki>
| |
| A picture: [[Image:Wiki.png]]</nowiki></pre>
| |
| or, with alternate text
| |
| <pre><nowiki>[[Image:Wiki.png|jigsaw globe]] </nowiki>
| |
| </pre>
| |
| | |
| <!-- IE4 requires outer width when floating left or it gets text wrap wrong. Here on flush right for consistency -->
| |
| or, floating to the right side of the page. Place above the text to appear beside it. The caption is <small>The Wikipedia logo</small>. Use a width as wide as the image or a little wider.
| |
| <pre><div
| |
| style="float:right;width:135px;margin:0 0 1em 1em">
| |
| <nowiki>[[Image:Wiki.png|jigsaw globe]]</nowiki>
| |
| <small>The Wikipedia logo</small>
| |
| </div></pre>
| |
| | |
| More at [[Wikipedia:Image_markup]].
| |
| </td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| Clicking on an uploaded image displays a description page, which you can also link directly to: [[:Image:Wiki.png]]
| |
| </td>
| |
| <td><pre><nowiki>
| |
| | |
| | |
| [[:Image:Wiki.png]]
| |
| </nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr>
| |
| <td>
| |
| To include links to non-image uploads such as sounds, or to images shown as links instead of drawn on the page, use a "media" link.
| |
| | |
| <br>[[media:Sg_mrob.ogg|Sound]]
| |
| <br>
| |
| <br>[[media:Tornado.jpg|Image of a Tornado]]
| |
| </td>
| |
| <td>
| |
| <pre>
| |
| <nowiki>
| |
| | |
| [[media:Sg_mrob.ogg|Sound]]
| |
| | |
| [[media:Tornado.jpg|Image of a Tornado]]
| |
| | |
| </nowiki></pre></td></tr>
| |
| | |
| <tr>
| |
| <td>
| |
| To link to books, you can use [[Wikipedia:ISBN]] links.
| |
| | |
| ISBN 0123456789X
| |
| </td>
| |
| <td>
| |
| <nowiki>ISBN 0123456789X</nowiki>
| |
| | |
| <tr>
| |
| <td>"What links here" and "Related changes" can be linked as:<br>
| |
| [[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
| |
| [[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
| |
| <td><nowiki>
| |
| [[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
| |
| [[Special:Recentchangeslinked/Wikipedia:How to edit a page]]</nowiki>
| |
| | |
| <tr valign=top>
| |
| <td>Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.
| |
| </td>
| |
| <td><pre><nowiki>[[July 20]], [[1969]] , [[20 July]] [[1969]]
| |
| and [[1969]]-[[07-20]]
| |
| </nowiki></pre>will all appear as [[20 July]] [[1969]] if you set your date display preference to 1 January 2001.
| |
| </td>
| |
| </tr>
| |
| | |
| </table>
| |
| | |
| === Character formatting ===
| |
| | |
| <table border="1" cellpadding="2" cellspacing="0">
| |
| <tr>
| |
| <th>What it looks like</th>
| |
| <th>What you type</th>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>
| |
| ''Emphasize'', '''strongly''', '''''very strongly'''''.
| |
| * These are double and triple apostrophes (single-quote marks), not double-quote marks.
| |
| * Note that on almost all browsers, these appear as italic and bold; for semantic reasons, <nowiki><i></nowiki> and <nowiki><b></nowiki> are preferable in mathematical formulas.
| |
| </td>
| |
| <td>
| |
| <pre><nowiki>''Emphasize'', '''strongly''',
| |
| '''''very strongly'''''.</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign=top>
| |
| <td>A typewriter font for <tt>technical terms</tt>.
| |
| * For semantic reasons, <code> should be used instead when writing computer programs
| |
| </td>
| |
| <td><pre><nowiki>A typewriter font for <tt>technical terms</tt>.</nowiki></pre>
| |
| </td><!-- tt is really 'teletype', not 'technical term' -->
| |
| </tr>
| |
| | |
| <tr valign=top>
| |
| <td>You can use <small>small text</small> for captions.
| |
| </td>
| |
| <td><pre><nowiki>You can use <small>small text</small> for captions.</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>You can <strike>strike out deleted material</strike>
| |
| and <u>underline new material</u>.
| |
| </td>
| |
| <td><pre><nowiki>You can <strike>strike out deleted material</strike>
| |
| and <u>underline new material</u>.</nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top">
| |
| <td>
| |
| '''Umlauts and accents:'''<br>
| |
| (See [[wikipedia:Special characters]])<br>
| |
| �?¨ �?© �?ª �?« �?¬ �?
| |
| <br>
| |
| <br>
| |
| À Á Â Ã Ä Å <br>
| |
| Æ Ç È É Ê Ë <br>
| |
| Ì Í
| |
| Î Ï Ñ Ò <br>
| |
| Ó Ô Õ
| |
| Ö Ø Ù <br>
| |
| Ú Û Ü ß
| |
| à á <br>
| |
| â ã ä å æ
| |
| ç <br>
| |
| è é ê ë ì í<br>
| |
| î ï ñ ò ó ô <br>
| |
| œ õ
| |
| ö ø ù ú <br>
| |
| û ü ÿ
| |
| </td>
| |
| <td>
| |
| <br>
| |
| <br>
| |
| �?¨ �?© �?ª �?« �?¬ �?<br>
| |
| | |
| <pre><nowiki>
| |
| &Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;
| |
| &AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;
| |
| &Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve;
| |
| &Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave;
| |
| &Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute;
| |
| &acirc; &atilde; &auml; &aring; &aelig; &ccedil;
| |
| &egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
| |
| &icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;
| |
| &oelig; &otilde; &ouml; &oslash; &ugrave; &uacute;
| |
| &ucirc; &uuml; &yuml;</nowiki></pre></td>
| |
| </tr>
| |
| | |
| <tr valign=top>
| |
| <td>
| |
| '''Punctuation:'''<br>
| |
| ¿ ¡ § ¶<br>
| |
| † ‡ • —<br>
| |
| ‹ › « »<br>
| |
| ‘ ’ “ ”
| |
| </td>
| |
| <td><pre><nowiki>
| |
| | |
| &iquest; &iexcl; &sect; &para;
| |
| &dagger; &Dagger; &bull; &mdash;
| |
| &lsaquo; &rsaquo; &laquo; &raquo;
| |
| &lsquo; &rsquo; &ldquo; &rdquo;
| |
| </nowiki></pre></td>
| |
| </tr>
| |
| | |
| <tr valign="top">
| |
| <td>
| |
| '''Commercial symbols:'''<br>
| |
| ™ © ® ¢ € ¥ <br>
| |
| £ ¤</td>
| |
| <td><pre><nowiki>
| |
| | |
| &trade; &copy; &reg; &cent; &euro; &yen;
| |
| &pound; &curren;
| |
| </nowiki></pre></td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>Subscript: x<sub>2</sub><br>
| |
| Superscript: x<sup>2</sup> or x²
| |
| *The latter method of superscript can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.
| |
| ε<sub>0</sub> =
| |
| 8.85 × 10<sup>−12</sup>
| |
| C² / J m.
| |
| <br>
| |
| <br>
| |
| 1 [[hectare]] = [[1 E4 m�?²]]
| |
| </td>
| |
| | |
| <td><pre><nowiki>Subscript: x<sub>2</sub>
| |
| Superscript: x<sup>2</sup> or x&sup2;
| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| &epsilon;<sub>0</sub> =
| |
| 8.85 &times; 10<sup>&minus;12</sup>
| |
| C&sup2; / J m.</nowiki></pre>
| |
| <br>
| |
| <nowiki>1 [[hectare]] = [[1 E4 m�?²]]</nowiki>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td>'''Greek characters:''' <br>
| |
| α β γ δ ε ζ <br>
| |
| η θ ι κ λ μ ν <br>
| |
| ξ ο π ρ σ ς <br>
| |
| τ υ φ χ ψ ω<br>
| |
| Γ Δ Θ Λ Ξ Π <br>
| |
| Σ Φ Ψ Ω
| |
| </td>
| |
| <td><pre><nowiki>
| |
| | |
| &alpha; &beta; &gamma; &delta; &epsilon; &zeta;
| |
| &eta; &theta; &iota; &kappa; &lambda; &mu; &nu;
| |
| | |
| | |
| &xi; &omicron; &pi; &rho; &sigma; &sigmaf;
| |
| &tau; &upsilon; &phi; &chi; &psi; &omega;
| |
| &Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;
| |
| &Sigma; &Phi; &Psi; &Omega;
| |
| </nowiki></pre></td>
| |
| </tr>
| |
| <tr valign="top">
| |
| <td>
| |
| '''Math characters:''' <br>
| |
| ∫ ∑ ∏ √ − ± ∞<br>
| |
| ≈ ∝ ≡ ≠ ≤ ≥ →<br>
| |
| × · ÷ ∂ ′ ″<br>
| |
| ∇ ‰ ° ∴ ℵ ø<br>
| |
| ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇<br>
| |
| ¬ ∧ ∨ ∃ ∀ ⇒ ⇔<br>
| |
| → ↔<br>
| |
| (See also [[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]])
| |
| </td>
| |
| <td valign="middle"><pre><nowiki>
| |
| &int; &sum; &prod; &radic; &minus; &plusmn; &infin;
| |
| &asymp; &prop; &equiv; &ne; &le; &ge; &rarr;
| |
| &times; &middot; &divide; &part; &prime; &Prime;
| |
| &nabla; &permil; &deg; &there4; &alefsym; &oslash;
| |
| &isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
| |
| &not; &and; &or; &exist; &forall; &rArr; &hArr;
| |
| &rarr; &harr;</nowiki></pre></td>
| |
| </tr>
| |
| | |
| <tr valign="top"><td><i>x</i><sup>2</sup> ≥ 0 true.
| |
| | |
| *To space things out, use non-breaking spaces - <tt>&nbsp;</tt>.
| |
| *<tt>&nbsp;</tt> also prevents line breaks in the middle of text, this is useful in formulas.
| |
| </td>
| |
| <td><pre><nowiki>
| |
| <i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.
| |
| </nowiki></pre></td>
| |
| </tr>
| |
| | |
| <tr>
| |
| <td>
| |
| '''Complicated formulae:'''<br>
| |
| <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
| |
| * See [[Wikipedia:TeX markup]]
| |
| </td>
| |
| <td><pre><nowiki>
| |
| <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
| |
| </nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr>
| |
| <td>
| |
| '''Suppressing interpretation of markup:'''<br>
| |
| <nowiki>Link → (<i>to</i>) the [[Wikipedia FAQ]]</nowiki>
| |
| * Used to show literal data that would otherwise have special meaning.
| |
| * Escapes all [[wiki markup]], including that which looks like HTML tags.
| |
| * Does not escape HTML character references.
| |
| * To escape HTML character references such as <tt>&rarr;</tt> use <tt>&amp;rarr;</tt>
| |
| </td>
| |
| <td>
| |
| <pre><nowiki><nowiki>Link &rarr; (<i>to</i>)
| |
| the [[Wikipedia FAQ]]</nowiki></nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| | |
| <tr>
| |
| <td>
| |
| '''Commenting page source:'''<br>
| |
| ''not shown in page''
| |
| * Used to leave comments in a page for future editors.
| |
| </td>
| |
| <td>
| |
| <pre><nowiki><!-- comment here --></nowiki></pre>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
|
| |
|
| === Tables === | | === Tables === |
|
| |
| ==== Placement of the Table of Contents (TOC) ==== | | ==== Placement of the Table of Contents (TOC) ==== |
| At the current status of the wiki markup language, at least four headers trigger the TOC in front of the first header (or after introductory sections). Putting <nowiki>__NOTOC__ </nowiki> anywhere forces the TOC to disappear. See also [[Wikipedia:Section#Compact_TOC|compact TOC]] for alphabet and year headings. | | At the current status of the wiki markup language, at least four headers trigger the TOC in front of the first header (or after introductory sections). Putting <nowiki>__NOTOC__ </nowiki> anywhere forces the TOC to disappear. See also [http://en.wikipedia.org/wiki/Wikipedia:Section#Compact_TOC compact TOC] for alphabet and year headings. |
|
| |
|
| ==== Tables ====
| | ===Tables=== |
| There are two ways to build tables: | | There are two ways to build tables: |
| *in special Wiki-markup (see [[m:MediaWiki User's Guide: Using tables|MediaWiki User's Guide: Using tables]]) | | |
| | *in special Wiki-markup (see [http://en.wikipedia.org/wiki/Help:Table Wikipedia Help:Table]) |
| *with the usual HTML elements: <table>, <tr>, <td> or <th>. | | *with the usual HTML elements: <table>, <tr>, <td> or <th>. |
|
| |
|
| For the latter, and a discussion on when tables are appropriate, see [[Wikipedia:How to use tables]]. | | For the latter, and a discussion on when tables are appropriate, see [http://en.wikipedia.org/wiki/Wikipedia:How_to_use_tables Wikipedia:How to use tables]. |
|
| |
|
| ===Variables=== | | ===Variables=== |
| <table> | | ''(See also [http://en.wikipedia.org/wiki/Help:Variable Wikipedia Help:Variable])'' |
| <tr><th>Code<th>Effect | | {| |
| <tr><td><nowiki>{{CURRENTMONTH}}</nowiki> | | |- |
| <td>{{CURRENTMONTH}} | | ! Code |
| <tr><td><nowiki>{{CURRENTMONTHNAME}}</nowiki> | | ! Effect |
| <td>{{CURRENTMONTHNAME}} | | |- |
| <tr><td><nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki> | | | <nowiki>{{CURRENTWEEK}}</nowiki> || {{CURRENTWEEK}} |
| <td>{{CURRENTMONTHNAMEGEN}} | | |- |
| <tr><td><nowiki>{{CURRENTDAY}}</nowiki> | | | <nowiki>{{CURRENTDOW}}</nowiki> || {{CURRENTDOW}} |
| <td>{{CURRENTDAY}} | | |- |
| <tr><td><nowiki>{{CURRENTDAYNAME}}</nowiki> | | | <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}} |
| <td>{{CURRENTDAYNAME}} | | |- |
| <tr><td><nowiki>{{CURRENTYEAR}}</nowiki> | | | <nowiki>{{CURRENTMONTHNAME}}</nowiki> |
| <td>{{CURRENTYEAR}} | | | {{CURRENTMONTHNAME}} |
| <tr><td><nowiki>{{CURRENTTIME}}</nowiki> | | |- |
| <td>{{CURRENTTIME}} | | | <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki> |
| <tr><td><nowiki>{{NUMBEROFARTICLES}}</nowiki> | | | {{CURRENTMONTHNAMEGEN}} |
| <td>{{NUMBEROFARTICLES}} | | |- |
| </table> | | | <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}} |
| | |- |
| | | <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}} |
| | |- |
| | | <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}} |
| | |- |
| | | <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}} |
| | |- |
| | | <nowiki>{{NUMBEROFARTICLES}}</nowiki> |
| | | {{NUMBEROFARTICLES}} |
| | |- |
| | | <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}} |
| | |- |
| | | <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}} |
| | |- |
| | | <nowiki>{{REVISIONID}}</nowiki> || {{REVISIONID}} |
| | |- |
| | | <nowiki>{{localurl:pagename}}</nowiki> |
| | | {{localurl:pagename}} |
| | |- |
| | | <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki> |
| | | {{localurl:Wikipedia:Sandbox|action=edit}} |
| | |- |
| | | <nowiki>{{SERVER}}</nowiki> || {{SERVER}} |
| | |- |
| | | <nowiki>{{ns:1}}</nowiki> || {{ns:1}} |
| | |- |
| | | <nowiki>{{ns:2}}</nowiki> || {{ns:2}} |
| | |- |
| | | <nowiki>{{ns:3}}</nowiki> || {{ns:3}} |
| | |- |
| | | <nowiki>{{ns:4}}</nowiki> || {{ns:4}} |
| | |- |
| | | <nowiki>{{ns:5}}</nowiki> || {{ns:5}} |
| | |- |
| | | <nowiki>{{ns:6}}</nowiki> || {{ns:6}} |
| | |- |
| | | <nowiki>{{ns:7}}</nowiki> || {{ns:7}} |
| | |- |
| | | <nowiki>{{ns:8}}</nowiki> || {{ns:8}} |
| | |- |
| | | <nowiki>{{ns:9}}</nowiki> || {{ns:9}} |
| | |- |
| | | <nowiki>{{ns:10}}</nowiki> || {{ns:10}} |
| | |- |
| | | <nowiki>{{ns:11}}</nowiki> || {{ns:11}} |
| | |- |
| | | <nowiki>{{ns:12}}</nowiki> || {{ns:12}} |
| | |- |
| | | <nowiki>{{ns:13}}</nowiki> || {{ns:13}} |
| | |- |
| | | <nowiki>{{ns:14}}</nowiki> || {{ns:14}} |
| | |- |
| | | <nowiki>{{ns:15}}</nowiki> || {{ns:15}} |
| | |- |
| | | <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}} |
| | |} |
|
| |
|
| '''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages). | | '''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages. |
|
| |
|
| | '''CURRENTMONTHNAMEGEN''' is the genitive (possessive) grammatical form of the month name, as used in some languages; '''CURRENTMONTHNAME''' is the nominative (subject) form, as usually seen in English. |
| | |
| | In languages where it makes a difference, you can use constructs like <nowiki>{{grammar:case|word}}</nowiki> to convert a word from the nominative case to some other case. For example, <nowiki>{{grammar:genitive|{{CURRENTMONTHNAME}}}}</nowiki> means the same as <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>. <!-- Is there a reference for this, other than the source code (for example, phase3/languages/Lnaguage*.php) ? --> |
|
| |
|
|
| |
|
| {{WikipediaContent}} | | {{WikipediaContent}} |
| | __NOTOC__ |
| | __NOEDITSECTION__ |
| | |
| | [[Category:Help|Editing]] |