Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
wiki:syntax [2022/02/22 08:40] – [Internal] Daniel Weißhaar | wiki:syntax [2024/03/08 00:45] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 45: | Zeile 45: | ||
==== Internal ==== | ==== Internal ==== | ||
- | Internal links are created by using square brackets. You can either just give a [[:wiki:pagename|]] or use an additional [[:wiki:pagename|link text]]. | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
- | < | + | |
- | Internal links are created by using square brackets. You can either just give | + | |
- | a [[pagename|]] or use an additional [[pagename|link text]]. | + | a [[pagename]] or use an additional [[pagename|link text]]. |
- | </code> | + | [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, |
- | [[doku> | + | You can use [[some: |
- | You can use [[:some: | + | |
- | < | + | |
- | You can use [[some:namespaces|]] by using a colon in the pagename. | + | For details about namespaces see [[doku>namespaces]]. |
- | </ | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# |
- | For details about namespaces see [[doku> | + | |
- | + | ||
- | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[: | + | |
- | < | + | |
- | + | ||
- | This links to [[syntax# | + | |
- | + | ||
- | </ | + | |
Notes: | Notes: | ||
- | * Links to [[:wiki:syntax|existing pages]] are shown in a different style from [[:wiki:nonexisting|]] ones. | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
- | * DokuWiki does not use [[wp>en.wikipedia.org/ | + | * DokuWiki does not use [[wp> |
* When a section' | * When a section' | ||
- | |||
==== Interwiki ==== | ==== Interwiki ==== | ||
Zeile 147: | 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: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
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: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
Zeile 447: | Zeile 437: | ||
If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
- | |||
- | |||
- | ===== Embedding HTML and PHP ===== | ||
- | |||
- | You can embed raw HTML or PHP code into your documents by using the '' | ||
- | |||
- | HTML example: | ||
- | |||
- | < | ||
- | < | ||
- | This is some <span style=" | ||
- | </ | ||
- | < | ||
- | <p style=" | ||
- | </ | ||
- | </ | ||
- | |||
- | < | ||
- | This is some <span style=" | ||
- | </ | ||
- | < | ||
- | <p style=" | ||
- | </ | ||
- | |||
- | PHP example: | ||
- | |||
- | < | ||
- | <php> | ||
- | echo 'The PHP version: '; | ||
- | echo phpversion(); | ||
- | echo ' (generated inline HTML)'; | ||
- | </ | ||
- | <PHP> | ||
- | echo '< | ||
- | echo '< | ||
- | echo '</ | ||
- | </ | ||
- | </ | ||
- | |||
- | <php> | ||
- | echo 'The PHP version: '; | ||
- | echo phpversion(); | ||
- | echo ' (inline HTML)'; | ||
- | </ | ||
- | <PHP> | ||
- | echo '< | ||
- | echo '< | ||
- | echo '</ | ||
- | </ | ||
- | |||
- | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. | ||
===== RSS/ATOM Feed Aggregation ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
Zeile 507: | Zeile 446: | ||
| author | | author | ||
| date | show item dates | | | date | show item dates | | ||
- | | description| show the item description. | + | | description| show the item description. |
| nosort | | 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). | |