Linking


Back to Socialtext Documentation.

Many different kinds of links can be made in Advanced mode as well as with WikiWidgets in Simple mode.

Page link. While editing, link to another given page, say the page titled "There", simply by selecting it and clicking on base/images/wikiwyg_icons/link.gif in the toolbar. You can also enclose the name of the page in brackets. For example, [There] will make a link There. Link names are not case sensitive, so you can also link to same page with there.

Dashed links. Links to pages that exist will have a solid underline. However, links to pages that do not already exist will have an dashed underline. Just click on the link and write the new page! This makes it easy to create new pages.

Link text. Sometimes you don't want the text of the link to be the same as the name of the page. You can specify the link text by writing "link text" [Page Name]. For instance, "how to link" [Linking] : how to link. Note: links with modified link text can only be changed from the Advanced editing mode.

Links to other workspaces. You can link to a page in another workspace simply by writing {link: different-workspace [Page]}. For instance, to link to the Tutorials page in the Customer Exchange, write
{link: exchange [Tutorials]}
You can also do this in Simple mode with WikiWidgets.

Links to other workspaces can only be changed from the Advanced editing mode.

Links to sections inside pages. What if you want to create a link to a particular section of a page? You can link directly to any section heading on a page by using the text of the heading: {link: Section Heading}. You can also do this in Simple mode with WikiWidgets.

You can link to a heading on a different page in a different workspace by writing: {link: different-workspace [Page] Section Heading}. For instance, to link to the following heading

{link: [Linking] Link here} Linking (Link here) (this workspace)
{link: exchange [Linking] Link here} Linking (Link here) (on Customer Exchange)

Naming a section on a page. You can create a name for a section by typing {section: section-name} in the page. The name won't be visible when you view the page, but you can use the name to make a link directly to that section. For instance, the section {section: Naming a section} is at the bottom of this page. You can link to it via {link: [Linking] Naming a section} and get this link: Linking (Naming a section) You can also do this in Simple mode with WikiWidgets.

External links. To link to another website, just write its address; e.g. http://www.socialtext.com

External link text. If you want to refer to an external website with particular text for the link, you can write:
"link text" <http://www.socialtext.com> and get this link: link text

The invisible section labelled "Naming a section" is here

Back to Socialtext Documentation.