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/30 18:11] – [Media Files] 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 149: 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 162: 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 203: 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 281: 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}}` 300x40, slicing off top and bottom+`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.1774894263.txt.gz
  • Last modified: 2026/03/30 18:11
  • by Simon Grant