Site Tools


en:wiki:syntax

Differences

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

Link to this comparison view

Next revision
Previous revision
en:wiki:syntax [2022/11/30 13:48] – created bullaren:wiki:syntax [2026/08/12 12:15] (current) – external edit 127.0.0.1
Line 97: Line 97:
 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 131: Line 131:
 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://secure.php.net/images/php.gif?200x50}}+Resized external image:           {{https://secure.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://secure.php.net/images/php.gif?200x50}}+  Resized external image:           {{https://secure.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 }}
  
 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 178: Line 178:
 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 ====
Line 331: Line 331:
   ^ Heading 4    | no colspan this time |                    |   ^ Heading 4    | no colspan this time |                    |
   ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        |   ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        |
- 
-You can have rowspans (vertically connected cells) by adding ''%%:::%%'' into the cells below the one to which they should connect. 
- 
-^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ 
-| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | 
-| Row 2 Col 1    | :::                        | Row 2 Col 3        | 
-| Row 3 Col 1    | :::                        | Row 2 Col 3        | 
- 
-Apart from the rowspan syntax those cells should not contain anything else. 
- 
-  ^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ 
-  | Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | 
-  | Row 2 Col 1    | :::                        | Row 2 Col 3        | 
-  | Row 3 Col 1    | :::                        | Row 2 Col 3        | 
  
 You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text.
en/wiki/syntax.1669816131.txt.gz · Last modified: by bullar