DocLinks

Introduction [edit section]

One of the strengths of TBWiki is the ability to add links to other pages or external sites very easily. Also, it is easy to refer to downloadable content and to place images inline on a page as well.

Link Syntax [edit section]

Plain links [edit section]

Here is the syntax for creating links:

A URL which is placed "in the open" on a page will be converted into a link to the referenced site. The following URL types are recognized:

Here's an example:

Most other links are created using double-brackets.

Links with cover text [edit section]

If you want to display different text for a link, in place of the URL, place the reference in double-brackets, followed by a vertical bar, then the cover text.

Here's an example:

Links to pages on this site [edit section]

To reference a page on this site, just put the name of the page (with or without spaces) inside double brackets:

Links to page sections or anchors [edit section]

Every header on a page creates a section (in HTML terms, an anchor) You can refer to a section or anchor on the same page using '#<section name>' or '#<anchor name'

Define an anchor [edit section]

You can create an named anchor (called 'foo') on a page with {{HTML(<a name="foo"></a>)}}

Link to an anchor [edit section]

Links to non-html files on this site [edit section]

Inline images [edit section]

See DocImages for different attributes you can use for to control image output (e.g. size, alternate text).

Examples [edit section]

See the TestLinks page in split mode

Anchor 'foo' [edit section]

Here is the actual definition of anchor 'foo'