head 1.49; access; symbols; locks; strict; comment @# @; 1.49 date 2006.04.01.05.55.17; author TWikiContributor; state Exp; branches; next 1.48; 1.48 date 2006.02.01.12.01.20; author TWikiContributor; state Exp; branches; next 1.47; 1.47 date 2004.08.01.10.51.40; author PeterThoeny; state Exp; branches; next 1.46; 1.46 date 2004.07.24.08.21.33; author PeterThoeny; state Exp; branches; next 1.45; 1.45 date 2004.07.11.07.46.26; author PeterThoeny; state Exp; branches; next 1.44; 1.44 date 2004.04.25.06.29.37; author PeterThoeny; state Exp; branches; next 1.43; 1.43 date 2004.03.30.05.39.47; author PeterThoeny; state Exp; branches; next 1.42; 1.42 date 2004.03.17.07.03.50; author PeterThoeny; state Exp; branches; next 1.41; 1.41 date 2003.12.16.08.41.03; author PeterThoeny; state Exp; branches; next 1.40; 1.40 date 2003.08.01.05.12.16; author PeterThoeny; state Exp; branches; next 1.39; 1.39 date 2003.07.26.21.37.04; author PeterThoeny; state Exp; branches; next 1.38; 1.38 date 2003.07.16.23.57.00; author PeterThoeny; state Exp; branches; next 1.37; 1.37 date 2003.02.01.20.47.48; author PeterThoeny; state Exp; branches; next 1.36; 1.36 date 2003.02.01.11.12.00; author PeterThoeny; state Exp; branches; next 1.35; 1.35 date 2002.10.03.01.40.05; author PeterThoeny; state Exp; branches; next 1.34; 1.34 date 2002.06.05.01.27.00; author PeterThoeny; state Exp; branches; next 1.33; 1.33 date 2002.05.02.21.41.50; author PeterThoeny; state Exp; branches; next 1.32; 1.32 date 2002.04.05.13.36.49; author RichardDonkin; state Exp; branches; next 1.31; 1.31 date 2002.03.26.08.26.34; author RichardDonkin; state Exp; branches; next 1.30; 1.30 date 2001.12.03.04.11.51; author MikeMannix; state Exp; branches; next 1.29; 1.29 date 2001.12.02.08.07.19; author MikeMannix; state Exp; branches; next 1.28; 1.28 date 2001.10.02.07.29.52; author MikeMannix; state Exp; branches; next 1.27; 1.27 date 2001.09.18.00.12.46; author MikeMannix; state Exp; branches; next 1.26; 1.26 date 2001.09.07.04.57.56; author MikeMannix; state Exp; branches; next 1.25; 1.25 date 2001.09.06.08.50.20; author MikeMannix; state Exp; branches; next 1.24; 1.24 date 2001.09.06.07.49.13; author MikeMannix; state Exp; branches; next 1.23; 1.23 date 2001.09.06.06.32.14; author MikeMannix; state Exp; branches; next 1.22; 1.22 date 2001.08.30.17.21.03; author MikeMannix; state Exp; branches; next 1.21; 1.21 date 2001.08.30.10.06.53; author MikeMannix; state Exp; branches; next 1.20; 1.20 date 2001.08.11.07.41.20; author PeterThoeny; state Exp; branches; next 1.19; 1.19 date 2001.07.14.08.48.15; author PeterThoeny; state Exp; branches; next 1.18; 1.18 date 2001.06.28.22.15.10; author PeterThoeny; state Exp; branches; next 1.17; 1.17 date 2001.04.05.07.31.04; author PeterThoeny; state Exp; branches; next 1.16; 1.16 date 2001.03.16.00.07.53; author PeterThoeny; state Exp; branches; next 1.15; 1.15 date 2001.03.02.01.23.27; author PeterThoeny; state Exp; branches; next 1.14; 1.14 date 2001.02.25.03.14.21; author PeterThoeny; state Exp; branches; next 1.13; 1.13 date 2001.02.10.10.09.44; author PeterThoeny; state Exp; branches; next 1.12; 1.12 date 2001.02.01.01.34.06; author PeterThoeny; state Exp; branches; next 1.11; 1.11 date 2001.01.21.08.59.42; author PeterThoeny; state Exp; branches; next 1.10; 1.10 date 2000.12.12.19.01.00; author PeterThoeny; state Exp; branches; next 1.9; 1.9 date 2000.12.10.22.26.47; author PeterThoeny; state Exp; branches; next 1.8; 1.8 date 2000.11.11.06.51.06; author PeterThoeny; state Exp; branches; next 1.7; 1.7 date 2000.11.01.23.58.30; author PeterThoeny; state Exp; branches; next 1.6; 1.6 date 2000.09.19.07.37.29; author PeterThoeny; state Exp; branches; next 1.5; 1.5 date 2000.08.18.06.50.00; author PeterThoeny; state Exp; branches; next 1.4; 1.4 date 2000.02.28.08.45.06; author PeterThoeny; state Exp; branches; next 1.3; 1.3 date 99.08.09.06.25.08; author PeterThoeny; state Exp; branches; next 1.2; 1.2 date 99.06.23.16.09.34; author thoeny; state Exp; branches; next 1.1; 1.1 date 99.06.13.07.38.53; author thoeny; state Exp; branches; next ; desc @none @ 1.49 log @buildrelease @ text @%META:TOPICINFO{author="TWikiContributor" date="1141756708" format="1.1" version="49"}% %TOC{depth="4"}% %STARTINCLUDE% ---# TWiki Text Formatting Working in TWiki is as easy as typing in text. You don't need to know HTML, though you can use it if you prefer. Links to topics are created automatically when you enter WikiWords. And TWiki shorthand gives you all the power of HTML with a simple coding system that takes no time to learn. It's all laid out below. #TWikiShorthand ---++ TWiki Editing Shorthand %INCLUDE{"TWikiEditingShorthand"}% ---++ Using HTML %INCLUDE{"UsingHTML"}% ---+++ Script tags You can use HTML =<script>= tags for your TWiki applications. However note that your TWiki administrator can disable =<script>= in topics, and may have chosen to do so for security considerations. TWiki markup and TWikiVariables are *not* expanded inside script tags. ---++ Hyperlinks Being able to create links without any special formatting is a core TWiki feature, made possible with WikiWords and inline URLs. ---+++ Internal Links * GoodStyle is a WikiWord that links to the GoodStyle topic located in the current web. * NotExistingYet is a topic waiting to be written. Create the topic by clicking on the *?*. (Try clicking, but then, *Cancel* - creating the topic would wreck this example!) ---+++ External Links * =http://...=, =https://...=, =ftp://...=, =gopher://...=, =news://...=, =file://...=, =telnet://...= and =mailto:...@@...= are linked automatically. * E-mail addresses like =name@@domain.com= are linked automatically. * =[[Square bracket rules]]= let you easily create [[#SquareBrackets][non-WikiWord links]]. * You can also write =[[http://yahoo.com Yahoo home page]]= as an easier way of doing external links with descriptive text for the link, such as [[http://yahoo.com/ Yahoo home page]]. ---++ TWiki Variables %INCLUDE{"TWikiVariablesQuickStart"}% ---++ TWikiPlugin Formatting Extensions Plugins can extend the functionality of TWiki into many other areas. There are a huge number of TWiki plugins available from the [[http://twiki.org/cgi-bin/view/Plugins][Plugins]] web on TWiki.org. Currently enabled plugins on this TWiki installation, as listed by =%PLUGINDESCRIPTIONS%=: %PLUGINDESCRIPTIONS% Check on current Plugin status and settings for this site in TWikiPreferences. ---++ Common Editing Errors TWiki formatting rules are fairly simple to use and quick to type. However, there are some things to watch out for, taken from the TextFormattingFAQ: * *Q:* Text enclosed in angle brackets like =<filename>= is not displayed. How can I show it as it is? * *A:* The ='<'= and ='>'= characters have a special meaning in HTML, they define HTML tags. You need to escape them, so write ='&lt;'= instead of ='<'=, and ='&gt;'= instead of ='>'=.
Example: Type ='prog &lt;filename&gt;'= to get ='prog <filename>'=. * *Q:* Why is the ='&'= character sometimes not displayed? * *A:* The ='&'= character has a special meaning in HTML, it starts a so called character entity, i.e. ='&copy;'= is the =©= copyright character. You need to escape ='&'= to see it as it is, so write ='&amp;'= instead of ='&'=.
Example: Type ='This &amp; that'= to get ='This & that'=. @ 1.48 log @buildrelease @ text @d1 1 a1 1 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="48"}% d11 1 a11 425 %TABLE{}%
Formatting Command: You write: You get:
*Paragraphs:* %BR% Blank lines will create new paragraphs. 1st paragraph 2nd paragraph 1st paragraph 2nd paragraph
*Headings:* %BR% Three or more dashes at the beginning of a line, followed by plus signs and the heading text. One plus creates a top level heading, two pluses a second level heading, etc. The maximum heading depth is 6. You can create a table of contents with the [[TWikiVariables#VarTOC][%TOC%]] variable. If you want to *exclude* a heading from the TOC, put =!!= after the =---+=. %X% Empty headings are allowed, but won't appear in the table of contents. ---++ Sushi ---+++ Maguro ---+++!! Not in TOC

Sushi

Maguro

Not in TOC

*Bold Text:* %BR% Words get shown in *bold* by enclosing them in =*= asterisks. *Bold* *Bold*
*Italic Text:* %BR% Words get shown in _italic_ by enclosing them in =_= underscores. _Italic_ _Italic_
*Bold Italic:* %BR% Words get shown in __bold italic__ by enclosing them in =__= double-underscores. __Bold italic__ __Bold italic__
*Fixed Font:* %BR% Words get shown in =fixed font= by enclosing them in === equal signs. =Fixed font= =Fixed font=
*Bold Fixed Font:* %BR% Words get shown in ==bold fixed font== by enclosing them in ==== double equal signs. ==Bold fixed== ==Bold fixed==
%T% You can follow the closing bold, italic, or other (=* _ __ = ===) indicator with normal punctuation, such as commas and full stops. %X% Make sure there is no space between the text and the indicators. _This works_, _this does not _ _This works_,%BR% _this does not _
*Verbatim (Literal) Text:* %BR% Surround code excerpts and other formatted text with =<verbatim>= and =</verbatim>= tags.%BR% %T% =verbatim= tags disable HTML code. Use =<pre>= and =</pre>= tags instead if you want the HTML code within the tags to be interpreted.%BR% __%X% NOTE:__ Preferences variables (* Set NAME = value) are set within verbatim tags. class CatAnimal { void purr() { } } class CatAnimal { void purr() { } }
*Separator (Horizontal Rule):* %BR% Three or more three dashes at the beginning of a line.. ------- -------
*Bulleted List:* %BR% Multiple of three spaces, an asterisk, and another space.%BR% %H% For all the list types, you can break a list item over several lines by indenting lines after the first one by *at least 3 spaces*. * level 1 * level 2 * back on 1 * A bullet broken over three lines * last bullet * level 1 * level 2 * back on 1 * A bullet broken over three lines * last bullet
*Numbered List:* %BR% Multiple of three spaces, a type character, a dot, and another space. Several types are available besides a number: | *Type* | *Generated Style* | *Sample Sequence* | | 1. | Arabic numerals | 1, 2, 3, 4... | | A. | Uppercase letters | A, B, C, D... | | a. | Lowercase letters | a, b, c, d... | | I. | Uppercase Roman Numerals | I, II, III, IV... | | i. | Lowercase Roman Numerals | i, ii, iii, iv... | 1. Sushi 1. Dim Sum 1. Fondue A. Sushi A. Dim Sum A. Fondue i. Sushi i. Dim Sum i. Fondue 1. Sushi 1. Dim Sum 1. Fondue A. Sushi A. Dim Sum A. Fondue i. Sushi i. Dim Sum i. Fondue
*Definition List:* %BR% Three spaces, a dollar sign, the term, a colon, a space, followed by the definition. $ Sushi: Japan $ Dim Sum: S.F. $ Sushi: Japan $ Dim Sum: S.F.
*Table:* %BR% Each row of the table is a line containing of one or more cells. Each cell starts and ends with a vertical bar '|'. Any spaces at the beginning of a line are ignored. * =| *bold* |= header cell with text in asterisks * =| center-aligned |= cell with at least two, and equal number of spaces on either side * =| right-aligned |= cell with more spaces on the left * =| 2 colspan ||= and multi-span columns with multiple |'s right next to each other * =|^|= cell with caret indicating follow-up row of multi-span rows * You can split rows over multiple lines by putting a backslash ='\'= at the end of each line * Contents of table cells wrap automatically as determined by the browser %T% The %TWIKIWEB%.TablePlugin provides the =|^|= multiple-span row functionality and additional rendering features | *L* | *C* | *R* | | A2 | B2 | C2 | | A3 | B3 | C3 | | multi span ||| | A5-7 | 5 | 5 | |^| six | six | |^| seven | seven | | split\ | over\ | 3 lines | | A9 | B9 | C9 | | *L* | *C* | *R* | | A2 | B2 | C2 | | A3 | B3 | C3 | | multi span ||| | A5-7 | 5 | 5 | |^| six | six | |^| seven | seven | | split\ | over\ | 3 lines | | A9 | B9 | C9 |
*WikiWord Links:* %BR% CapitalizedWordsStuckTogether (or WikiWords) will produce a link automatically if preceded by whitespace or parenthesis. %BR% %T% If you want to link to a topic in a different web write =Otherweb.TopicName=. %BR% %H% The link label excludes the name of the web, e.g. only the topic name is shown. As an exception, the name of the web is shown for the %HOMETOPIC% topic. It's generally a good idea to use the TWikiVariables %TWIKIWEB% and %MAINWEB% instead of TWiki and Main. WebStatistics Sandbox.WebNotify Sandbox.WebHome WebStatistics Sandbox.WebNotify Sandbox.%HOMETOPIC%
*Anchors:* %BR% You can define a reference inside a TWiki topic (called an anchor name) and link to that. To __define__ an anchor write =#AnchorName= at the beginning of a line. The anchor name must be a WikiWord. To __link to__ an anchor name use the =[[MyTopic#MyAnchor]]= syntax. You can omit the topic name if you want to link within the same topic. [[WikiWord#NotThere]] [[#MyAnchor][Jump]] #MyAnchor To here [[WikiWord#NotThere]] [[#MyAnchor][Jump]] #MyAnchor To here
#HeRe *Forced Links:* %BR% You can create a forced internal link by enclosing words in double square brackets. %BR% Text within the brackets may contain optional spaces; the topic name is formed by capitalizing the initial letter and by removing the spaces; for example, =[[text formatting FAQ]]= links to topic TextFormattingFAQ. You can also refer to a different web and use anchors. %BR% %T% To "escape" double square brackets that would otherwise make a link, prefix the leading left square bracket with an exclamation point. [[wiki syntax]] [[Main.TWiki users]] escaped: ![[wiki syntax]] [[wiki syntax]] [[%MAINWEB%.TWiki users]] escaped: ![[wiki syntax]]
*Specific Links:* %BR% You can create a link where you specify the link text and the URL separately using nested square brackets =[[reference][text]]=. Internal link references (e.g. WikiSyntax) and URLs (e.g. http://TWiki.org/) are both supported. The rules described under __Forced Links__ apply for internal link references. %BR% %T% Anchor names can be added as well, to create a link to a specific place in a topic. [[WikiSyntax][wiki syntax]] [[http://gnu.org][GNU]] [[WikiSyntax][wiki syntax]] [[http://gnu.org][GNU]]
*Prevent a Link:* %BR% Prevent a WikiWord from being linked by prepending it with an exclamation point. !SunOS !SunOS
*Disable Links:* %BR% You can disable automatic linking of WikiWords by surrounding text with =<noautolink>= and =</noautolink>= tags.%BR% %H% It is possible to turn off all auto-linking with a NOAUTOLINK preferences setting. RedHat & SuSE RedHat & SuSE
*Mailto Links:* %BR% E-mail addresses are linked automatically. To create e-mail links that have more descriptive link text, specify subject lines or message bodies, or omit the e-mail address, you can write =[[mailto:user@@domain][descriptive text]]=. a@@b.com [[mailto:a@@b.com]\ [Mail]] [[mailto:?subject=\ Hi][Hi]] a@@b.com [[mailto:a@@b.com]\ [Mail]] [[mailto:?subject=Hi][Hi]]
d15 1 a15 15 You can use just about any HTML tag without a problem. You can add HTML if there is no TWiki equivalent, for example, write =<strike>deleted text</strike>= to get deleted text. %X% There are a few usability and technical considerations to keep in mind: * On collaboration pages, it's better *not* to use HTML, but to use [[#TWikiShorthand][TWiki shorthand]] instead - this keeps the text uncluttered and easy to edit. * If you use HTML use [[http://www.w3.org/TR/xhtml1/][XHTML 1.0 Transitional]] syntax. * %X% Script tags may be filtered out, at the discretion of your TWiki administrator. Recommendations when pasting HTML from other sources: * Copy only text between =<body>= and =</body>= tags. * Remove all empty lines. TWiki inserts =<p />= paragraph tags on empty lines, which causes problems if done between HTML tags that do not allow paragraph tags, like for example between table tags. * Remove leading spaces. TWiki might interpret some text as lists. * Do not span a tag over more than one line. TWiki requires that the opening and closing angle brackets - ==<...>== - of an HTML tag are on the same line, or the tag will be broken. * In your HTML editing program, save without hard line breaks on text wrap. %T% TWiki converts shorthand notation to HTML for display. To copy a fully marked-up page, simply view the source in your browser and save the contents. If you need to save HTML frequently, you may want to check out TWiki:Plugins/PublishAddOn. d27 1 a27 1 * GoodStyle is a WikiWord that links to the GoodStyle topic located in the current web. d29 1 a29 1 * NotExistingYet is a topic waiting to be written. Create the topic by clicking on the *?*. (Try clicking, but then, *Cancel* - creating the topic would wreck this example!) d33 2 a34 2 * =http://...=, =https://...=, =ftp://...=, =gopher://...=, =news://...=, =file://...=, =telnet://...= and =mailto:...@@...= are linked automatically. d36 1 a36 1 * E-mail addresses like =name@@domain.com= are linked automatically. d38 2 a39 2 * =[[Square bracket rules]]= let you easily create [[#SquareBrackets][non-WikiWord links]]. * You can also write =[[http://yahoo.com Yahoo home page]]= as an easier way of doing external links with descriptive text for the link, such as [[http://yahoo.com/ Yahoo home page]]. d43 1 a43 22 TWiki Variables are names that are enclosed in percent signs =%= that are expanded on the fly. * =%TOC%= : Automatically generates a table of contents based on headings in a topic - see the top of this page for an example. * =%WEB%= : The current web, is %WEB%. * =%TOPIC%= : The current topic name, is %TOPIC%. * =%ATTACHURL%= : The attachment URL of the current topic. Example usage: If you attach a file to a topic you can refer to it as =%ATTACHURL%/image.gif= to show the URL of the file or the image in your text. * =%INCLUDE{"SomeTopic"}%= : Server side include, includes another topic. The current web is the default web. Example: =%INCLUDE{"%TWIKIWEB%.SiteMap"}%= * =%SEARCH{"sushi"}%= : Inline search showing the search result embedded in a topic. FormattedSearch gives you control over formatting, useful for creating web-based applications. * TWikiPreferences defines some site-wide variables. Among others: * *Line break:* Write =%BR%= to start a new line. * *Colored text:* Write: =%RED% Red %ENDCOLOR% and %BLUE% blue %ENDCOLOR% colors= to get: %RED% Red %ENDCOLOR% and %BLUE% blue %ENDCOLOR% colors. * *Documentation Graphics:* Write: =%H% Help, %T% Tip, %X% Alert= to get: %H% Help, %T% Tip, %X% Alert. For more info see TWikiDocGraphics. * There are many more variables, see *[[TWikiVariables]]*. * To "escape" a variable, prefix it with an exclamation mark. Write: =!%SOMEVARIABLE%= to get: !%SOMEVARIABLE%. d58 2 a59 8 * *Q:* Text enclosed in angle brackets like =<filename>= is not displayed. How can I show it as it is? * *A:* The ='<'= and ='>'= characters have a special meaning in HTML, they define HTML tags. You need to escape them, so write ='&lt;'= instead of ='<'=, and ='&gt;'= instead of ='>'=.
Example: Type ='prog &lt;filename&gt;'= to get ='prog <filename>'=. * *Q:* Why is the ='&'= character sometimes not displayed? * *A:* The ='&'= character has a special meaning in HTML, it starts a so called character entity, i.e. ='&copy;'= is the =©= copyright character. You need to escape ='&'= to see it as it is, so write ='&amp;'= instead of ='&'=.
Example: Type ='This &amp; that'= to get ='This & that'=. d61 2 @ 1.47 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1091357500" format="1.0" version="1.47"}% d6 1 a6 1 Working in TWiki is as easy as typing in text - *exactly like email*. You don't need to know HTML, though you can use it if you prefer. Links to topics are created automatically when you enter WikiWords. And TWiki shorthand gives you all the power of HTML with a simple coding system that takes no time to learn. It's all laid out below - refer back to this page in a pop-up window from the *Edit* screen. d11 2 a12 1 d14 11 a25 9 *Formatting Command:*
*Example: You write:* *You get:*
d28 2 a29 3
d33 2
a34 3
d40 2 a41 2
d43 1 a43 11 At least three dashes at the beginning of a line, followed by plus signs and the heading text. One plus creates a level 1 heading (most important), two pluses a level 2 heading; the maximum is level 6. __Note:__ A Table of Content can be created automatically with the =%TOC%= variable, see TWikiVariables. Any heading text after =!!= is excluded from the TOC; for example, write =---+!! text= if you do not want to list a header in the TOC.
---++ Sushi

---+++ Maguro

Sushi

d45 13 a57 1

Maguro

d60 2 a61 2
d63 3 a65 4 Words get *bold* by enclosing them in =*= asterisks.
d67 2
a68 3
d72 2 a73 2
d75 3 a77 4 Words get _italic_ by enclosing them in =_= underscores.
d79 2
a80 3
d84 2 a85 2
d87 3 a89 4 Words get __bold italic_ by enclosing them in =_= double-underscores.
d91 2
a92 3
d96 2 a97 2
d100 2 a101 3
d103 2
a104 3
d109 2 a110 2
d113 2 a114 3
d116 2
a117 3
d121 8 a128 6
__Note:__ Make sure there is no space between the text and the bold, italic, or other indicators (=* _ __ = ===).
d130 3
a132 4
_this not _
d134 1 a134 1 _this not _ d137 9 a145 8
*Verbatim Mode:* %BR% Surround code excerpts and other formatted text with =<verbatim>= and =</verbatim>= tags. %BR% __Note:__ Use =<pre>= and =</pre>= tags instead if you want that HTML code is interpreted. %BR% __Note:__ Each tag must be on a line by itself.
<verbatim>
d148 1
a148 1
	 <code here>
d151 3
a153 4
</verbatim>
d163 6 a168 7
*Separator:* %BR% At least three dashes at the beginning of a line.
d170 2
a171 3
d175 7 a181 21
*List Item:* %BR% Three spaces, an asterisk, and another space.
	* bullet item
* bullet item
*Nested List Item:* %BR% Six, nine, ... spaces, an asterisk, and another space.
d184 7
a190 3
d193 5 d200 4 a203 4
*Ordered List:* %BR% Three spaces, a number, a dot, and another space. Several types are available besides a number: d210 2 a211 4
d214 1
d218 1
d222 3
a224 3
d227 1 d231 1 d235 1 d238 2 a239 2
d242 2 a243 3
d246 2
a247 3
d252 2 a253 2
d255 11 a265 12 Any number of lines of text. Each line is one row of the table consisting of one or more cells. Each cell starts and ends with a vertical bar '|'. Any spaces at the beginning of a line are ignored.%BR% __Notes:__ %BB% =| *bold* |= cells are displayed as table headers.%BB% =| center-spaced |= cells are displayed center aligned.%BB% =| right-spaced |= cells are displayed right aligned.%BB% =| 2 colspan ||= cells are displayed as multi-span columns (i.e., a cell with no text spans a column).%BB% =|^|= cells with a caret indicate follow-up rows of multi-span rows (this functionality is provided by TablePlugin).%BB% If a row contains a large amount of text, and you want it to be more readable while editing the table, split the row into multiple text lines by ending each line with a backslash character ='\'=.%BB% Table cells wrap automatically as determined by the browser.
d267 2
a268 2
| A2 |  2  |  2 |
| A3 |  3  |  3 |
d270 1
a270 5
| A4-6 | four | four |
|^| five | five |



d272 7
a278 3
d280 2 a281 2 | A2 | 2 | 2 | | A3 | 3 | 3 | d283 1 a283 2 | A4-6 | four | four | |^| five | five | d285 5 d292 2 a293 2
d295 35 a329 11 CapitalizedWordsStuckTogether (or WikiWords) will produce a link automatically. %BR% __Note:__ In case you want to link to a topic in a different %WIKITOOLNAME% web write =Otherweb.TopicName=. (The link label is the the name of the web in case the is %HOMETOPIC%, else it is the topic name)
WebNotify

%MAINWEB%.TWikiUsers
WebNotify d331 3 a333 1 %MAINWEB%.TWikiUsers d336 3 a338 3
#SquareBrackets d341 6 a346 5 %BR% __Note:__ Text within the brackets may contain optional spaces; the topic name is formed by capitalizing the initial letter and by removing the spaces; for example, =[[text formatting FAQ]]= links to topic TextFormattingFAQ. You can also refer to a different web and use anchors. %BR% __Note:__ To "escape" double square brackets that would otherwise be a correct link, prefix the leading left square brackets with an exclamation point, that is, begin with =![[....=
d349 1
a349 1
[[%MAINWEB%.TWiki users]]
d353 2
a354 3
d363 2 a364 2
d366 6 a371 8 Create a link where you can specify the link text and the link reference separately, using nested square brackets like =[[reference][text]]=. Internal link references (e.g. WikiSyntax) and external link references (e.g. http://TWiki.org/) are supported. %BR% __Note:__ The same __Forced Links__ rules apply for internal link references. %BR% __Note:__ For external link references, you can simply use a space instead of =][= to separate the link URL from the descriptive text. %BR% __Note:__ Anchor names can be added as well, like =[[%HOMETOPIC%#MyAnchor][go home]]= and =[[http://gnu.org/#Action][GNU Action]]=.
[[WikiSyntax][syntax]]
d374 3
a376 6

[[http://xml.org XML]]
[[WikiSyntax][syntax]] a378 2 [[http://xml.org XML]] d381 2 a382 24
*Anchors:* %BR% You can define a link reference inside a %WIKITOOLNAME% topic (called an anchor name) and link to that. To __define__ an anchor write =#AnchorName= at the beginning of a line. The anchor name must be a WikiWord. To __link to__ an anchor name use the =[[MyTopic#MyAnchor]]= syntax. You can omit the topic name if you want to link within the same topic.
[[WikiWord#NotThere]]

[[#MyAnchor][Jump]]

#MyAnchor To here
[[WikiWord#NotThere]] [[#MyAnchor][Jump]] #MyAnchor To here
d385 2 a386 3
d388 2
a389 3
d393 2 a394 2
d396 3 a398 5 You can disable automatic linking of WikiWords by surrounding text with =<noautolink>= and =</noautolink>= tags. %BR% __Note:__ Each tag must be on a line by itself. %BR% __Note:__ This also works for TWiki tables, but only if you add a blank line between the end of the table and the closing =</noautolink>= tag (known issue of the TablePlugin). d405 1 a405 2 d412 19 a430 14
*Mailto: Links:* %BR% To create 'mailto:' links that have more descriptive link text, specify subject lines or message bodies, or omit the email address, you can write =[[mailto:user@@domain descriptive text]]=.
[[mailto:a@@z.com Mail]]

[[mailto:?subject=Hi Hi]]
[[mailto:a@@z.com Mail]] d432 1 a432 1 [[mailto:?subject=Hi Hi]] d439 1 a439 3 You can use just about any HTML tag without a problem - however, there are a few usability and technical considerations to keep in mind. ---+++ HTML and TWiki Usability d441 4 a444 6 * %T% *TIP:* On collaboration pages, it's preferable NOT to use HTML, and to use [[#TWikiShorthand][TWiki shorthand]] instead - this keeps the text uncluttered and easy to edit. * %X% *NOTE:* TWiki is designed to work with a wide range of browsers and computer platforms, holding to HTML 4.0 and XHTML 1.0 compatibility in the standard installation - adding raw HTML, particularly browser-specific tags (or any other mark-up that doesn't degrade well) will reduce compatibility. * Recommondations when using HTML: * Use [[http://www.w3.org/TR/xhtml1/][XHTML 1.0 Transitional]] syntax * Do not span a tag over more then one line * Remove all empty lines. TWiki inserts =<p />= paragraph tags on empty lines, which causes problems if done between tags that do not allow paragraph tags, like for example between table tags. d446 6 d453 1 a453 1 ---+++ TWiki HTML Rendering d455 1 a455 5 * TWiki converts shorthand notation to XHTML 1.0 for display. To copy a fully marked-up page, simply view source in your browser and save the contents. * %T% If you need to save HTML frequently, you may want to check out TWiki:Plugins/GenHTMLAddon - it will "generate a directory containing rendered versions of a set of TWiki pages together with any attached files." * %X% *NOTE:* The opening and closing angle brackets - ==<...>== - of an HTML tag __must be on the same line__, or the tag will be broken. * This feature allows you to enter an unclosed angle bracket - as a greater than or less than symbol - and have it automatically rendered as if you had entered its HTML character, =&lt;=, ex: ==a < b== * %T% If you're pasting in preformatted HTML text and notice problems, check the file in a text processor with no text wrap. Also, save without hard line breaks on text wrap, in your HTML editing program. d457 1 a457 10 ---+++ TWiki and JavaScript You can use JavaScript for your TWiki applications. Since TWiki rendering might interfere with JavaScript code you need to escape it with HTML comments and =<pre>= tags: d461 1 a461 1 Being able to create links without any formatting required is a core TWiki feature, made possible with WikiWords. New TWiki linking rules are a simple extension of the syntax that provide a new set of flexible options. d465 1 a465 1 * GoodStyle is a WikiWord that links to the GoodStyle topic located in the current %WIKITOOLNAME% web. d474 1 a474 1 * Email addresses like =name@@domain.com= are linked automatically. a478 1 d481 1 a481 1 Variables are names that are enclosed in percent signs =%= that are expanded on the fly. d485 1 a485 1 * =%WEB%= : The current web, is %WEB%. d491 1 a491 1 * =%INCLUDE{"SomeTopic"}%= : Server side include, includes another topic. The current %WIKITOOLNAME% web is the default web. Example: =%INCLUDE{"%TWIKIWEB%.SiteMap"}%= d493 1 a493 1 * =%SEARCH{"sushi"}%= : Inline search showing the search result embedded in a topic. FormattedSearch gives you control over formatting, used to create web-based applications. d495 4 a498 4 * TWikiPreferences defines site-wide variables. Among others: * *Line break:* Write =%BR%= to start a new line. * *Colored text:* Write: = %RED% Red %ENDCOLOR% and %BLUE% blue %ENDCOLOR% colors= to get: %RED% Red %ENDCOLOR% and %BLUE% blue %ENDCOLOR% colors. * *Documentation Graphics:* Write: = %H% Help, %T% Tip, %X% Alert= to get: %H% Help, %T% Tip, %X% Alert. For more info see TWikiDocGraphics. d502 1 a502 1 * To "escape" a variable, prefix it with an exclamation point. Write: = !%SOMEVARIABLE% = to get: !%SOMEVARIABLE%. d506 1 a506 3 Plugins provide additional text formatting capabilities and can extend the functionality of %WIKITOOLNAME% into many other areas. For example, the optional [[http://twiki.org/cgi-bin/view/Plugins/SpreadSheetPlugin][SpreadSheetPlugin]] lets you create a spreadsheet with the same basic notation used in TWiki tables. Available Plugins are located in the [[http://twiki.org/cgi-bin/view/Plugins][Plugins]] web on TWiki.org. Currently enabled plugins on this TWiki installation, as listed by =%PLUGINDESCRIPTIONS%=: d508 1 a512 1 d523 2 a524 2 -- TWiki:Main.MikeMannix - 02 Dec 2001
-- TWiki:Main.PeterThoeny - 01 Aug 2004 @ 1.46 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1090657293" format="1.0" version="1.46"}% d304 1 a304 1 CapitalizedWordsStuckTogether (or WikiWords) will produce a link automatically. %BR% __Note:__ In case you want to link to a topic in a different %WIKITOOLNAME% web write =Webname.TopicName=. d462 1 d475 1 a475 1