wiki:syntax
Translate:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:syntax [2015/07/25 01:45] – ↷ Links adapted because of a move operation Shrawanwiki:syntax [2026/04/22 06:36] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +{{htmlmetatags>metatag-robots=(noindex,nofollow)}}
 +
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
-[[about:what-is-rti-wiki|RTI WIKI]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+{{htmlmetatags>metatag-keywords=(wiki syntax rti right to information india) 
 +metatag-description=(RTI WIKI supports some simple markup language, which tries to make the datafiles to be as readable as possible.)}} 
 + 
 + 
 +[[:about:what-is-rti-wiki|RTI WIKI]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Line 45: Line 51:
 ==== Internal ==== ==== Internal ====
  
-Internal links are created by using square brackets. You can either just give a [[about:pagename]] or use an additional [[about:pagename|link text]].+Internal links are created by using square brackets. You can either just give a [[:about:pagename]] or use an additional [[:about:pagename|link text]].
  
   Internal links are created by using square brackets. You can either just give   Internal links are created by using square brackets. You can either just give
Line 64: Line 70:
 Notes: Notes:
  
-  * Links to [[syntax|existing pages]] are shown in a different style from [[about:nonexisting]] ones.+  * Links to [[syntax|existing pages]] are shown in a different style from [[:about:nonexisting]] ones.
   * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.   * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.
   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.
Line 92: Line 98:
 You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see below) like this: You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see below) like this:
  
-  [[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+  [[http://www.php.net|{{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}]]
  
-[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+[[http://www.php.net|{{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}]]
  
 Please note: The image formatting is the only formatting syntax accepted in link names. Please note: The image formatting is the only formatting syntax accepted in link names.
Line 126: Line 132:
 You can include external and internal [[doku>images]] with curly brackets. Optionally you can specify the size of them. You can include external and internal [[doku>images]] with curly brackets. Optionally you can specify the size of them.
  
-Real size:                        {{wiki:dokuwiki-128.png}}+Real size:                        {{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}
  
-Resize to given width:            {{wiki:dokuwiki-128.png?50}}+Resize to given width:            {{wiki:dokuwiki-128.png?50x50|Wiki:dokuwiki 128}}
  
-Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}}+Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50|Wiki:dokuwiki 128}}
  
-Resized external image:           {{http://de3.php.net/images/php.gif?200x50}}+Resized external image:           {{http://de3.php.net/images/php.gif?200x50|Php}}
  
-  Real size:                        {{wiki:dokuwiki-128.png}} +  Real size:                        {{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}} 
-  Resize to given width:            {{wiki:dokuwiki-128.png?50}} +  Resize to given width:            {{wiki:dokuwiki-128.png?50x50|Wiki:dokuwiki 128}} 
-  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} +  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50|Wiki:dokuwiki 128}} 
-  Resized external image:           {{http://de3.php.net/images/php.gif?200x50}}+  Resized external image:           {{http://de3.php.net/images/php.gif?200x50|Php}}
  
  
 By using left or right whitespaces you can choose the alignment. By using left or right whitespaces you can choose the alignment.
  
-{{ wiki:dokuwiki-128.png}}+{{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}
  
-{{wiki:dokuwiki-128.png }}+{{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}
  
-{{ wiki:dokuwiki-128.png }}+{{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}
  
-  {{ wiki:dokuwiki-128.png}} +  {{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}} 
-  {{wiki:dokuwiki-128.png }} +  {{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}} 
-  {{ wiki:dokuwiki-128.png }}+  {{wiki:dokuwiki-128.png?128x128|Wiki:dokuwiki 128}}
  
 Of course, you can add a title (displayed as a tooltip by most browsers), too. Of course, you can add a title (displayed as a tooltip by most browsers), too.
Line 223: Line 229:
 ==== Text to HTML Conversions ==== ==== Text to HTML Conversions ====
  
-Typography: [[about:what-is-rti-wiki|RTI WIKI]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.+Typography: [[:about:what-is-rti-wiki|RTI WIKI]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.
  
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
Line 369: Line 375:
 ==== Syntax Highlighting ==== ==== Syntax Highlighting ====
  
-[[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.+[[:wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.
  
 <code java> <code java>
Line 453: Line 459:
  
 ===== RSS/ATOM Feed Aggregation ===== ===== RSS/ATOM Feed Aggregation =====
-[[about:dokuwiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:+[[:about:dokuwiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:
  
 ^ Parameter  ^ Description ^ ^ Parameter  ^ Description ^
Line 463: Line 469:
 | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). |
  
-The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.+The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[:wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[:wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.
  
 **Example:** **Example:**
Line 481: Line 487:
  
  
 +
 +
 +===== Related =====
 +
 +  * [[:user:shrawan|Shrawan]].
 +  * [[:about:workshop|Right to Information Wiki Workshop]].
 +  * [[:about:posting-at-other-threads|Why You Should Start a New Thread]].
 +  * [[:about:rti-team|What is RTI Wiki]].
 +  * [[:about:what-is-rti-wiki|What makes RTI Wiki so good for Documentation?]].
 +
 +{{tag>rti meta wiki}}
  
Was this helpful? views
wiki/syntax.txt · Last modified: by 127.0.0.1