Changes

Jump to navigation Jump to search
4,131 bytes added ,  22:53, 30 July 2007
no edit summary
Line 273: Line 273:     
See also [[Wikipedia:Picture tutorial#Forcing a break]] (not just for pictures).
 
See also [[Wikipedia:Picture tutorial#Forcing a break]] (not just for pictures).
 +
 +
=== Links ===
 +
 +
You will often want to make clickable ''links'' to other pages.
 +
 +
{|width="100%"  border="1" cellpadding="2" cellspacing="0"
 +
|-
 +
!What it looks like
 +
!What you type
 +
|-
 +
|
 +
Here's a link to a page named [[Official position]].
 +
You can even say [[official position]]s
 +
and the link will show up correctly.
 +
|<pre>
 +
Here's a link to a page named [[Official position]].
 +
You can even say [[official position]]s
 +
and the link will show up correctly.
 +
</pre>
 +
|-
 +
|
 +
You can put formatting around a link.
 +
Example: ''[[Wikipedia]]''.
 +
|<pre>
 +
You can put formatting around a link.
 +
Example: ''[[Wikipedia]]''.
 +
</pre>
 +
|-
 +
|
 +
The ''first letter'' of articles is automatically
 +
capitalized, so [[wikipedia]] goes to the same place
 +
as [[Wikipedia]]. Capitalization matters after the
 +
first letter.
 +
|<pre>
 +
The ''first letter'' of articles is automatically
 +
capitalized, so [[wikipedia]] goes to the same place
 +
as [[Wikipedia]]. Capitalization matters after the
 +
first letter.
 +
</pre>
 +
|-
 +
|
 +
[[The weather in London]] is a page that doesn't exist
 +
yet. You could create it by clicking on the link.
 +
|<pre>
 +
[[The weather in London]] is a page that doesn't exist
 +
yet. You could create it by clicking on the link.
 +
</pre>
 +
|-
 +
|
 +
You can link to a page section by its title:
 +
 +
*[[List of cities by country#Morocco]].
 +
 +
If multiple sections have the same title, add
 +
a number. [[#Example section 3]] goes to the
 +
third section named "Example section".
 +
|<pre>
 +
You can link to a page section by its title:
 +
 +
*[[List of cities by country#Morocco]].
 +
 +
If multiple sections have the same title, add
 +
a number. [[#Example section 3]] goes to the
 +
third section named "Example section".
 +
</pre>
 +
|-
 +
|
 +
You can make a link point to a different place
 +
with a [[Help:Piped link|piped link]]. Put the link
 +
target first, then the pipe character "|", then
 +
the link text.
 +
 +
*[[Help:Link|About Links]]
 +
*[[List of cities by country#Morocco|
 +
Cities in Morocco]]
 +
 +
Or you can use the "pipe trick" so that text in parentheses or text after a comma does not appear.
 +
 +
*[[Spinning (textiles)|Spinning]]
 +
*[[Boston, Massachusetts|Boston]]
 +
|<pre>
 +
 +
*[[Help:Link|About Links]]
 +
*[[List of cities by country#Morocco|
 +
Cities in Morocco]]
 +
 +
*[[Spinning (textiles)|]]
 +
*[[Boston, Massachusetts|]]
 +
</pre>
 +
|-
 +
|
 +
You can make an external link just by typing a URL:
 +
http://www.nupedia.com
 +
 +
You can give it a title:
 +
[http://www.nupedia.com Nupedia]
 +
 +
Or leave the title blank:
 +
[http://www.nupedia.com]
 +
|
 +
<pre>
 +
You can make an external link just by typing a URL:
 +
http://www.nupedia.com
 +
 +
You can give it a title:
 +
[http://www.nupedia.com Nupedia]
 +
 +
Or leave the title blank:
 +
[http://www.nupedia.com]
 +
</pre>
 +
|-
 +
|
 +
Linking to an e-mail address works the same way:
 +
mailto:someone@example.com or
 +
[mailto:someone@example.com someone]
 +
|
 +
<pre>
 +
Linking to an e-mail address works the same way:
 +
mailto:someone@example.com or
 +
[mailto:someone@example.com someone]
 +
</pre>
 +
|-
 +
|
 +
You can [[Help:Redirect|redirect]] the user to another page.
 +
|<pre>
 +
#REDIRECT [[Official position]]
 +
</pre>
 +
|-
 +
|
 +
[[Help:Category|Category links]] do not show up in line
 +
but instead at page bottom ''and cause the page to be
 +
listed in the category.''
 +
[[Category:English documentation]]
 +
 +
Add an extra colon to ''link'' to a category in line
 +
without causing the page to be listed in the category:
 +
[[:Category:English documentation]]
 +
|<pre>
 +
[[Help:Category|Category links]] do not show up in line
 +
but instead at page bottom ''and cause the page to be
 +
listed in the category.''
 +
[[Category:English documentation]]
 +
 +
Add an extra colon to ''link'' to a category in line
 +
without causing the page to be listed in the category:
 +
[[:Category:English documentation]]
 +
</pre>
 +
|-
 +
|
 +
The Wiki reformats linked dates to match the reader's
 +
date preferences. These three dates will show up the
 +
same if you choose a format in your
 +
[[Special:Preferences|Preferences]]:
 +
* [[1969-07-20]]
 +
* [[July 20]], [[1969]]
 +
* [[20 July]] [[1969]]
 +
|<pre>
 +
The Wiki reformats linked dates to match the reader's
 +
date preferences. These three dates will show up the
 +
same if you choose a format in your
 +
[[Special:Preferences|]]:
 +
* [[1969-07-20]]
 +
* [[July 20]], [[1969]]
 +
* [[20 July]] [[1969]]
 +
</pre>
 +
|}
116

edits

Navigation menu