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 [2025/12/17 20:37] asimongwiki:syntax [2026/01/02 19:39] (current) – [Code Blocks] asimong
Line 254: Line 254:
 `Resize to given width:            {{wiki:dokuwiki-128.png?200}}` `Resize to given width:            {{wiki:dokuwiki-128.png?200}}`
  
-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?180x50}}
  
-`Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}}`+`Resize to given width and height: {{wiki:dokuwiki-128.png?180x50}}`
  
 Resized external image:           {{https://www.php.net/images/php.gif?200x50}} Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
Line 263: Line 263:
  
 By using left or right whitespaces you can choose the alignment. By using left or right whitespaces you can choose the alignment.
 +Leave a space only after `{{` will right align; only before `}}` will left align, and after `{{` and before `}}` will centre.
  
 ----  ---- 
Line 283: Line 284:
 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?300 |This is the caption}}+{{ wiki:dokuwiki-128.png?300 |This is a tooltip rather than a caption}}
  
-`{{ wiki:dokuwiki-128.png?300 |This is the caption}}`+`{{ wiki:dokuwiki-128.png?300 |This is a tooltip rather than a caption}}`
  
 For linking an image to another page see [[#Image Links]] above. For linking an image to another page see [[#Image Links]] above.
Line 546: Line 547:
  
 <file> <file>
-This is pretty much the same, but you could use it to show that you quoted a file.+This is pretty much the same,    but you could use it to show that you quoted a file.
 </file> </file>
  
Line 559: Line 560:
  
 <file> <file>
-This is pretty much the same, but you could use it to show that you quoted a file.+This is pretty much the same,    but you could use it to show that you quoted a file.
 </file> </file>
 ``` ```
  • wiki/syntax.1766003879.txt.gz
  • Last modified: 2025/12/17 20:37
  • by asimong