How to Edit Wiki pages: Difference between revisions

From Guerrilla Media Collective Wiki
Jump to: navigation, search
No edit summary
(Undo revision 1445 by Admin (talk))
Tag: Undo
Line 4: Line 4:
*<big>'''[http://meta.wikimedia.org/wiki/MediaWiki_User's_Guide Detailed MediaWiki Documentation]'''</big>
*<big>'''[http://meta.wikimedia.org/wiki/MediaWiki_User's_Guide Detailed MediaWiki Documentation]'''</big>


The following is from: [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki's formatting/editing Overview].
The following is from: [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide:_Editing_overview Editing Overview].


== Introduction==
=== Sections, paragraphs, lists and lines ===
You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two pairs of apostrophes like <code><nowiki>''this''</nowiki></code>.
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<th>What it looks like</th>
<th>What you type</th>
</tr>
<tr>
<td>
Start your sections with header lines:


== Text formatting markup == <!--T:2-->
<!-- This is the original
</translate>
== New section ==
{| class="wikitable"
=== Subsection ===
! <translate><!--T:3--> Description</translate>
==== Sub-subsection ====
! width=40% | <translate><!--T:4--> You type</translate>
-->
! width=40% | <translate><!--T:5--> You get</translate>
|-
! colspan="3" style="background: #ABE" | <translate><!--T:6--> Character (inline) formatting – ''applies anywhere''</translate>
|-
| <translate><!--T:7--> Italic text</translate>
| <pre>
''<translate><!--T:8--> italic</translate>''
</pre>
|
''<translate><!--T:9--> italic</translate>''
|-
| <translate><!--T:10--> Bold text</translate>
| <pre>
'''<translate><!--T:11--> bold</translate>'''
</pre>
|
'''<translate><!--T:12--> bold</translate>'''
|-
| <translate><!--T:13--> Bold and italic</translate>
| <pre>
'''''<translate><!--T:14--> bold & italic</translate>'''''
</pre>
|
'''''<translate><!--T:15--> bold & italic</translate>'''''
|-
| <translate><!--T:19--> Escape wiki markup</translate>
| <pre>
&lt;nowiki&gt;<translate><!--T:20--> no ''markup''</translate>&lt;/nowiki&gt;
</pre>
|
<translate><!--T:155--> <nowiki>no ''markup''</nowiki></translate>
|-
! colspan="3" style="background: #ABE" | <translate><!--T:24--> Section formatting – ''only at the beginning of the line''</translate>
|-
| <translate><!--T:25--> Section Headings of different levels</translate>
| <pre>
<translate>
== Level 2 == <!--T:26-->


=== Level 3 === <!--T:27-->
<!-- next set
<h2> New section </h2>
<h3> Subsection </h3>
<h4> Sub-subsection </h4>
-->


==== Level 4 ==== <!--T:28-->
<!-- This code prevents confusion in the section editing feature-->
 
<b><font style="font-size:120%"> New section </font></b>
===== Level 5 ===== <!--T:29-->
 
====== Level 6 ====== <!--T:30-->
</translate>
</pre>
----
{{note|1=<nowiki/>
* <translate><!--T:31--> [[<tvar|lv1>Special:MyLanguage/Help_talk:Formatting#Level_1</>|Skip Level 1]], it is page name level.</translate>
* <translate><!--T:32--> Do not put any text on the same line after the ending equal signs.</translate>
* <translate><!--T:33--> An article with 4 or more headings automatically creates a [[wikipedia:Help:Section#Table of contents (TOC)|table of contents]] (unless setting the magic word<nowiki>__NOTOC__</nowiki>).</translate>
}}
|
<!-- using HTML markup to avoid creating new sections -->
<translate>
<!--T:35-->
<h2>Level 2</h2>


<!--T:36-->
<b><font style="font-size:110%"> Subsection</font></b>
<h3>Level 3</h3>


<!--T:37-->
<b><font style="font-size:100%"> Sub-subsection</font></b>
<h4>Level 4</h4>


<!--T:38-->
</td>
<h5>Level 5</h5>
<td><pre><nowiki>


<!--T:39-->
== New section ==
<h6>Level 6</h6>
</translate>
|-
| <translate><!--T:40--> Horizontal rule</translate>
| <pre>
<translate><!--T:41--> Text before</translate>
----
<translate><!--T:42--> Text after</translate>
</pre>
|
<translate><!--T:43--> Text before</translate>
----
<translate><!--T:44--> Text after</translate>
|-
| <translate><!--T:45--> Bullet list</translate>
|
<pre>
<translate>
<!--T:46-->
* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks give deeper
*** and deeper levels.
* Line breaks <br />don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.


<!--T:160-->
=== Subsection ===
* combine bullet list
** with definition
::- definition
** creates empty space


<!--T:161-->
==== Sub-subsection ====
* combine bullet list
</nowiki></pre>
** with definition
</td>
*:- definition
</tr>
** without empty spaces
<tr>
<td>
====Categories====
Use categories and sub-categories to organize the wiki.  Add a category to your page and the page will show up on that category page.
For a subcategory you must do a little more work.  A subcategory turns a category into a subcategory.
#To create a subcategory you must already have your 'top' category.
#Visit the page that will be in the subcategory.
#Edit the page and add in Category:My Subcategory
#Save the page, scroll to the bottom, and click on 'My Subcategory'
#Now add this page to the 'top' category by adding Category:top category and saving.
# You can see the subcategory "Global Commons" http://p2pfoundation.net/Category:Commons


<!--T:162-->
</td>
*bullet list
<td><pre><nowiki>[[Category:Commons]]
:- definition
[[Category:Global Commons]]</nowiki></pre></td>
:* sublist that doesn't create empty
</tr>
:* spaces after definition
<tr>
</translate>
<td>
</pre>
A single [[wikipedia:newline|newline]]
|
has no effect on the layout.
<translate>
These can be used to separate
<!--T:47-->
sentences within a paragraph.
* Start each line
Some editors find that this aids editing
* with an [[Wikipedia:asterisk|asterisk]] (*).
and improves the ''diff'' function.
** More asterisks give deeper
*** and deeper levels.
* Line breaks <br />don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.


<!--T:163-->
But an empty line
* combine bullet list
starts a new paragraph.
** with definition
</td>
::- definition
<td>
** creates empty space
<pre><nowiki>A single [[wikipedia:newline|newline]]
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.


<!--T:164-->
But an empty line
* combine bullet list
starts a new paragraph.</nowiki></pre>
** with definition  
</td>
*:- definition
</tr>
** without empty spaces
<tr valign="top"><td>You can break lines<br/>
without starting a new paragraph.</td>
<td><pre><nowiki>You can break lines<br/>
without starting a new paragraph.</nowiki></pre>
</td>
</tr>
<tr>
<td>
* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
</td>
<td><pre><nowiki>* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
</nowiki></pre>
</td>
</tr>
<tr>
<td>
# Numbered lists are also good
## very organized
## easy to follow
</td>
<td><pre><nowiki># Numbered lists are also good
## very organized
## easy to follow</nowiki></pre>
</td>
</tr>
<tr>
<td>
* You can even do mixed lists
*# and nest them
*#* like this
</td>
<td><pre><nowiki>* You can even do mixed lists
*# and nest them
*#* like this</nowiki></pre>
</td>
</tr>
<tr>
<td>
; Definition list : list of definitions
; item : the item's definition
</td>
<td><pre><nowiki>; Definition list : list
of definitions
; item : the item's definition</nowiki></pre>
</td>
</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 [[MediaWiki User's Guide: Talk pages|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><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;
  * chemical structures;</nowiki></pre>


<!--T:165-->
WARNING If you make it wide,
*bullet list
you [[wikipedia:page widening|force the whole page to be wide]] and
:- definition
hence less readable. Never start ordinary lines with spaces.
:* sublist that doesn't create empty
</td>
:* spaces after definition
<td><pre><nowiki> IF a line starts with a space THEN
</translate>
  it will be formatted exactly
|-
    as typed;
| <translate><!--T:48--> Numbered list</translate>
  in a fixed-width font;
|
  lines won't wrap;
<pre>
ENDIF
<translate>
this is useful for:
<!--T:49-->
  * pasting preformatted text;
# Start each line
  * algorithm descriptions;
# with a [[Wikipedia:Number_sign|number sign]] (#).
  * program source code
## More number signs give deeper
  * ASCII art;
### and deeper
  * chemical structures;</nowiki></pre></td>
### levels.
</tr>
# Line breaks <br />don't break levels.
<tr valign="top"><td><center>Centered text.</center>
### But jumping levels creates empty space.
</td>
# Blank lines
<td><pre><nowiki><center>Centered text.</center></nowiki></pre>
</td>
</tr>
<tr>
<td>A [[wikipedia:horizontal dividing line|horizontal dividing line]]: above
----


<!--T:50-->
and below.
# end the list and start another.
Any other start also
ends the list.
</translate>
</pre>
|
<translate>
<!--T:51-->
# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs give deeper
### and deeper
### levels.
# Line breaks <br />don't break levels.
### But jumping levels creates empty space.
# Blank lines


<!--T:52-->
Mainly useful for separating threads on Talk pages.
# end the list and start another.
</td>
Any other start also
<td><pre><nowiki>A horizontal dividing line: above
ends the list.
</translate>
|-
| <translate><!--T:53--> Definition list</translate>
| <pre>
<translate>
<!--T:54-->
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
</translate>
</pre>
|
<translate>
<!--T:55-->
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
</translate>
|-
| <translate><!--T:56--> Indent text</translate>
| <pre>
<translate>
<!--T:57-->
: Single indent
:: Double indent
::::: Multiple indent
</translate>
</pre>
----
{{Note|1=<translate><!--T:58--> This workaround may harm accessibility.</translate>}}
|
<translate>
<!--T:59-->
: Single indent
:: Double indent
::::: Multiple indent
</translate>
|-
| <translate><!--T:60--> Mixture of different types of list</translate>
|
<pre>
<translate>
<!--T:61-->
# one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this looks like a continuation
#: and is often used
#: instead <br />of &lt;nowiki><br />&lt;/nowiki>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2
</translate>
</pre>
----
{{note|1=<translate><!--T:62--> The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also harm accessibility.</translate>}}
|
<translate>
<!--T:63-->
# one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this looks like a continuation
#: and is often used
#: instead <br />of <nowiki><br /></nowiki>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2
</translate>
|-
| <translate><!--T:64--> Preformatted text</translate>
| <pre>
<translate>
<!--T:65-->
Start each line with a space.
Text is '''preformatted''' and
''markups'' '''''can''''' be done.
</translate>
</pre>
----
----
{{note|1=<translate><!--T:66--> This way of preformatting only applies to section formatting. Character formatting markups are still effective.</translate>}}
and below. </nowiki></pre>
|
</td>
<translate>
</tr>
<!--T:67-->
</table>
Start each line with a space.
Text is '''preformatted''' and
''markups'' '''''can''''' be done.
</translate>
|-
| <translate><!--T:68--> Preformatted text blocks</translate>
| <pre> &lt;nowiki&gt;<translate><!--T:69-->
Start with a space in the first column,
(before the <tvar|1>&lt;nowiki&gt;</>).


<!--T:70-->
=== Links, URLs ===
Then your block format will be
    maintained.


<!--T:170-->
<table border="1" cellpadding="2" cellspacing="0">
This is good for copying in code blocks:
<tr>
</translate>
<th>What it looks like</th>
<th>What you type</th>
</tr>
<tr valign="top"><td>Sue is reading the [[video policy]].
*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://meta.wikipedia.org/wiki/Video_policy</nowiki>, which is the page with the name "Video policy".
</td>
<td><pre><nowiki>Sue is reading the [[video policy]].</nowiki></pre>
</td>
</tr>
<tr><td>
Link to a section on a page, e.g.
[[List_of_cities_by_country#Morocco]] (links to non-existent sections aren't really broken, they are treated as links to the page, i.e. to the top)</td><td>
<pre><nowiki>[[List_of_cities_by_country#Morocco]].</nowiki></pre></td>
</tr>
<tr valign="top"><td>Same target, different name: [[User:Larry Sanger|answers]].


def function():
(This is called a [[wikipedia:piped link|piped link]]).
    """<translate><!--T:171--> documentation string</translate>"""
</td>
 
<td><pre><nowiki>Same target, different name:
    if True:
[[User:Larry Sanger|answers]]</nowiki></pre>
        print True
</td>
    else:
</tr>
        print False&lt;nowiki&gt;
<tr valign="top">
</pre>
<td>Endings are blended into the link: [[test]]ing, [[gene]]s
|
</td>
{{#tag:nowiki|<translate><!--T:73-->
<td>
Start with a space in the first column,
<pre><nowiki>Endings are blended
(before the &lt;nowiki&gt;).
into the link: [[test]]ing, [[gene]]s</nowiki></pre>
 
</td>
<!--T:74-->
</tr>
Then your block format will be
<tr valign="top">
    maintained.
<td>
 
Automatically hide stuff in parentheses: [[kingdom (biology)|kingdom]].
<!--T:75-->
<p>Automatically hide namespace: [[Wikipedia:Village pump|Village pump]].
This is good for copying in code blocks:
<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 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.
</translate>
</td>
 
<td>
def function():
<pre><nowiki>Automatically hide stuff in parentheses:
    """<translate><!--T:172--> documentation string</translate>"""
[[kingdom (biology)|]]. </nowiki></pre>
 
<pre><nowiki>Automatically hide namespace:
    if True:
[[Wikipedia:Village pump|]].</nowiki></pre>
        print True
</td></tr>
    else:
<tr>
        print False
<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:
<translate>
: [[User:Karl Wick|Karl Wick]]
 
or four for user name plus date/time:
== Paragraphs == <!--T:78-->
: [[User:Karl Wick|Karl Wick]] 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 [[MediaWiki User's Guide: Starting a new page|how to start a page]] guide and the naming conventions page for your project.
</td>
<td><pre><nowiki>[[The weather in London]] is a page
that doesn't exist yet.</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>
[[MediaWiki User's Guide: Using redirects|Redirect]] one article title to another by putting text like this in its first line.
</td>
<td><pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>
A link to the page on the same subject in another language or, more generally, to a page on another wiki:
[[fr:Wikipédia:Aide]].
For more info see [[MediaWiki User's Guide: Interwiki linking]].
</td>
<td><pre><nowiki>[[fr:Wikipédia:Aide]], [[:fr:Wikipédia:Aide]]</nowiki></pre></td>
</tr>
<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>
<td><pre><nowiki>
[[Special:Whatlinkshere/
Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/
Wikipedia:How to edit a page]]</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>External link: [http://www.nupedia.com Nupedia]
</td>
<td><pre><nowiki>External link:
[http://www.nupedia.com Nupedia]</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>Or just give the URL: http://www.nupedia.com.
*In the [[wikipedia:URL|URL]] all symbols must be among: A-Z a-z 0-9 ._\/~%-+&amp;#?!=()@ \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 [[wikipedia:ASCII|ASCII]]). A blank space can also be converted into an underscore.
</td>
<td><pre><nowiki>Or just give the URL:
http://www.nupedia.com.</nowiki></pre>
</td>
</tr>
<tr>
<td>
To link to books, you can use [[wikipedia:ISBN|ISBN]] links.
ISBN 0123456789X See [[MediaWiki User's Guide: ISBN links]]
</td>
<td>
<pre><nowiki>ISBN 0123456789X</nowiki></pre>
</td>
<tr>
<td>
To include links to non-image uploads such as sounds, use a "media" link.
<br/>[[media:Sg_mrob.ogg|Sound]]
</td>
<td>
<pre>
<nowiki>
[[media:Sg_mrob.ogg|Sound]]
</nowiki></pre>
</td>
</tr>
<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>


<!--T:79-->
===Images===
MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag <code>&lt;br /></code>.


== HTML tags == <!--T:80-->
<table border="1" cellpadding="2" cellspacing="0">
 
<tr>
<!--T:81-->
<th>What it looks like</th>
Some [[wikipedia:HTML|HTML]] tags are allowed in MediaWiki, for example <code>&lt;code></code>, <code>&lt;div></code>, and <code><nowiki><span></nowiki></code>. These apply anywhere you insert them.
<th>What you type</th>
</translate>
</tr>
{| class="wikitable"
<tr valign="top"><td>A picture: [[Image:Wiki.jpg|GT/GMC]]
! <translate><!--T:82--> Description</translate>
* Only images that have been uploaded to this Wiki can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]]
! width=40% | <translate><!--T:83--> You type</translate>
</td>
! width=40% | <translate><!--T:84--> You get</translate>
<td><pre><nowiki>
|-
A picture: [[Image:Wiki.jpg]]</nowiki></pre>
| <translate><!--T:85--> Inserted <br />(Displays as underline in most browsers)</translate>
or, with alternate text (''strongly'' encouraged) <!-- actually required in HTML4 -->
| <pre>
<pre><nowiki>[[Image:Wiki.jpg|GT/GMC]] </nowiki>
<ins><translate><!--T:86--> Inserted</translate></ins>
 
<translate><!--T:87--> or</translate>
 
<u><translate><!--T:88--> Underline</translate></u>
</pre>
</pre>
|
[[wikipedia:Web browser|Web browser]]s render alternate text when not displaying an image -- for example, when the image isn't loaded, or in a text-only browser, or when spoken aloud. See [[wikipedia:Wikipedia:Alternate text for images|Alternate text for images]] for help on choosing alternate text.
<ins><translate><!--T:89--> Inserted</translate></ins>
</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>


<translate><!--T:90--> or</translate>
<tr>
 
<td>
<u><translate><!--T:91--> Underline</translate></u>
To include links to images shown as links instead of drawn on the page, use a "media" link.
|-
<br/>[[media:Tornado.jpg|Image of a Tornado]]
| <translate><!--T:92--> Deleted <br />(Displays as strikethrough in most browsers)</translate>
</td>
| <pre>
<td>
<s><translate><!--T:93--> Struck out</translate></s>
<pre>
 
<nowiki>
<translate><!--T:94--> or</translate>
[[media:Tornado.jpg|Image of a Tornado]]
 
</nowiki></pre>
<del><translate><!--T:95--> Deleted</translate></del>
</td>
 
</tr>
</pre>
|
<s><translate><!--T:96--> Struck out</translate></s>
 
<translate><!--T:97--> or</translate>
 
<del><translate><!--T:98--> Deleted</translate></del>
|-
| <translate><!--T:99--> Fixed width text</translate>
| <pre>
<code><translate><!--T:100--> Source code</translate></code>
 
<translate><!--T:101--> or</translate>
 
<code><translate><!--T:157--> Fixed width text</translate></code>
</pre>
|
<code><translate><!--T:154--> Source code</translate></code>


<translate><!--T:102--> or</translate>
</table>
 
<code><translate><!--T:103--> Fixed width text</translate></code>
|-
| <translate><!--T:104--> Blockquotes</translate>
| <pre>
<translate><!--T:105--> Text before</translate>
<blockquote><translate><!--T:106--> Blockquote</translate></blockquote>
<translate><!--T:107--> Text after</translate>
</pre>
|
<translate><!--T:108--> Text before</translate>
<blockquote><translate><!--T:109--> Blockquote</translate></blockquote>
<translate><!--T:110--> Text after</translate>
|-
| <translate><!--T:167--> Quotes</translate>
| <pre>&lt;q&gt;<translate><!--T:168--> This is a quotation</translate>&lt;&#47;q&gt;</pre>
{{Note|1=The q element '''must not''' be used in place of quotation marks that do not represent quotes; for example, it is inappropriate to use the q element for marking up sarcastic statements.<ref>[https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-element HTML Living Standard—The &lt;'''q'''&gt; element]</ref>}}
| <q><translate><!--T:169--> This is a quotation</translate></q>
|-
| <translate><!--T:111--> Comment</translate>
| <pre><translate>
<!--T:112-->
<!-- This is a comment -->
Comments are visible only
in the edit zone.
</translate></pre>
|
<translate>
<!--T:113-->
<!-- This is a comment -->
Comments are visible only
in the edit zone.
</translate>
|-
| <translate><!--T:114--> Completely preformatted text</translate>
| <pre>
<pre><translate>
<!--T:115-->
Text is '''preformatted''' and
''markups'' '''''cannot''''' be done&lt;/pre>
</translate></pre>
----
{{note|1=<translate><!--T:116--> For marking up of preformatted text, check the "Preformatted text" entry at the end of the previous table.</translate>}}
|
<pre><translate>
<!--T:117-->
Text is '''preformatted''' and
''markups'' '''''cannot''''' be done
</translate></pre>
|-
| <translate><!--T:118--> '''Customized''' preformatted text</translate>
| <pre>
<pre style="color: red"><translate>
<!--T:119-->
Text is '''preformatted'''
with a style and
''markups'' '''''cannot''''' be done
&lt;/pre>
</translate></pre>
----
{{note|1=<translate><!--T:120--> A CSS style can be named within the <code>style</code> attribute.</translate>}}
|
<pre style="color: red"><translate>
<!--T:121-->
Text is '''preformatted'''
with a style and
''markups'' '''''cannot''''' be done
</translate></pre>
|}
<translate>
<!--T:122-->
continued:</translate>
{| class="wikitable" | style="table-layout: fixed; width: 100%"
! <translate><!--T:123--> Description</translate>
! width=40% | <translate><!--T:124--> You type</translate>
! width=40% | <translate><!--T:125--> You get</translate>
|-
| <translate><!--T:159--> '''Default''' preformatted text has a CSS attribute (<code>white-space: pre-wrap;</code>) to wrap the text according to available width</translate>
| <pre>
<pre>
<translate><!--T:127--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.</translate>
&lt;/pre>
</pre>
|
<pre>
<translate><!--T:128--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.</translate>
</pre>
|-
| <translate><!--T:126--> '''Customized''' preformatted text with '''disabled''' text wrapping</translate>
| <pre>
<pre style="white-space: pre;">
<translate><!--T:130--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.</translate>
&lt;/pre>
</pre>
|
<pre style="white-space: pre;">
<translate><!--T:131--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.</translate>
</pre>
|}
<translate>


== Inserting symbols == <!--T:132-->
=== Character formatting ===


<!--T:133-->
<table border="1" cellpadding="2" cellspacing="0">
Symbols and other special characters not available on your keyboard can be inserted in a multitude of ways. Many [http://www.howtogeek.com/210824/how-to-quickly-type-special-characters-on-any-computer-smartphone-or-tablet/ Operating Systems and browsers] allow you to insert special characters through a menu option or Operating System panel. Additionally, you can use the WikiEditor or [[VisualEditor/Special characters|VisualEditor]] to insert them into the edit screen.
<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, not double quotes.
</td>
<td>
<pre><nowiki>''Emphasize'', '''strongly''',
'''''very strongly'''''.</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>
You can also write <i>italic</i> and <b>bold</b>
if the desired effect is a specific font style
rather than emphasis, as in mathematical formulae:
:<b>F</b> = <i>m</i><b>a</b>
*However, the difference between these two methods is not very important for graphical browsers, and many people choose to ignore it.
</td>
<td>
<pre><nowiki>You can also write <i>italic</i>
and <b>bold</b> if the desired effect is a
specific font style rather than emphasis, as
in mathematical formulas:
:<b>F</b> = <i>m</i><b>a</b></nowiki></pre><!-- that's not a mathematical formula, though -- sure it is, just because it's being applied to physics doesn't make it stop being mathematics -->
</td>
</tr>
<tr valign=top>
<td>A typewriter font for <tt>technical terms</tt>.
</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:''' (See [[MediaWiki User's Guide: Creating special characters]])<br/>
è é ê ë ì í<br/>
<br/>
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br/>
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br/>
&Igrave; &Iacute;
&Icirc; &Iuml; &Ntilde; &Ograve; <br/>
&Oacute; &Ocirc; &Otilde;
&Ouml; &Oslash; &Ugrave; <br/>
&Uacute; &Ucirc; &Uuml; &szlig;
&agrave; &aacute; <br/>
&acirc; &atilde; &auml; &aring; &aelig;
&ccedil; <br/>
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br/>
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br/>
&oelig; &otilde;
&ouml; &oslash; &ugrave; &uacute; <br/>
&ucirc; &uuml; &yuml;
</td>
<td><pre><nowiki>


<!--T:166-->
è é ê ë ì í
As a last resort, you can use a special sequence of characters. Those sequences are called HTML entities. For example, the following sequence (entity) '''&amp;rarr;''' when inserted will be shown as <ins>right arrow</ins> HTML symbol &rarr; and '''&amp;mdash;''' when inserted will be shown as an <ins>em dash</ins> HTML symbol &mdash;. </translate>
----
{{note|1=<translate><!--T:134--> Hover over any character to find out the symbol that it produces.  Some symbols not available in the current font will appear as empty squares.</translate>}}


{| class="wikitable" align=center width=100%
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
! colspan=32 | HTML symbol entities
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
|- align=center
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
| '''<span title="&amp;Aacute;">&Aacute;</span>'''
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
| '''<span title="&amp;aacute;">&aacute;</span>'''
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
| '''<span title="&amp;Acirc;">&Acirc;</span>'''
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
| '''<span title="&amp;acirc;">&acirc;</span>'''
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
| '''<span title="&amp;acute;">&acute;</span>'''
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
| '''<span title="&amp;AElig;">&AElig;</span>'''
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
| '''<span title="&amp;aelig;">&aelig;</span>'''
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
| '''<span title="&amp;Agrave;">&Agrave;</span>'''
</tr>
| '''<span title="&amp;agrave;">&agrave;</span>'''
<tr valign=top>
| '''<span title="&amp;alefsym;">&alefsym;</span>'''
<td>
| '''<span title="&amp;Alpha;">&Alpha;</span>'''
'''Punctuation:'''<br/>
| '''<span title="&amp;alpha;">&alpha;</span>'''
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br/>
| '''<span title="&amp;amp;">&amp;</span>'''
&dagger; &Dagger; &bull; &mdash;
| '''<span title="&amp;and;">&and;</span>'''
</td>
| '''<span title="&amp;ang;">&ang;</span>'''
<td><pre><nowiki>
| '''<span title="&amp;Aring;">&Aring;</span>'''
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para;
| '''<span title="&amp;aring;">&aring;</span>'''
&amp;dagger; &amp;Dagger; &amp;bull; &amp;mdash;</nowiki></pre></td>
| '''<span title="&amp;asymp;">&asymp;</span>'''
</tr>
| '''<span title="&amp;Atilde;">&Atilde;</span>'''
<tr valign="top">
| '''<span title="&amp;atilde;">&atilde;</span>'''
<td>
| '''<span title="&amp;Auml;">&Auml;</span>'''
'''Commercial symbols:'''<br/>
| '''<span title="&amp;auml;">&auml;</span>'''
&trade; &copy; &reg; &cent; &euro; &yen; <br/>
| '''<span title="&amp;bdquo;">&bdquo;</span>'''
&pound; &curren;</td>
| '''<span title="&amp;Beta;">&Beta;</span>'''
<td><pre><nowiki>
| '''<span title="&amp;beta;">&beta;</span>'''
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
| '''<span title="&amp;brvbar;">&brvbar;</span>'''
&amp;pound; &amp;curren;
| '''<span title="&amp;bull;">&bull;</span>'''
</nowiki></pre></td>
| '''<span title="&amp;cap;">&cap;</span>'''
</tr>
| '''<span title="&amp;Ccedil;">&Ccedil;</span>'''
<tr valign="top"><td>Subscript: x<sub>2</sub><br/>
| '''<span title="&amp;ccedil;">&ccedil;</span>'''
Superscript: x<sup>2</sup> or x&sup2;
| '''<span title="&amp;cedil;">&cedil;</span>'''
*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.
| '''<span title="&amp;cent;">&cent;</span>'''
&epsilon;<sub>0</sub> =
|- align=center
8.85 &times; 10<sup>&minus;12</sup>
| '''<span title="&amp;Chi;">&Chi;</span>'''
C&sup2; / J m.
| '''<span title="&amp;chi;">&chi;</span>'''
<br/>
| '''<span title="&amp;circ;">&circ;</span>'''
<br/>
| '''<span title="&amp;clubs;">&clubs;</span>'''
1 [[hectare]] = [[1 E4 m²]]
| '''<span title="&amp;cong;">&cong;</span>'''
</td>
| '''<span title="&amp;copy;">&copy;</span>'''
<td><pre><nowiki>Subscript: x<sub>2</sub>
| '''<span title="&amp;crarr;">&crarr;</span>'''
Superscript: x<sup>2</sup> or x&amp;sup2;
| '''<span title="&amp;cup;">&cup;</span>'''
&amp;epsilon;<sub>0</sub> =
| '''<span title="&amp;curren;">&curren;</span>'''
8.85 &amp;times; 10<sup>&amp;minus;12</sup>
| '''<span title="&amp;dagger;">&dagger;</span>'''
C&amp;sup2; / J m.
| '''<span title="&amp;Dagger;">&Dagger;</span>'''
| '''<span title="&amp;darr;">&darr;</span>'''
| '''<span title="&amp;dArr;">&dArr;</span>'''
| '''<span title="&amp;deg;">&deg;</span>'''
| '''<span title="&amp;Delta;">&Delta;</span>'''
| '''<span title="&amp;delta;">&delta;</span>'''
| '''<span title="&amp;diams;">&diams;</span>'''
| '''<span title="&amp;divide;">&divide;</span>'''
| '''<span title="&amp;Eacute;">&Eacute;</span>'''
| '''<span title="&amp;eacute;">&eacute;</span>'''
| '''<span title="&amp;Ecirc;">&Ecirc;</span>'''
| '''<span title="&amp;ecirc;">&ecirc;</span>'''
| '''<span title="&amp;Egrave;">&Egrave;</span>'''
| '''<span title="&amp;egrave;">&egrave;</span>'''
| '''<span title="&amp;empty;">&empty;</span>'''
| '''<span title="&amp;emsp;">&emsp;</span>'''
| '''<span title="&amp;ensp;">&ensp;</span>'''
| '''<span title="&amp;Epsilon;">&Epsilon;</span>'''
| '''<span title="&amp;epsilon;">&epsilon;</span>'''
| '''<span title="&amp;equiv;">&equiv;</span>'''
| '''<span title="&amp;Eta;">&Eta;</span>'''
| '''<span title="&amp;eta;">&eta;</span>'''
|- align=center
| '''<span title="&amp;ETH;">&ETH;</span>'''
| '''<span title="&amp;eth;">&eth;</span>'''
| '''<span title="&amp;Euml;">&Euml;</span>'''
| '''<span title="&amp;euml;">&euml;</span>'''
| '''<span title="&amp;euro;">&euro;</span>'''
| '''<span title="&amp;exist;">&exist;</span>'''
| '''<span title="&amp;fnof;">&fnof;</span>'''
| '''<span title="&amp;forall;">&forall;</span>'''
| '''<span title="&amp;frac12;">&frac12;</span>'''
| '''<span title="&amp;frac14;">&frac14;</span>'''
| '''<span title="&amp;frac34;">&frac34;</span>'''
| '''<span title="&amp;frasl;">&frasl;</span>'''
| '''<span title="&amp;Gamma;">&Gamma;</span>'''
| '''<span title="&amp;gamma;">&gamma;</span>'''
| '''<span title="&amp;ge;">&ge;</span>'''
| '''<span title="&amp;gt;">&gt;</span>'''
| '''<span title="&amp;harr;">&harr;</span>'''
| '''<span title="&amp;hArr;">&hArr;</span>'''
| '''<span title="&amp;hearts;">&hearts;</span>'''
| '''<span title="&amp;hellip;">&hellip;</span>'''
| '''<span title="&amp;Iacute;">&Iacute;</span>'''
| '''<span title="&amp;iacute;">&iacute;</span>'''
| '''<span title="&amp;Icirc;">&Icirc;</span>'''
| '''<span title="&amp;icirc;">&icirc;</span>'''
| '''<span title="&amp;iexcl;">&iexcl;</span>'''
| '''<span title="&amp;Igrave;">&Igrave;</span>'''
| '''<span title="&amp;igrave;">&igrave;</span>'''
| '''<span title="&amp;image;">&image;</span>'''
| '''<span title="&amp;infin;">&infin;</span>'''
| '''<span title="&amp;int;">&int;</span>'''
| '''<span title="&amp;Iota;">&Iota;</span>'''
| '''<span title="&amp;iota;">&iota;</span>'''
|- align=center
| '''<span title="&amp;iquest;">&iquest;</span>'''
| '''<span title="&amp;isin;">&isin;</span>'''
| '''<span title="&amp;Iuml;">&Iuml;</span>'''
| '''<span title="&amp;iuml;">&iuml;</span>'''
| '''<span title="&amp;Kappa;">&Kappa;</span>'''
| '''<span title="&amp;kappa;">&kappa;</span>'''
| '''<span title="&amp;Lambda;">&Lambda;</span>'''
| '''<span title="&amp;lambda;">&lambda;</span>'''
| '''<span title="&amp;lang;">&lang;</span>'''
| '''<span title="&amp;laquo;">&laquo;</span>'''
| '''<span title="&amp;larr;">&larr;</span>'''
| '''<span title="&amp;lArr;">&lArr;</span>'''
| '''<span title="&amp;lceil;">&lceil;</span>'''
| '''<span title="&amp;ldquo;">&ldquo;</span>'''
| '''<span title="&amp;le;">&le;</span>'''
| '''<span title="&amp;lfloor;">&lfloor;</span>'''
| '''<span title="&amp;lowast;">&lowast;</span>'''
| '''<span title="&amp;loz;">&loz;</span>'''
| '''<span title="&amp;lrm;">&lrm;</span>'''
| '''<span title="&amp;lsaquo;">&lsaquo;</span>'''
| '''<span title="&amp;lsquo;">&lsquo;</span>'''
| '''<span title="&amp;lt;">&lt;</span>'''
| '''<span title="&amp;macr;">&macr;</span>'''
| '''<span title="&amp;mdash;">&mdash;</span>'''
| '''<span title="&amp;micro;">&micro;</span>'''
| '''<span title="&amp;middot;">&middot;</span>'''
| '''<span title="&amp;minus;">&minus;</span>'''
| '''<span title="&amp;Mu;">&Mu;</span>'''
| '''<span title="&amp;mu;">&mu;</span>'''
| '''<span title="&amp;nabla;">&nabla;</span>'''
| '''<span title="&amp;nbsp;">&nbsp;</span>'''
| '''<span title="&amp;ndash;">&ndash;</span>'''
|- align=center
| '''<span title="&amp;ne;">&ne;</span>'''
| '''<span title="&amp;ni;">&ni;</span>'''
| '''<span title="&amp;not;">&not;</span>'''
| '''<span title="&amp;notin;">&notin;</span>'''
| '''<span title="&amp;nsub;">&nsub;</span>'''
| '''<span title="&amp;Ntilde;">&Ntilde;</span>'''
| '''<span title="&amp;ntilde;">&ntilde;</span>'''
| '''<span title="&amp;Nu;">&Nu;</span>'''
| '''<span title="&amp;nu;">&nu;</span>'''
| '''<span title="&amp;Oacute;">&Oacute;</span>'''
| '''<span title="&amp;oacute;">&oacute;</span>'''
| '''<span title="&amp;Ocirc;">&Ocirc;</span>'''
| '''<span title="&amp;ocirc;">&ocirc;</span>'''
| '''<span title="&amp;OElig;">&OElig;</span>'''
| '''<span title="&amp;oelig;">&oelig;</span>'''
| '''<span title="&amp;Ograve;">&Ograve;</span>'''
| '''<span title="&amp;ograve;">&ograve;</span>'''
| '''<span title="&amp;oline;">&oline;</span>'''
| '''<span title="&amp;Omega;">&Omega;</span>'''
| '''<span title="&amp;omega;">&omega;</span>'''
| '''<span title="&amp;Omicron;">&Omicron;</span>'''
| '''<span title="&amp;omicron;">&omicron;</span>'''
| '''<span title="&amp;oplus;">&oplus;</span>'''
| '''<span title="&amp;or;">&or;</span>'''
| '''<span title="&amp;ordf;">&ordf;</span>'''
| '''<span title="&amp;ordm;">&ordm;</span>'''
| '''<span title="&amp;Oslash;">&Oslash;</span>'''
| '''<span title="&amp;oslash;">&oslash;</span>'''
| '''<span title="&amp;Otilde;">&Otilde;</span>'''
| '''<span title="&amp;otilde;">&otilde;</span>'''
| '''<span title="&amp;otimes;">&otimes;</span>'''
| '''<span title="&amp;Ouml;">&Ouml;</span>'''
|- align=center
| '''<span title="&amp;ouml;">&ouml;</span>'''
| '''<span title="&amp;para;">&para;</span>'''
| '''<span title="&amp;part;">&part;</span>'''
| '''<span title="&amp;permil;">&permil;</span>'''
| '''<span title="&amp;perp;">&perp;</span>'''
| '''<span title="&amp;Phi;">&Phi;</span>'''
| '''<span title="&amp;phi;">&phi;</span>'''
| '''<span title="&amp;Pi;">&Pi;</span>'''
| '''<span title="&amp;pi;">&pi;</span>'''
| '''<span title="&amp;piv;">&piv;</span>'''
| '''<span title="&amp;plusmn;">&plusmn;</span>'''
| '''<span title="&amp;pound;">&pound;</span>'''
| '''<span title="&amp;prime;">&prime;</span>'''
| '''<span title="&amp;Prime;">&Prime;</span>'''
| '''<span title="&amp;prod;">&prod;</span>'''
| '''<span title="&amp;prop;">&prop;</span>'''
| '''<span title="&amp;Psi;">&Psi;</span>'''
| '''<span title="&amp;psi;">&psi;</span>'''
| '''<span title="&amp;quot;">&quot;</span>'''
| '''<span title="&amp;radic;">&radic;</span>'''
| '''<span title="&amp;rang;">&rang;</span>'''
| '''<span title="&amp;raquo;">&raquo;</span>'''
| '''<span title="&amp;rarr;">&rarr;</span>'''
| '''<span title="&amp;rArr;">&rArr;</span>'''
| '''<span title="&amp;rceil;">&rceil;</span>'''
| '''<span title="&amp;rdquo;">&rdquo;</span>'''
| '''<span title="&amp;real;">&real;</span>'''
| '''<span title="&amp;reg;">&reg;</span>'''
| '''<span title="&amp;rfloor;">&rfloor;</span>'''
| '''<span title="&amp;Rho;">&Rho;</span>'''
| '''<span title="&amp;rho;">&rho;</span>'''
| '''<span title="&amp;rlm;">&rlm;</span>'''
|- align=center
| '''<span title="&amp;rsaquo;">&rsaquo;</span>'''
| '''<span title="&amp;rsquo;">&rsquo;</span>'''
| '''<span title="&amp;sbquo;">&sbquo;</span>'''
| '''<span title="&amp;Scaron;">&Scaron;</span>'''
| '''<span title="&amp;scaron;">&scaron;</span>'''
| '''<span title="&amp;sdot;">&sdot;</span>'''
| '''<span title="&amp;sect;">&sect;</span>'''
| '''<span title="&amp;shy;">&shy;</span>'''
| '''<span title="&amp;Sigma;">&Sigma;</span>'''
| '''<span title="&amp;sigma;">&sigma;</span>'''
| '''<span title="&amp;sigmaf;">&sigmaf;</span>'''
| '''<span title="&amp;sim;">&sim;</span>'''
| '''<span title="&amp;spades;">&spades;</span>'''
| '''<span title="&amp;sub;">&sub;</span>'''
| '''<span title="&amp;sube;">&sube;</span>'''
| '''<span title="&amp;sum;">&sum;</span>'''
| '''<span title="&amp;sup;">&sup;</span>'''
| '''<span title="&amp;sup1;">&sup1;</span>'''
| '''<span title="&amp;sup2;">&sup2;</span>'''
| '''<span title="&amp;sup3;">&sup3;</span>'''
| '''<span title="&amp;supe;">&supe;</span>'''
| '''<span title="&amp;szlig;">&szlig;</span>'''
| '''<span title="&amp;Tau;">&Tau;</span>'''
| '''<span title="&amp;tau;">&tau;</span>'''
| '''<span title="&amp;there4;">&there4;</span>'''
| '''<span title="&amp;Theta;">&Theta;</span>'''
| '''<span title="&amp;theta;">&theta;</span>'''
| '''<span title="&amp;thetasym;">&thetasym;</span>'''
| '''<span title="&amp;thinsp;">&thinsp;</span>'''
| '''<span title="&amp;THORN;">&THORN;</span>'''
| '''<span title="&amp;thorn;">&thorn;</span>'''
| '''<span title="&amp;tilde;">&tilde;</span>'''
|- align=center
| '''<span title="&amp;times;">&times;</span>'''
| '''<span title="&amp;trade;">&trade;</span>'''
| '''<span title="&amp;Uacute;">&Uacute;</span>'''
| '''<span title="&amp;uacute;">&uacute;</span>'''
| '''<span title="&amp;uarr;">&uarr;</span>'''
| '''<span title="&amp;uArr;">&uArr;</span>'''
| '''<span title="&amp;Ucirc;">&Ucirc;</span>'''
| '''<span title="&amp;ucirc;">&ucirc;</span>'''
| '''<span title="&amp;Ugrave;">&Ugrave;</span>'''
| '''<span title="&amp;ugrave;">&ugrave;</span>'''
| '''<span title="&amp;uml;">&uml;</span>'''
| '''<span title="&amp;upsih;">&upsih;</span>'''
| '''<span title="&amp;Upsilon;">&Upsilon;</span>'''
| '''<span title="&amp;upsilon;">&upsilon;</span>'''
| '''<span title="&amp;Uuml;">&Uuml;</span>'''
| '''<span title="&amp;uuml;">&uuml;</span>'''
| '''<span title="&amp;weierp;">&weierp;</span>'''
| '''<span title="&amp;Xi;">&Xi;</span>'''
| '''<span title="&amp;xi;">&xi;</span>'''
| '''<span title="&amp;Yacute;">&Yacute;</span>'''
| '''<span title="&amp;yacute;">&yacute;</span>'''
| '''<span title="&amp;yen;">&yen;</span>'''
| '''<span title="&amp;yuml;">&yuml;</span>'''
| '''<span title="&amp;Yuml;">&Yuml;</span>'''
| '''<span title="&amp;Zeta;">&Zeta;</span>'''
| '''<span title="&amp;zeta;">&zeta;</span>'''
| '''<span title="&amp;zwj;">&zwj;</span>'''
| '''<span title="&amp;zwnj;">&zwnj;</span>'''
|}


{| class="wikitable"
1 [[hectare]] = [[1 E4 m²]]
! <translate><!--T:135--> Description</translate>
</nowiki></pre></td>
! width=40% | <translate><!--T:136--> You type</translate>
</tr>
! width=40% | <translate><!--T:137--> You get</translate>
<tr valign="top"><td>'''Greek characters:''' <br/>
|-
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br/>
| <translate><!--T:138--> Copyright symbol</translate>
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br/>
|class=mw-code| &amp;copy;
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf; <br/>
|
&tau; &upsilon; &phi; &chi; &psi; &omega;<br/>
:::'''&copy;'''
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; <br/>
|-
&Sigma; &Phi; &Psi; &Omega;
| <translate><!--T:139--> Greek delta letter symbol</translate>
</td>
|class=mw-code|&amp;delta;
<td><pre><nowiki>
|
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
:::'''&delta;'''
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
|-
&amp;xi; &amp;omicron; &amp;pi; &amp;rho;  &amp;sigma; &amp;sigmaf;
| <translate><!--T:140--> Euro currency symbol</translate>
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
|class=mw-code|&amp;euro;
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
|
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
:::'''&euro;'''
</nowiki></pre></td>
|}
</tr>
<translate>
<tr valign="top">
<!--T:141-->
<td>
See the list of all HTML entities on the Wikipedia article [[wikipedia:List of HTML entities|List of HTML entities]]. Additionally, MediaWiki supports two non-standard entity reference sequences: <code>&amp;רלמ;</code> and <code>&amp;رلم;</code> which are both considered equivalent to <code>&amp;rlm;</code> which is a [[wikipedia:Right-to-left mark|right-to-left mark]]. (Used when combining right to left languages with left to right languages in the same page.)
'''Math characters:''' <br/>
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br/>
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br/>
&times; &middot; &divide; &part; &prime; &Prime;<br/>
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br/>
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br/>
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br/>
&rarr; &harr;<br/>
</td>
<td valign="middle"><pre><nowiki>
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge; &amp;rarr;
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;alefsym; &amp;oslash;
&amp;isin; &amp;notin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;
&amp;rarr; &amp;harr;</nowiki></pre></td>
</tr>
<tr valign="top"><td><i>x</i><sup>2</sup>&nbsp;&nbsp;&nbsp;&ge;&nbsp;&nbsp;&nbsp;0 true.
*To space things out, use non-breaking spaces - <tt>&amp;nbsp;</tt>.
*<tt>&amp;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>&amp;nbsp;&amp;nbsp;&amp;ge;&amp;nbsp;&amp;nbsp;0 true.
</nowiki></pre></td>
</tr>
<tr>
<td>
'''Complicated formulae:'''<br/>
&nbsp;&nbsp;<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
* See [[MediaWiki User's Guide: Editing mathematical formulae:TeX markup|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 &rarr; (<i>to</i>) the [[FAQ]]</nowiki>
* Used to show literal data that would otherwise have special meaning.
* Shows all wiki markup, including that which looks like HTML tags, instead of applying it.
* ''Does'' show special characters, and not the HTML character codes.
</td>
<td>
<pre><nowiki><nowiki>Link &amp;rarr; (<i>to</i>)
the [[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>


== HTML tags and symbol entities displayed themselves (with and without interpreting them) == <!--T:142-->
=== HTML Tables ===
</translate>
:<code>&amp;amp;euro;</code> &nbsp;&rarr; '''&amp;euro;'''


:<code>&lt;span style="color: red; text-decoration: line-through;"><translate><!--T:143--> Typo to be corrected</translate>&lt;/span></code> &nbsp;&rarr; '''<span style="color: red; text-decoration: line-through;"><translate><!--T:144--> Typo to be corrected</translate></span>'''
[[wikipedia:HTML|HTML]] tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [[MediaWiki User's Guide: Using tables]].


:<code><translate><!--T:156--> <nowiki>&amp;lt;span style="color: red; text-decoration: line-through;">Typo to be corrected</span></nowiki></translate></code> &nbsp;&rarr; '''&lt;span style="color: red; text-decoration: line-through;"><translate><!--T:145--> Typo to be corrected</translate>&lt;/span>'''
::Don't bother, there is nothing; but hopefully someone will do a bit of work here as tables can be very useful in conveying a structure which I call, provisionally, the ''Holistic Knowledge Base''.
<translate>
:::The need I feel is about classifying (grouping) subjects and subcategories of descending levels. A simple list like the list of ''P2P Domains'' (http://p2pfoundation.net/The_Foundation_for_P2P_Alternatives) is inadequate. It can not suggest "neighborhood" relations, for example, between certain groups of subjects. [[User:Janosabel|Janosabel]] 10:43, 26 September 2011 (UTC)
=== Nowiki for HTML === <!--T:146-->
</translate>
<<nowiki />nowiki /> <translate><!--T:147--> can prohibit (HTML) tags:</translate>
* <nowiki><<</nowiki>nowiki />pre> &nbsp;&rarr; <<nowiki/>pre>
<translate><!--T:148--> But ''not'' &amp; symbol escapes:</translate>
* &<<nowiki />nowiki />amp; &nbsp;&rarr; &amp;
<translate><!--T:149-->
To print &amp; symbol escapes as text, use "<code>&amp;amp;</code>" to replace the "&" character (eg. type "<code>&amp;amp;nbsp;</code>", which results in "<code>&amp;nbsp;</code>").


== Other formatting == <!--T:150-->
==Templates==


<!--T:151-->
Some text on a page may correspond in the edit box to just a reference to another page, in the form <nowiki>{{</nowiki>''name''<nowiki>}}</nowiki>, referring to the page "Template:''name''". This is called a [[template]]. For changing that text, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template in Wikipedia is with [[wikipedia:Template:ed]].
Beyond the text formatting markup shown hereinbefore, here are some other formatting references:
</translate>


* {{ll|Help:Links|nsp=0}}
==Page protection==
* {{ll|Help:Lists|nsp=0}}
* {{ll|Help:Images|nsp=0}}
<translate>
<!--T:158-->
* References - see [[<tvar|citephp>Special:MyLanguage/Extension:Cite/Cite.php</>|Extension:Cite/Cite.php]]
* [[<tvar|tables>Special:MyLanguage/Help:Tables</>|Tables]]


<!--T:153-->
In a few cases the link labeled "{{MediaWiki:Editthispage}}" is replaced by the text "{{MediaWiki:Protectedpage}}" (or equivalents in the language of the project). In that case the page can not be edited.
You can find more references at [[<tvar|help-contents>Special:MyLanguage/Help:Contents</>|Help:Contents]].
</translate>


==Separating edits==


When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the [[MediaWiki User's Guide: Diff|diff function]] can be usefully applied for checking these other edits.


[[Category:Tools]]
[[Category:Tools]]

Revision as of 15:57, 24 January 2019

Visit the main Wiki help page for more information

The following is from: Editing Overview.

Sections, paragraphs, lists and lines

What it looks like What you type

Start your sections with header lines:


New section

Subsection

Sub-subsection


== New section ==

=== Subsection ===

==== Sub-subsection ====

Categories

Use categories and sub-categories to organize the wiki. Add a category to your page and the page will show up on that category page. For a subcategory you must do a little more work. A subcategory turns a category into a subcategory.

  1. To create a subcategory you must already have your 'top' category.
  2. Visit the page that will be in the subcategory.
  3. Edit the page and add in Category:My Subcategory
  4. Save the page, scroll to the bottom, and click on 'My Subcategory'
  5. Now add this page to the 'top' category by adding Category:top category and saving.
  6. You can see the subcategory "Global Commons" http://p2pfoundation.net/Category:Commons
[[Category:Commons]]
[[Category:Global Commons]]

A single newline 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.

But an empty line starts a new paragraph.

A single [[wikipedia:newline|newline]]
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.

But an empty line
starts a new paragraph.
You can break lines
without starting a new paragraph.
You can break lines<br/>
without starting a new paragraph.
  • Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
  1. Numbered lists are also good
    1. very organized
    2. easy to follow
# Numbered lists are also good
## very organized
## easy to follow
  • You can even do mixed lists
    1. and nest them
      • like this
* You can even do mixed lists
*# and nest them
*#* like this
Definition list
list of definitions
item
the item's definition
; Definition list : list
of definitions
; item : the item's definition
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 Talk pages.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
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;
  * chemical structures;

WARNING If you make it wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.

 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;
   * chemical structures;
Centered text.
<center>Centered text.</center>
A horizontal dividing line: above

and below.

Mainly useful for separating threads on Talk pages.

A horizontal dividing line: above
----
and below. 

Links, URLs

What it looks like What you type
Sue is reading the video policy.
  • 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 http://meta.wikipedia.org/wiki/Video_policy, which is the page with the name "Video policy".

Sue is reading the [[video policy]].

Link to a section on a page, e.g.

List_of_cities_by_country#Morocco (links to non-existent sections aren't really broken, they are treated as links to the page, i.e. to the top)
[[List_of_cities_by_country#Morocco]].
Same target, different name: answers.

(This is called a piped link).

Same target, different name:
[[User:Larry Sanger|answers]]
Endings are blended into the link: testing, genes
Endings are blended
into the link: [[test]]ing, [[gene]]s

Automatically hide stuff in parentheses: kingdom.

Automatically hide namespace: Village pump.

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 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.

Automatically hide stuff in parentheses:
[[kingdom (biology)|]]. 
Automatically hide namespace:
[[Wikipedia:Village pump|]].
When adding a comment to a Talk page,

you should sign it. You can do this by adding three tildes for your user name:

Karl Wick

or four for user name plus date/time:

Karl Wick 08:10 Oct 5, 2002 (UTC)
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:
: ~~~~
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:
    1. Create a link to it on some other page.
    2. Save that page.
    3. Click on the link you just made. The new page will open for editing.
  • Have a look at how to start a page guide and the naming conventions page for your project.
[[The weather in London]] is a page
that doesn't exist yet.

Redirect one article title to another by putting text like this in its first line.

#REDIRECT [[United States]]

A link to the page on the same subject in another language or, more generally, to a page on another wiki: fr:Wikipédia:Aide. For more info see MediaWiki User's Guide: Interwiki linking.

[[fr:Wikipédia:Aide]], [[:fr:Wikipédia:Aide]]
"What links here" and "Related changes" can be linked as:

Special:Whatlinkshere/Wikipedia:How to edit a page and Special:Recentchangeslinked/Wikipedia:How to edit a page

[[Special:Whatlinkshere/
Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/
Wikipedia:How to edit a page]]
External link: Nupedia
External link:
[http://www.nupedia.com Nupedia]
Or just give the URL: http://www.nupedia.com.
  • 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). A blank space can also be converted into an underscore.
Or just give the URL:
http://www.nupedia.com.

To link to books, you can use ISBN links. ISBN 0123456789X See MediaWiki User's Guide: ISBN links

ISBN 0123456789X

To include links to non-image uploads such as sounds, use a "media" link.
Sound


[[media:Sg_mrob.ogg|Sound]]
Use links for dates, so everyone can set their own display order. Use Special:Preferences to change your own date display setting.
[[July 20]], [[1969]] , [[20 July]] [[1969]]
and [[1969]]-[[07-20]]
will all appear as 20 July 1969 if you set your date display preference to 1 January 2001.

Images

What it looks like What you type
A picture: GT/GMC
  • Only images that have been uploaded to this Wiki can be used. To upload images, use the upload page. You can find the uploaded image on the image list
A picture: [[Image:Wiki.jpg]]

or, with alternate text (strongly encouraged)

[[Image:Wiki.jpg|GT/GMC]] 

Web browsers render alternate text when not displaying an image -- for example, when the image isn't loaded, or in a text-only browser, or when spoken aloud. See Alternate text for images for help on choosing alternate text.

Clicking on an uploaded image displays a description page, which you can also link directly to: Image:Wiki.png

[[:Image:Wiki.png]]

To include links to images shown as links instead of drawn on the page, use a "media" link.
Image of a Tornado


[[media:Tornado.jpg|Image of a Tornado]]

Character formatting

What it looks like What you type

Emphasize, strongly, very strongly.

  • These are double and triple apostrophes, not double quotes.
''Emphasize'', '''strongly''',
'''''very strongly'''''.

You can also write italic and bold if the desired effect is a specific font style rather than emphasis, as in mathematical formulae:

F = ma
  • However, the difference between these two methods is not very important for graphical browsers, and many people choose to ignore it.
You can also write <i>italic</i>
and <b>bold</b> if the desired effect is a 
specific font style rather than emphasis, as 
in mathematical formulas:
:<b>F</b> = <i>m</i><b>a</b>
A typewriter font for technical terms.
A typewriter font for 
<tt>technical terms</tt>.
You can use small text for captions.
You can use <small>small text</small> 
for captions.
You can strike out deleted material

and underline new material.

You can <strike>strike out deleted material</strike>
and <u>underline new material</u>.

Umlauts and accents: (See MediaWiki User's Guide: Creating special characters)
è é ê ë ì í

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ


è é ê ë ì í

&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;

Punctuation:
¿ ¡ « » § ¶
† ‡ • —

&iquest; &iexcl; &laquo; &raquo; &sect; &para;
&dagger; &Dagger; &bull; &mdash;

Commercial symbols:
™ © ® ¢ € ¥

£ ¤
&trade; &copy; &reg; &cent; &euro; &yen;
&pound; &curren;
Subscript: x2

Superscript: x2 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.

ε0 = 8.85 × 10−12 C² / J m.

1 hectare = 1 E4 m²

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.

1 [[hectare]] = [[1 E4 m²]]
Greek characters:

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω

&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;

Math characters:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥ →
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔

&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;
x2   ≥   0 true.
  • To space things out, use non-breaking spaces - &nbsp;.
  • &nbsp; also prevents line breaks in the middle of text, this is useful in formulas.
<i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.

Complicated formulae:
  <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

Suppressing interpretation of markup:
Link → (<i>to</i>) the [[FAQ]]

  • Used to show literal data that would otherwise have special meaning.
  • Shows all wiki markup, including that which looks like HTML tags, instead of applying it.
  • Does show special characters, and not the HTML character codes.
<nowiki>Link &rarr; (<i>to</i>)
the [[FAQ]]</nowiki>

Commenting page source:
not shown in page

  • Used to leave comments in a page for future editors.
<!-- comment here -->

HTML Tables

HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see MediaWiki User's Guide: Using tables.

Don't bother, there is nothing; but hopefully someone will do a bit of work here as tables can be very useful in conveying a structure which I call, provisionally, the Holistic Knowledge Base.
The need I feel is about classifying (grouping) subjects and subcategories of descending levels. A simple list like the list of P2P Domains (http://p2pfoundation.net/The_Foundation_for_P2P_Alternatives) is inadequate. It can not suggest "neighborhood" relations, for example, between certain groups of subjects. Janosabel 10:43, 26 September 2011 (UTC)

Templates

Some text on a page may correspond in the edit box to just a reference to another page, in the form {{name}}, referring to the page "Template:name". This is called a template. For changing that text, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template in Wikipedia is with wikipedia:Template:ed.

Page protection

In a few cases the link labeled "MediaWiki:Editthispage" is replaced by the text "Protected page" (or equivalents in the language of the project). In that case the page can not be edited.

Separating edits

When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the diff function can be usefully applied for checking these other edits.