Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
wiki:syntax [22.06.2015 um 15:32 Uhr] – Links angepasst weil Seiten im Wiki verschoben wurden Marcel Endberg | wiki:syntax [22.04.2021 um 08:35 Uhr] – [Tables] Lina Förster | ||
---|---|---|---|
Zeile 84: | Zeile 84: | ||
* For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | ||
- | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// |
- | + | <?php | |
- | LANG.nosmblinks = ''; | + | /** |
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | $lang[' | ||
+ | </ | ||
==== Image Links ==== | ==== Image Links ==== | ||
Zeile 92: | Zeile 97: | ||
You can also use an image to link to another internal or external page by combining the syntax for links and [[# | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
- | [[http://www.php.net|{{wiki: | + | [[http:// |
- | [[http://www.php.net|{{wiki: | + | [[http:// |
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. | ||
Zeile 132: | Zeile 137: | ||
Resize to given width and height((when the aspect ratio of the given width and height doesn' | Resize to given width and height((when the aspect ratio of the given width and height doesn' | ||
- | Resized external image: | + | Resized external image: |
Real size: {{wiki: | Real size: {{wiki: | ||
Resize to given width: | Resize to given width: | ||
Resize to given width and height: {{wiki: | Resize to given width and height: {{wiki: | ||
- | Resized external image: | + | Resized external image: |
Zeile 170: | Zeile 175: | ||
If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
+ | |||
+ | By adding ''? | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | {{wiki: | ||
==== Fallback Formats ==== | ==== Fallback Formats ==== | ||
Zeile 262: | Zeile 273: | ||
Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | ||
- | | + | < |
- | + | I think we should do it | |
- | > No we shouldn' | + | |
- | + | > No we shouldn' | |
- | >> Well, I say we should | + | |
- | + | >> Well, I say we should | |
- | > Really? | + | |
- | + | > Really? | |
- | >> Yes! | + | |
- | + | >> Yes! | |
- | >>> | + | |
+ | >>> | ||
+ | </ | ||
I think we should do it | I think we should do it | ||
Zeile 289: | Zeile 302: | ||
DokuWiki supports a simple syntax to create tables. | DokuWiki supports a simple syntax to create tables. | ||
+ | |||
+ | ^Heading 1 ^Heading 2 ^Heading 3 | | ||
+ | |Row 1 Col 1 |Row 1 Col 2 |Row 1 Col 3 | | ||
+ | |Row 2 Col 1 |some colspan (note the double pipe)|| | ||
+ | |Row 3 Col 1 |Row 3 Col 2 |Row 3 Col 3 | | ||
+ | |||
+ | Table rows have to start and end with a '''' | ||
+ | < | ||
^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
Zeile 295: | Zeile 316: | ||
| Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
- | Table rows have to start and end with a '' | + | </ |
- | + | ||
- | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | + | |
- | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | + | |
- | | Row 2 Col 1 | some colspan (note the double pipe) || | + | |
- | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | + | |
To connect cells horizontally, | To connect cells horizontally, | ||
Zeile 306: | Zeile 322: | ||
Vertical tableheaders are possible, too. | Vertical tableheaders are possible, too. | ||
- | | ^ Heading 1 ^ Heading 2 ^ | + | | ^Heading 1 ^Heading 2 | |
+ | ^Heading 3 |Row 1 Col 2 |Row 1 Col 3 | | ||
+ | ^Heading 4 |no colspan this time| | | ||
+ | ^Heading 5 |Row 2 Col 2 |Row 2 Col 3 | | ||
+ | |||
+ | As you can see, it's the cell separator before a cell which decides about the formatting: | ||
+ | < | ||
+ | |||
+ | | ^ Heading 1 ^ Heading 2 ^ | ||
^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
- | ^ 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 | | ||
- | As you can see, it's the cell separator before a cell which decides about the formatting: | + | </ |
- | | ^ Heading 1 ^ Heading 2 ^ | + | You can have rowspans (vertically connected cells) by adding ''< |
- | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | + | |
- | ^ Heading 4 | no colspan this time | | | + | |
- | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | + | |
- | You can have rowspans (vertically | + | ^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 | ||
+ | < | ||
^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
Zeile 325: | Zeile 352: | ||
| Row 3 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. | ||
+ | |||
+ | ^ Table with alignment | ||
+ | | right| | ||
+ | |left | right| | ||
+ | |xxxxxxxxxxxx|xxxxxxxxxxxx|xxxxxxxxxxxx| | ||
+ | |||
+ | This is how it looks in the source: | ||
+ | < | ||
^ Table with alignment | ^ Table with alignment | ||
Zeile 339: | Zeile 369: | ||
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | This is how it looks in the source: | + | </ |
- | + | ||
- | ^ Table with alignment | + | |
- | | | + | |
- | |left | | + | |
- | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | + | |
Note: Vertical alignment is not supported. | Note: Vertical alignment is not supported. | ||
+ | |||
===== No Formatting ===== | ===== No Formatting ===== | ||
Zeile 404: | Zeile 430: | ||
</ | </ | ||
- | The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript-french, actionscript, | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
+ | |||
+ | There are additional [[doku> | ||
==== Downloadable Code Blocks ==== | ==== Downloadable Code Blocks ==== | ||
Zeile 482: | Zeile 510: | ||
| date | show item dates | | | date | show item dates | | ||
| description| show the item description. If [[doku> | | description| show the item description. If [[doku> | ||
+ | | nosort | ||
| //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | ||
+ | |||
+ | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
**Example: | **Example: |