Difference between revisions of "Help:Links"

From OutHistory
Jump to navigationJump to search
(Removing all content from page)
Line 1: Line 1:
 +
===[[Help:Links and URLs|Links and URLs]]===
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|- valign="top"
 +
! What it looks like
 +
! What you type
 +
|- id="emph" valign="top"
 +
|
 +
London has [[public transport]].
  
 +
* A link to another Wiki article.
 +
* Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).
 +
* Thus the link above is to the [[URL]] en.wikipedia.org/wiki/Public_transport, which is the Wikipedia article with the name "Public transport". See also [[Wikipedia:Canonicalization]].
 +
|
 +
<pre><nowiki>
 +
London has [[public transport]].
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
San Francisco also has [[public transport|
 +
public transportation]].
 +
 +
* Same target, different name.
 +
* The target ("piped") text must be placed '''first''', then the text that will be displayed second.
 +
|
 +
<pre><nowiki>
 +
San Francisco also has
 +
[[public transport|
 +
public transportation]].
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
San Francisco also has
 +
[[public transport]]ation.
 +
 +
Examples include [[bus]]es, [[taxicab]]s,
 +
and [[streetcar]]s.
 +
 +
* Endings are blended into the link.
 +
* Preferred style is to use this instead of a piped link, if possible.
 +
* Blending can be suppressed by using <nowiki><nowiki></nowiki></nowiki> tags, which may be desirable in some instances.  Example: a [[micro]]<nowiki>second</nowiki>.
 +
|
 +
<pre><nowiki>
 +
San Francisco also has
 +
[[public transport]]ation.
 +
 +
Examples include [[bus]]es,
 +
[[taxicab]]s, and [[streetcar]]s.
 +
 +
a [[micro]]<nowiki>second</nowiki>
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
See the [[Wikipedia:Manual of Style]].
 +
 +
* A link to another [[Help:namespace|namespace]].
 +
|
 +
<pre><nowiki>
 +
See the
 +
[[Wikipedia:Manual of Style]].
 +
</nowiki></pre>
 +
 +
|- id="link-to-section" valign="top"
 +
|
 +
This page as been adapted from Wikipedia.
 +
 +
 +
 +
 +
[[Wikipedia:Manual of Style#Italics]] is a link to a section within another page.
 +
 +
[[#Links and URLs]] is a link to another section on the current page.
 +
 +
[[Wikipedia:Manual of Style#Italics|Italics]] is a piped link to a section within another page.
 +
 +
* The part after the number sign (#) must match a section heading on the page. Matches must be exact in terms of spelling, case, and punctuation.  Links to non-existent sections are not broken; they are treated as links to the top of the page.
 +
* Include "| link title" to create a stylish (piped) link title.
 +
 +
|
 +
<pre><nowiki>
 +
[[Wikipedia:Manual of Style#Italics]]
 +
is a link to a section within another page.
 +
 +
[[#Links and URLs]] is a link
 +
to another section on the
 +
current page.
 +
 +
[[Wikipedia:Manual of Style#Italics|Italics]]
 +
is a piped link to a section within
 +
another page.</nowiki></pre>
 +
|- valign="top"
 +
|
 +
 +
 +
[[Help: Categories]]

Revision as of 17:41, 25 July 2008

Links and URLs

What it looks like What you type

London has public transport.

  • A link to another Wiki article.
  • Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).
  • Thus the link above is to the URL en.wikipedia.org/wiki/Public_transport, which is the Wikipedia article with the name "Public transport". See also Wikipedia:Canonicalization.
London has [[public transport]].

San Francisco also has public transportation.

  • Same target, different name.
  • The target ("piped") text must be placed first, then the text that will be displayed second.
San Francisco also has
[[public transport|
public transportation]].

San Francisco also has public transportation.

Examples include buses, taxicabs, and streetcars.

  • Endings are blended into the link.
  • Preferred style is to use this instead of a piped link, if possible.
  • Blending can be suppressed by using <nowiki></nowiki> tags, which may be desirable in some instances. Example: a microsecond.
San Francisco also has
[[public transport]]ation.

Examples include [[bus]]es,
 [[taxicab]]s, and [[streetcar]]s.

a [[micro]]<nowiki>second
</nowiki>

See the Wikipedia:Manual of Style.

See the 
[[Wikipedia:Manual of Style]].


Help: Categories