01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Of course, you can also link to pages outside of <strong>the</strong> TWiki. The following<br />

Internet services are automatically recognized and linked accordingly:<br />

http://, https://, ftp://, gopher://,<br />

news://, file://, telnet://, mailto://.<br />

If you do not like CamelCase, but prefer notation using brackets,<br />

you can also use this method to produce links: The link [[History<br />

of humankind]] will still generate a page with a<br />

CamelCase name: HistoryOfHumankind. The advantage to notation<br />

with brackets is that you can separate <strong>the</strong> link text from <strong>the</strong> link reference;<br />

i.e. while, in <strong>the</strong> case of [[Main.HistoryOf Humankind]],<br />

you could have this complicated phrase appear in <strong>the</strong><br />

middle of your article without <strong>the</strong> brackets, if you use [[My-<br />

Web.HistoryOfHumankind] [history of humankind]],<br />

your link, appearing as “history of humankind,” can fit<br />

better into <strong>the</strong> flow of <strong>the</strong> text. In <strong>the</strong> case of external links, you do<br />

not even have to separate <strong>the</strong> link reference and link text with brackets.<br />

A simple [[mailto://tim@troglodyte.org Tim]]<br />

will suffice to only have “Tim” displayed on <strong>the</strong> page.<br />

Note: In order to be able to display square brackets, which normally<br />

constitute a link, you have to mask <strong>the</strong>m with an exclamation point<br />

before <strong>the</strong> phrase.<br />

For very long pages, it is a good idea to set jump labels at various<br />

points on <strong>the</strong> page containing internal page links. To do this, define<br />

an anchor by placing <strong>the</strong> anchor name after a hash mark, e.g. #Summary<br />

at <strong>the</strong> beginning of <strong>the</strong> line to which you want <strong>the</strong> browser to<br />

jump. As you can imagine, <strong>the</strong> anchor name should also be a Wiki-<br />

Word. To <strong>the</strong>n set a link to a certain jump label on a page, just add<br />

<strong>the</strong> anchor name with <strong>the</strong> hash to <strong>the</strong> page name:<br />

[[HistoryOfHumankind#Summary]]<br />

If you link to a jump label on <strong>the</strong> current page, you do not need to<br />

add <strong>the</strong> page name.<br />

12.4<br />

Integrating Images<br />

You have already indirectly seen how to integrate images in <strong>the</strong> text<br />

of your article in Chapter 11.2.3. However, let us review it once<br />

again briefly: To integrate an image, you first have to attach it to<br />

your page using <strong>the</strong> Attach function. In <strong>the</strong> options on <strong>the</strong> dialogue<br />

External links<br />

Alternative with<br />

brackets<br />

Jump labels<br />

12.4 Integrating Images �<br />

�<br />

�<br />

187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!