User Tools

Site Tools


en:syntax

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:syntax [2012/11/13 12:58]
legatum [Formatting Syntax]
en:syntax [2012/11/21 08:38]
legatum [Lists]
Line 1: Line 1:
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
-In order to allow content editing by ordinary users (meaning **you** :-)), Legatum Homeopathicum runs on [[doku>​DokuWiki]] engine. DokuWiki 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"​ button in the right upper part of the browser window. If you want to try something, just use the [[playground:​playground|playground]] page.+In order to allow content editing by ordinary users (meaning **you** :-)), Legatum Homeopathicum runs on [[doku>​DokuWiki]] engine. DokuWiki supports some simple markup language, which tries to make the datafiles 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 clicking ​"​Edit"​ button in the right upper part of the browser window. If you want to try something, just use the [[playground:​playground|playground]] page.
  
 The simpler markup is easily accessible via toolbar buttons too, so you are encouraged to use these as much as you can. Just select the text using your mouse or keyboard and click the toolbar button or hit the corresponding access key (hotkey) combination on the keyboard to achieve the same (Alt + Key). The simpler markup is easily accessible via toolbar buttons too, so you are encouraged to use these as much as you can. Just select the text using your mouse or keyboard and click the toolbar button or hit the corresponding access key (hotkey) combination on the keyboard to achieve the same (Alt + Key).
Line 82: Line 82:
  
   You can use [[some:​namespaces]] by using a colon in the pagename.   You can use [[some:​namespaces]] by using a colon in the pagename.
 +
 +In order to faciliate translations,​ the first namespace part is reserved for language variation (**en** for English, **de** for German, **sk** for Slovak)\\
 +For example http://​www.legatum.sk/​en:​ahr:​lippe-ad-clinical-observations-08-158-10555 and http://​www.legatum.sk/​sk:​ahr:​lippe-ad-clinical-observations-08-158-10555 are English and Slovak versions of the same article.
  
 For details about namespaces see [[doku>​namespaces]]. For details about namespaces see [[doku>​namespaces]].
Line 95: Line 98:
 The syntax is the same as in section linking, you just need to find the anchor number in the source of the article (click the Edit button) -- in order to know where to link to. The syntax is the same as in section linking, you just need to find the anchor number in the source of the article (click the Edit button) -- in order to know where to link to.
  
-For example, if you wish to link to a sentence where [[en:​ahr:​lippe-ad-the-homoeopathician-158-10568#​s24|Dr. Lippe explains us how to properly relate a successful cure]], you will do this as follows+For example, if you wish to link to a sentence where [[en:​ahr:​lippe-ad-the-homoeopathician-158-10568#​s24|Dr. Lippe explains ​to us how to properly relate a successful cure]], you will do this as follows
   ​   ​
-  [[en:​ahr:​lippe-ad-the-homoeopathician-158-10568#​s24|Dr. Lippe explains us how to properly relate a successful cure]]+  [[en:​ahr:​lippe-ad-the-homoeopathician-158-10568#​s24|Dr. Lippe explains ​to us how to properly relate a successful cure]]
  
 Notes: Notes:
Line 105: Line 108:
 ==== External ==== ==== External ====
  
-External links are recognized automagically:​ http://​www.google.com or simply www.google.com - You can set the link text as well: [[http://​www.google.com|This Link points to google]]. Email addresses like this one: <info@legatum.sk> are recognized, too.+External links are recognized automagically:​ http://​www.google.com or simply www.google.com - You can set the link text as well: [[http://​www.google.com|This Link points to google]]. Email addresses like this one: <contact@email.com> are recognized, too.
  
   DokuWiki supports multiple ways of creating links. External links are recognized   DokuWiki supports multiple ways of creating links. External links are recognized
   automagically:​ http://​www.google.com or simply www.google.com - You can set   automagically:​ http://​www.google.com or simply www.google.com - You can set
   link text as well: [[http://​www.google.com|This Link points to google]]. Email   link text as well: [[http://​www.google.com|This Link points to google]]. Email
-  addresses like this one: <info@legatum.sk> are recognized, too.+  addresses like this one: <contact@email.com> are recognized, too.
  
 DokuWiki supports [[doku>​Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia'​s page about Wikis: [[wp>​Wiki]]. DokuWiki supports [[doku>​Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia'​s page about Wikis: [[wp>​Wiki]].
Line 120: Line 123:
 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.homeopathy.net|{{wiki:​dokuwiki-128.png}}]]
  
-[[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]]+[[http://​www.homeopathy.net|{{wiki:​dokuwiki-128.png}}]]
  
 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.
  
 The whole [[#​images_and_other_files|image]] and [[#​links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links). The whole [[#​images_and_other_files|image]] and [[#​links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links).
- 
 ===== Footnotes ===== ===== Footnotes =====
  
Line 201: Line 203:
   - The same list but ordered   - The same list but ordered
   - Another item   - Another item
-    - Just use indention ​for deeper levels+    - Just use indentation ​for deeper levels
   - That's it   - That's it
  
Line 212: Line 214:
   - The same list but ordered   - The same list but ordered
   - Another item   - Another item
-    - Just use indention ​for deeper levels+    - Just use indentation ​for deeper levels
   - That's it   - That's it
 </​code>​ </​code>​
en/syntax.txt · Last modified: 2015/06/23 07:27 (external edit)