wiki: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
wiki:syntax [2026/03/23 16:09] – [Interwiki] Simon Grantwiki:syntax [2026/04/10 19:26] (current) – [Internal] Simon Grant
Line 1: Line 1:
-[[:wiki:|index]]+//[[:wiki:|index to the wiki namespace]], or [[:start]] over//
  
 ====== Formatting Syntax for Growing the Commons ====== ====== Formatting Syntax for Growing the Commons ======
Line 108: Line 108:
  
 External links are recognized automagically: https://www.google.com or simply www.google.com External links are recognized automagically: https://www.google.com or simply www.google.com
 +
 +`External links are recognized automagically: https://www.google.com or simply www.google.com`
  
 You can set the link text as well: [This Link points to google](https://www.google.com) in Markdown format. You can set the link text as well: [This Link points to google](https://www.google.com) in Markdown format.
Line 147: Line 149:
 [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed. [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed.
  
-You can use [[wiki:namespaces]] by using a colon in the pagename.+You can use [[doc:namespace]] by using a colon in the pagename.
  
-`You can use [[wiki:namespaces]] by using a colon in the pagename.`+`You can use [[doc:namespace]] by using a colon in the pagename.`
  
 For details about namespaces see [[doku>namespaces]]. For details about namespaces see [[doku>namespaces]].
Line 160: Line 162:
 Notes: Notes:
  
-  * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones.+  * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. //(Please don't create the nonexisting one!)//
   * 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 166: Line 168:
 ==== Interwiki ==== ==== Interwiki ====
  
-DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis and useful places. For example this is a\\ +DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis and useful places.  
-link to Wikipedia's page about Wikis: [[wp>Wiki]].\\ + 
-`link to Wikipedia's page about Wikis: [[wp>Wiki]].`+For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. 
 + 
 +`For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].`
  
 And this is a link directly to a Google search for [[google>Commons]] And this is a link directly to a Google search for [[google>Commons]]
Line 199: Line 203:
 You can also use an image to link to another internal or external page by combining the syntax for links and [[#media_files|media files]] (this links to the section below) like this: You can also use an image to link to another internal or external page by combining the syntax for links and [[#media_files|media files]] (this links to the section below) like this:
  
-[[http://php.net|{{wiki:dokuwiki-128.png?500}}]]+[[http://www.growingthecommons.org|{{wiki:dokuwiki-128.png?500}}]]
  
-`[[http://php.net|{{wiki:dokuwiki-128.png?500}}]]`+`[[http://www.growingthecommons.org|{{wiki:dokuwiki-128.png?500}}]]`
  
 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 277: Line 281:
 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?300x40}} 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?300x40}}
  
-`Resize to given width and height: {{wiki:dokuwiki-128.png?300x40}}`+`Resize to given width and height: {{wiki:dokuwiki-128.png?300x40}}` slices off top and bottom 
 + 
 +While {{wiki:dokuwiki-128.png?100x100}} 
 +`{{wiki:dokuwiki-128.png?100x100}}` slices off left and right
  
 Resized external image:           {{https://www.php.net/images/php.gif?200x50}} Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
  • wiki/syntax.1774282175.txt.gz
  • Last modified: 2026/03/23 16:09
  • by Simon Grant