Difference between revisions of "Help:Links"

From OutHistory
Jump to navigationJump to search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This page has been adapted from Wikipedia.
 
This page has been adapted from Wikipedia.
 +
 +
 +
== Internal Links ==
 +
  
 
To make a link to another OutHistory.org page in edit mode, write the name of the page you want to link to within double brackets. For example:
 
To make a link to another OutHistory.org page in edit mode, write the name of the page you want to link to within double brackets. For example:
Line 16: Line 20:
  
  
Which will look like this on your web page:
+
This is how it will appear on your web page:
  
 
[[Lesbians in the Twentieth Century | Lesbians]]
 
[[Lesbians in the Twentieth Century | Lesbians]]
  
 +
 +
It is even possible to link to a specific section of an article. To do so, separate the title of the exhibit from the title of the section you want to link to with a number sign #, like this:
 +
 +
 +
<nowiki>[[Lesbians and Cultural Issues in the 20th Century#Lesbians and Performance|Lesbians and Performance]]</nowiki>
  
  
{| border="1" cellpadding="2" cellspacing="0"
+
This is how it will appear on your web page:
|- valign="top"
 
! What it looks like
 
! What you type
 
|- id="emph" valign="top"
 
|
 
London has [[public transport]].
 
  
* A link to another Wiki article.
+
[[Lesbians and Cultural Issues in the 20th Century#Lesbians and Performance|Lesbians and Performance]]
* 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,
+
== External Links ==
and [[streetcar]]s.
 
  
* Endings are blended into the link.
+
If you want to create a link to an external website you must type the entire URL on your web page:
* 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,
+
  <nowiki>http://www.actuporalhistory.org/</nowiki>
  [[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]].
+
This is how it will appear on your web page:
|
+
 
<pre><nowiki>
+
http://www.actuporalhistory.org/
See the
+
 
[[Wikipedia:Manual of Style]].
+
 
</nowiki></pre>
+
If you don't want to display the URL on your web page, simply write the word you want to serve as the link after the URL and encase both within single brackets like this:
 +
 
 +
<nowiki>[http://www.actuporalhistory.org/  ACT UP]</nowiki>
 +
 
 +
 
 +
This is how it will appear on your web page:
  
|- id="link-to-section" valign="top"
+
[http://www.actuporalhistory.org/  ACT UP]
|
 
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]]
+
[[Category: Help Pages]]

Latest revision as of 18:29, 2 August 2008

This page has been adapted from Wikipedia.


Internal Links

To make a link to another OutHistory.org page in edit mode, write the name of the page you want to link to within double brackets. For example:

[[Lesbians in the Twentieth Century]]


This is how it will appear on your web page:

Lesbians in the Twentieth Century


If you want don't want to write the name of the OutHistory page in your article, simply add your new title preceded by a pipe | after the link but within the brackets like this:

[[Lesbians in the Twentieth Century | Lesbians]]


This is how it will appear on your web page:

Lesbians


It is even possible to link to a specific section of an article. To do so, separate the title of the exhibit from the title of the section you want to link to with a number sign #, like this:


[[Lesbians and Cultural Issues in the 20th Century#Lesbians and Performance|Lesbians and Performance]]


This is how it will appear on your web page:

Lesbians and Performance


External Links

If you want to create a link to an external website you must type the entire URL on your web page:

http://www.actuporalhistory.org/


This is how it will appear on your web page:

http://www.actuporalhistory.org/


If you don't want to display the URL on your web page, simply write the word you want to serve as the link after the URL and encase both within single brackets like this:

[http://www.actuporalhistory.org/  ACT UP]


This is how it will appear on your web page:

ACT UP