From: PeterThoeny Date: Thu, 13 Sep 2001 08:48:35 +0000 (+0000) Subject: none X-Git-Url: http://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=80cc68423abcb362b4df37d2e7b2ef1837acbda2 none --- diff --git a/TWiki/GoodStyle.mdwn b/TWiki/GoodStyle.mdwn index 3024b7b..f10924c 100644 --- a/TWiki/GoodStyle.mdwn +++ b/TWiki/GoodStyle.mdwn @@ -23,8 +23,8 @@ - For **external site links**, you can type URLs directly into the text - **http://etcete.ra/...** - it'll clear to anyone where they're headed on click. -- TWiki is international, and an ISO international standard **date format** like 06 Feb 1998 is preferred. A date like 2/6/98, can mean either Feb or Jun, depending on the local conventions of the readers. For months, use the first three letters: Jan, Feb, Mar, Apr,... +- TWiki is international, and an international standard **date format** like 01 Sep 2001 is preferred. A date like 9/1/01, can mean either January or September, depending on the local conventions of the readers. For months, use the first three letters: Jan, Feb, Mar, Apr,... -- Look at the source when you want to find out how something is formatted: click **Raw text** on the lower toolbar. A bit of HTML experience can't hurt, but you'll soon see with TWiki how far that is from necessary. +- Look at the source when you want to find out how something is formatted: click **More** on the lower toolbar, then checkmark **Raw text format** and click on **[ View revision ]**. A bit of HTML experience can't hurt, but you'll soon see with TWiki how far that is from necessary. --- [[PeterThoeny]] - 30 Jul 2000 +-- [[PeterThoeny]] - 13 Sep 2001 diff --git a/TWiki/TWikiTutorial.mdwn b/TWiki/TWikiTutorial.mdwn index 3ce8b2b..ba6df68 100644 --- a/TWiki/TWikiTutorial.mdwn +++ b/TWiki/TWikiTutorial.mdwn @@ -52,6 +52,7 @@ This step-by-step, hands-on tutorial gets you up to speed with all the %WIKITOOL - `Attach` : Attach files to a topic (discussed later) - `Diffs` : Topics are under revision control. Diffs shows you the complete change history of the topic, e.g. who changed what and when. - `r1.3 | > | r1.2 | > | r1.1` : Allows you to see a previous topic revision or the difference between revisions. +- `More` : More actions on the topic, like rename/move, version control and setting the topic parent. ### 6. Change a page and create a new one: @@ -83,7 +84,7 @@ This step-by-step, hands-on tutorial gets you up to speed with all the %WIKITOOL - Do this again with a JPG or GIF image file. - Checkmark the box "Create a link to the attached file at the end of the topic." - Upload and attach the image file. -- The image will show up at the bottom of the topic. To move the image, you can edit the topic and move the last line (starting with ` 8. Get email alerts when topics change: @@ -96,4 +97,4 @@ That's it! You're now equipped with all the TWiki essentials. You are ready to r **_A side note:_** Initially, it can be daunting to modify text someone else wrote. Please do not worry, nothing gets lost, because previous versions are always accessible (and also recoverable by the %WIKITOOLNAME% administrator if needed.) --- [[PeterThoeny]] - 28 Dec 2000
-- [[MikeMannix]] - 29 Aug 2001 +-- [[PeterThoeny]] - 13 Sep 2001
-- [[MikeMannix]] - 29 Aug 2001 diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index ec91b49..6540e3f 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -205,8 +205,9 @@ With a couple of notable exceptions, predefined variables return set values that "selected" - selection - Current value e.g. current for current Web, =section="%WEB%" + selection="%WEB%" + Current value to be selected in list + section="%WEB%" Examples:
%WEBLIST{"   * [[$name.WebHome]]"}% creates a bullet list of all webs.
%WEBLIST{" Dropdown of all public Webs + Trash Web, current Web highlighted. @@ -262,7 +263,7 @@ With a couple of notable exceptions, predefined variables return set values that 2 digit year 99 - Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:30:10 + Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:30:15 %SERVERTIME% @@ -424,6 +425,36 @@ With a couple of notable exceptions, predefined variables return set values that Example: %SEARCH{"wiki" web="Main" scope="topic"}% + %METASEARCH{...}% + Special search of meta data + + + + + + + + + + + + + + + + + + + + + + + + + +
Parameter: Description: Default:
type="topicmoved" What sort of search is required?
"topicmoved" if search for a topic that may have been moved
"parent" if searcing for topics that have a specific parent i.e. its children
required
web="%WEB%" Wiki web to search: A web, a list of webs separated by whitespace, or all webs. required
topic="%TOPIC%" The topic the search relates to required
title="Title" Text the is pre-pended to any search results required
Example: %METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%, you may want to use this in [[Main/WebTopicViewTemplate]] and [[Main/WebTopicNonWikiTemplate]]
%METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}% + + %VAR{"NAME" web="Web"}% Get a preference value from a web other then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is diff --git a/TWiki/TextFormattingFAQ.mdwn b/TWiki/TextFormattingFAQ.mdwn index bdfb9fb..b7ff9e2 100644 --- a/TWiki/TextFormattingFAQ.mdwn +++ b/TWiki/TextFormattingFAQ.mdwn @@ -27,7 +27,7 @@ > > ### How do I create a heading? > -> You can create six sizes of headings - <H1>...<H6> in HTML - by typing, from the beginning of a line, three dashes (-), from one to six plus signs (+), a space, and your heading text. The FAQ questions on this page are created with: `---+++ Have a question?`. +> You can create six sizes of headings - <h1>...<h6> in HTML - by typing, from the beginning of a line, three dashes (-), from one to six plus signs (+), a space, and your heading text. The FAQ questions on this page are created with: `---+++ Have a question?`. > > - You can insert a nested table of contents, generated from headings, by placing `%TOC%` wherever you like on a page (see [[TWikiVariables]] for more `%TOC%` options). > @@ -69,14 +69,14 @@ > > ### Text I enter gets wrapped around. How can I keep the formatting as it is? > -> TWiki interprets text as HTML. It is possible to use preformatted text to workaround this. Use the preformatted HTML tags to keep the new line of text as it is. Do so by enclosing text in either <pre> </pre> or <verbatim> <verbatim> tags: +> TWiki interprets text as HTML. It is possible to use preformatted text to workaround this. Use the preformatted HTML tags to keep the new line of text as it is. Do so by enclosing text in either <pre> </pre> or <verbatim> </verbatim> tags: > > This text will keep its format as it is: ->
+>     
 >       Unit	  Price	Qty  Cost
 >       -------  ------  ---  ------
 >       aaa		 12.00	 3	36.00
