Site Tools


wiki:syntax

Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:syntax [2026/08/09 14:20] – created - external edit 127.0.0.1wiki:syntax [2026/08/12 12:15] (current) – external edit 127.0.0.1
Line 99: Line 99:
 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://php.net|{{wiki:dokuwiki-128.png}}]]+  [[http://php.net|{{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png}}]]
  
-[[http://php.net|{{wiki:dokuwiki-128.png}}]]+[[http://php.net|{{media:wiki:dokumedia:wiki:dokuwiki: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.
Line 133: Line 133:
 You can include external and internal [[doku>images|images, videos and audio files]] with curly brackets. Optionally you can specify the size of them. You can include external and internal [[doku>images|images, videos and audio files]] with curly brackets. Optionally you can specify the size of them.
  
-Real size:                        {{wiki:dokuwiki-128.png}}+Real size:                        {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png}}
  
-Resize to given width:            {{wiki:dokuwiki-128.png?50}}+Resize to given width:            {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?50}}
  
-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)): {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?200x50}}
  
-Resized external image:           {{https://www.php.net/images/php.gif?200x50}}+Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
  
-  Real size:                        {{wiki:dokuwiki-128.png}} +  Real size:                        {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png}} 
-  Resize to given width:            {{wiki:dokuwiki-128.png?50}} +  Resize to given width:            {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?50}} 
-  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} +  Resize to given width and height: {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?200x50}} 
-  Resized external image:           {{https://www.php.net/images/php.gif?200x50}}+  Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
  
  
 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}}+{{ media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png}}
  
-{{wiki:dokuwiki-128.png }}+{{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png }}
  
-{{ wiki:dokuwiki-128.png }}+{{ media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png }}
  
-  {{ wiki:dokuwiki-128.png}} +  {{ media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png}} 
-  {{wiki:dokuwiki-128.png }} +  {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png }} 
-  {{ wiki:dokuwiki-128.png }}+  {{ media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png }}
  
 You can also set the alignment explicitly with a ''?left'', ''?right'' or ''?center'' parameter. This takes precedence over the whitespace alignment above and can be combined with a size. You can also set the alignment explicitly with a ''?left'', ''?right'' or ''?center'' parameter. This takes precedence over the whitespace alignment above and can be combined with a size.
  
-{{wiki:dokuwiki-128.png?100&right}}+{{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?100&right}}
  
-  {{wiki:dokuwiki-128.png?100&right}}+  {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?100&right}}
  
 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.
  
-{{ wiki:dokuwiki-128.png |This is the caption}}+{{ media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png |This is the caption}}
  
-  {{ wiki:dokuwiki-128.png |This is the caption}}+  {{ media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png |This is the caption}}
  
 For linking an image to another page see [[#Image Links]] above. For linking an image to another page see [[#Image Links]] above.
Line 186: Line 186:
 By adding ''?linkonly'' you provide a link to the media without displaying it inline By adding ''?linkonly'' you provide a link to the media without displaying it inline
  
-  {{wiki:dokuwiki-128.png?linkonly}}+  {{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?linkonly}}
  
-{{wiki:dokuwiki-128.png?linkonly}} This is just a link to the image.+{{media:wiki:dokumedia:wiki:dokuwiki:dokuwiki-128.png?linkonly}} This is just a link to the image.
  
 ==== Fallback Formats ==== ==== Fallback Formats ====
wiki/syntax.1786285235.txt.gz · Last modified: by 127.0.0.1