Kviečiu išmąstyti ir puoselėti bendrystę ugdytis, bręsti, gyventi amžinai jau čia ir dabar. Pavaizdavimai? E6E6FF Asmeniškai? BA9696 Darbai FFFFC0 Išsiaiškinimai D8F1D8 Užrašai EEEEEE Kitų mintys? ECD9EC Dievas man? FFECC0 Mieli dalyviai! Visa mano kūryba ir kartu visi šie puslapiai yra visuomenės turtas, kuriuo visi kviečiami laisvai naudotis, dalintis, visaip perkurti. - Andrius |
authors (basic)
A key feature of wiki-based systems is the ease of creating hyper links (or short links) in the text of a document. PmWiki provides multiple mechanisms for creating such links. Links to other pages in the wikiTo create a link to another page, simply enclose the name of the page inside double square brackets, as in PmWiki creates a link by using the text inside the double brackets. It does this by removing spaces between words, and automatically capitalizing the first letter of each word following spaces or other punctuation (like ~). Thus Some PmWiki sites (default not) will recognize words written in CamelCase, a WikiWord, automatically as a link to a page of the same name. With different link textThere are three ways to get a different link text:
On top of above ways, a suffix can be added to the end of a link, which becomes part of the link text but not of the target page name.
Links to nonexistent pagesLinks to nonexistent pages? are displayed specially, to invite others to create the page. See Creating new pages to learn more. Links to pages in other wiki groupsLinks as written above are links between pages of the same group. To create a link to a page in another group, add the name of that other group and a dot or slash as prefix to the page name. For example, links to
To link to the "default home page" of a group, the name of the page can be omitted:
See Wiki Group to learn more about PmWiki groups. Link shortcuts
Links to specific locations within a page -- "anchors"To define a location within a page to which you may jump directly, use the markup
For example, here's a link to the Intermaps section, below. Notes:
Links to actionsTo link to a specific action for the current page use Examples:
Links outside the wikiLinks to external sites (URLs)Links to external sites simply begin with a prefix such as 'http:', 'ftp:', etc. Thus It is possible to set a "tooltip title" of the external link by adding it in quotes after the address:
If the external link includes (parentheses), escape these using %28 for "(" and %29 for ")" :
Links to intranet (local) filesYou can link to a file system by including the prefix Link characteristicsLinks as ReferencesLinks may also be specified as References, so the target appears as an anonymous numeric reference rather than a textual reference. The following markup is provided to produce sequential reference numbering within a PmWiki page: Formatting the link as: Subsequent occurrence of the reference link format on the same page will be incremented automatically as per the following example: Entering IntermapsInter Map links are also supported (see Inter Map). In particular, the Links that open a new browser windowTo have a link open in another window, use
You can also specify that links should open in a new window via the
Links that are not followed by robotsPrefix a link with %rel=nofollow% to advise robots and link checkers not to follow it. Links and CSS ClassesPmWiki automatically gives classes to several types of links. Among other things, this enables you to format each type differently. Note: This may be an incomplete list.
NotesNote: The default behavior of "+" above can be overridden to display the spaced title, rather than simply the title by adding the following to config.php: ## [[target |+]] title links Markup('[[|+', '<[[|', "/(?>\\[\\[([^|\\]]+))\\|\\s*\\+\\s*]]/e", "Keep(MakeLink(\$pagename, PSS('$1'), PageVar(MakePageName(\$pagename,PSS('$1')), '\$Titlespaced') ),'L')"); How do I create a link that will open as a new window? Use the
How do I create a link that will open a new window, and configure that new window? This requires javascript. See Cookbook:PopupWindow. How do I place a mailing address in a page? Use the
The markup See also Cookbook:DeObMail for information on protecting email addresses from spammers. How can I enable links to other protocols, such as nntp:, ssh:, xmpp:, etc? How do I make a WikiWord link to an external page instead of a WikiPage? Use link markup. There are two formats: [[http://example.com/ | WikiWord]] [[WikiWord -> http://example.com/]] How do I find all of the pages that link to another page (i.e., backlinks)? In the wiki search form, use Use the (:pagelist link=SomePage list=all:) -- show all links to SomePage (:pagelist link={$FullName} list=all:) -- show all links to the current page What link schemes does PmWiki support? How do I open external links in a new window or mark them with an icon? How can I use an image as a link? Use [[Page| Attach:image.jpg ]] or [[ http://site | http://site/image.jpg ]] See Images#links This page may have a more recent version on pmwiki.org: PmWiki:Links, and a talk page: PmWiki:Links-Talk. |
LinksNaujausi pakeitimai |
Puslapis paskutinį kartą pakeistas 2010 balandžio 12 d., 14:22
|