Difference between revisions of "Help:Links"

From OutHistory
Jump to navigationJump to search
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
===[[Help:Links and URLs|Links and URLs]]===
+
This page has been adapted from Wikipedia.
{| 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.
+
== Internal Links ==
* 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.
+
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:
* 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>[[Lesbians in the Twentieth Century]]</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>
 
See the
 
[[Wikipedia:Manual of Style]].
 
</nowiki></pre>
 
  
|- id="link-to-section" valign="top"
+
[[Lesbians in the Twentieth Century]]
|
 
This page as been adapted from Wikipedia.
 
  
  
 +
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:
  
 +
<nowiki>[[Lesbians in the Twentieth Century | Lesbians]]</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.
+
This is how it will appear on your web page:
  
[[Wikipedia:Manual of Style#Italics|Italics]] is a piped link to a section within another page.
+
[[Lesbians in the Twentieth Century | Lesbians]]
  
* 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.
 
  
|
+
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:
<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]]  
+
<nowiki>[[Lesbians and Cultural Issues in the 20th Century#Lesbians and Performance|Lesbians and Performance]]</nowiki>
is a piped link to a section within
 
another page.</nowiki></pre>
 
|- valign="top"
 
|
 
  
  
[[Help: Categories]]
+
This is how it will appear on your web page:
 +
 
 +
[[Lesbians and Cultural Issues in the 20th Century#Lesbians and Performance|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:
 +
 
 +
<nowiki>http://www.actuporalhistory.org/</nowiki>
 +
 
 +
 
 +
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:
 +
 
 +
<nowiki>[http://www.actuporalhistory.org/  ACT UP]</nowiki>
 +
 
 +
 
 +
This is how it will appear on your web page:
 +
 
 +
[http://www.actuporalhistory.org/  ACT UP]
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
[[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