Difference between revisions of "Help:Links"

From OutHistory
Jump to navigationJump to search
Line 20: Line 20:
 
[[Lesbians in the Twentieth Century | Lesbians]]
 
[[Lesbians in the Twentieth Century | Lesbians]]
  
 
 
{| 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]]
 
[[Help: Categories]]

Revision as of 17:53, 25 July 2008

This page has been adapted from Wikipedia.

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


Which will look like this on your web page:

Lesbians


Help: Categories