->     
+> > > The `pre` tag is standard HTML; `verbatim` is a special TWiki tag that also forces text to fixed font mode, and also prevents other tags and TWiki shortcuts from being expanded. > @@ -88,9 +88,9 @@ > > 1. Use Wiki rule with "|" vertical bars. > 2. Use HTML tables with <table>, <tr>, <td> tags. -> 3. Use preformatted text with <PRE> tags. +> 3. Use preformatted text with <verbatim> tags. > -> **\_1. Use Wiki rule with "|" vertical bars\_** +> **_1\. Use Wiki rule with "|" vertical bars_** > > - Example text:
`| cell A1 | cell B1 | cell C1 |`
`| cell A2 | cell B2 | cell C2 |` > - Example output: @@ -106,19 +106,19 @@ > >
> -> **\_2. Use HTML tables with <TABLE>, <TR>, <TD> tags\_** +> **_2\. Use HTML tables with <table>, <tr>, <td> tags_** > > This is a manual process using HTML commands. Here is an example. If you enter this: > -> -> -> -> -> -> -> -> ->
Head A Head B
Cell A2 Cell B2
Cell A3 Cell B3
+> +> +> +> +> +> +> +> +>
Head A Head B
Cell A2 Cell B2
Cell A3 Cell B3
> > It is displayed as a table like this: > @@ -137,7 +137,7 @@ > > > -> **\_3. Use preformatted text with <PRE> tags\_** +> **_3\. Use preformatted text with <verbatim> tags_** > > Text I enter gets wrapped around. How can I keep the formatting as it is? See [["Text enclosed..."|Main/WebHome#TextEnclosed]] > @@ -145,78 +145,78 @@ > > ### Can I include images and pictures? > -> Yes, this is possible. The easiest way of including images is to attach a GIF or JPG file to a topic and then to include it with text `%ATTACHURL%/myImage.gif` . [[FileAttachment]] has more. +> Yes, this is possible. The easiest way of including images is to attach a GIF, JPG or PNG file to a topic and then to include it with text `%ATTACHURL%/myImage.gif` . [[FileAttachment]] has more. > > There are actually two ways of including inline images. > -> **\_1. Using URL ending in .gif, .jpg, .jpeg\_** +> **_1\. Using URL ending in .gif, .jpg, .jpeg, .png_** > > This is a simple and automatic way of including inline images. Simply write the URL of the image file, this will create the inline image for you. **Note:** The images must be accessible as a URL. > > - Example text:
` TWiki http://www.dementia.org/twiki//view/wikiHome.gif logo.` > - Example output:
TWiki ![wikiHome.gif](http://www.dementia.org/twiki//view/wikiHome.gif) logo. > -> **\_2. Using <IMG> tag\_** +> **_2\. Using <img> tag_** > -> This is a manual process where you have more control over the rendering of the image. Use the <IMG> tag of HTML to include JPEG and GIF files. **Note:** The display of the topic is faster if you include the WIDTH and HEIGHT parameters that have the actual image size. has more on inline images. +> This is a manual process where you have more control over the rendering of the image. Use the <img> tag of HTML to include GIF, JPG and PNG files. **Note:** The display of the topic is faster if you include the WIDTH and HEIGHT parameters that have the actual image size. has more on inline images. > -> - Example text:
`TWiki logo.` +> - Example text:
`TWiki logo.` > - Example output:
TWiki logo. > > ---- > > ### Can I write colored text? > -> Place text you would like to specify a color inside <FONT COLOR="colorCode"> and </FONT> tags. +> Place text you would like to specify a color inside <font color="colorCode"> and </font> tags. > -> "colorCode" is the hexadecimal RGB color code. The color is composed by specifying the red, green and blue components of the color in hexadecimal notation. For example, to specify white, the red, green and blue components are 255, 255, 255, so you would use "#FFFFFF". You can use [[StandardColors]] or common color codes: +> "colorCode" is the hexadecimal RGB color code. The color is composed by specifying the red, green and blue components of the color in hexadecimal notation. For example, to specify white, the red, green and blue components are 255, 255, 255, so you would use ="#ffffff=". You can use [[StandardColors]] or common color codes: > > -> +> > -> +> > -> -> -> -> -> +> +> +> +> +> > -> +> > -> +> > -> -> -> -> -> +> +> +> +> +> > -> +> > -> +> > -> -> -> -> -> +> +> +> +> +> > -> +> > -> +> > -> -> -> -> -> +> +> +> +> +> > >
Black: "#000000" "#000000" Green: "#008000" Silver: "#C0C0C0" Lime: "#00FF00" "#008000" Silver: "#c0c0c0" Lime: "#00ff00"
Gray: "#808080" "#808080" Olive: "#808000" White: "#FFFFFF" Yellow: "#FFFF00" "#808000" White: "#ffffff" Yellow: "#ffff00"
Maroon: "#800000" "#800000" Navy: "#000080" Red: "#FF0000" Blue: "#0000FF" "#000080" Red: "#ff0000" Blue: "#0000ff"
Purple: "#800080" ="#800080"= Teal: "#008080" Fuchsia: "#FF00FF" Aqua: "#00FFFF" "#008080" Fuchsia: "#ff00ff" Aqua: "#00ffff"
> -> - Example text:
` Red color draws attention. ` +> - Example text:
` Red color draws attention. ` > - Example output:
Red color draws attention. > > ---- --- [[MikeMannix]] - 10 Sep 2001
+-- [[MikeMannix]] - 10 Sep 2001
-- [[PeterThoeny]] - 13 Sep 2001