wiki:syntax
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
wiki:syntax [13.05.2010 13:05] – Link mit wiki:start geändert zu start Andreas Wolf | wiki:syntax [15.11.2014 11:19] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Formatting Syntax ====== | ====== Formatting Syntax ====== | ||
- | [[doku> | + | [[doku> |
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
Zeile 58: | Zeile 58: | ||
For details about namespaces see [[doku> | 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 [[:start# | + | 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# |
- | This links to [[:start# | + | This links to [[syntax# |
Notes: | Notes: | ||
- | * Links to [[:start|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
* DokuWiki does not use [[wp> | * DokuWiki does not use [[wp> | ||
* When a section' | * When a section' | ||
Zeile 74: | Zeile 74: | ||
DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
- | |||
==== Windows Shares ==== | ==== Windows Shares ==== | ||
Zeile 85: | 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:// |
+ | LANG.nosmblinks = ''; | ||
==== Image Links ==== | ==== Image Links ==== | ||
Zeile 122: | Zeile 122: | ||
---- | ---- | ||
- | ===== Images and Other Files ===== | + | ===== Media Files ===== |
- | You can include external and internal [[doku> | + | You can include external and internal [[doku> |
Real size: {{wiki: | Real size: {{wiki: | ||
Zeile 157: | Zeile 157: | ||
{{ wiki: | {{ wiki: | ||
- | |||
- | If you specify a filename (external or internal) that is not an image ('' | ||
For linking an image to another page see [[#Image Links]] above. | For linking an image to another page see [[#Image Links]] above. | ||
+ | |||
+ | ==== Supported Media Formats ==== | ||
+ | |||
+ | DokuWiki can embed the following media formats directly. | ||
+ | |||
+ | | Image | '' | ||
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
+ | |||
+ | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
+ | |||
+ | ==== Fallback Formats ==== | ||
+ | |||
+ | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
+ | |||
+ | For example consider this embedded mp4 video: | ||
+ | |||
+ | {{video.mp4|A funny video}} | ||
+ | |||
+ | When you upload a '' | ||
+ | |||
+ | Additionally DokuWiki supports a " | ||
===== Lists ===== | ===== Lists ===== | ||
Zeile 223: | Zeile 244: | ||
==== Text to HTML Conversions ==== | ==== Text to HTML Conversions ==== | ||
- | Typography: [[:start]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. | + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
Zeile 369: | Zeile 390: | ||
==== Syntax Highlighting ==== | ==== Syntax Highlighting ==== | ||
- | [[:start]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// | + | [[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// |
<code java> | <code java> | ||
Zeile 383: | Zeile 404: | ||
</ | </ | ||
- | The following language strings are currently recognized: //4cs, abap, actionscript-french, | + | The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, |
==== Downloadable Code Blocks ==== | ==== Downloadable Code Blocks ==== | ||
- | When you use the '' | + | When you use the '' |
< | < | ||
Zeile 428: | Zeile 449: | ||
< | < | ||
<php> | <php> | ||
- | echo 'A logo generated by PHP:'; | + | echo 'The PHP version: '; |
- | echo '< | + | echo phpversion(); |
- | echo ' | + | echo ' (generated inline HTML)'; |
</ | </ | ||
<PHP> | <PHP> | ||
echo '< | echo '< | ||
- | echo '< | + | echo '< |
echo '</ | echo '</ | ||
</ | </ | ||
Zeile 440: | Zeile 461: | ||
<php> | <php> | ||
- | echo 'A logo generated by PHP:'; | + | echo 'The PHP version: '; |
- | echo '< | + | echo phpversion(); |
- | echo ' | + | echo ' (inline HTML)'; |
</ | </ | ||
<PHP> | <PHP> | ||
echo '< | echo '< | ||
- | echo '< | + | echo '< |
echo '</ | echo '</ | ||
</ | </ | ||
Zeile 453: | Zeile 474: | ||
===== RSS/ATOM Feed Aggregation ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
- | [[:start]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// |
^ Parameter | ^ Parameter | ||
Zeile 463: | Zeile 484: | ||
| //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. [[:start]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[:start]] to re-render the page if it is more than //refresh period// since the page was last rendered. | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered. |
**Example: | **Example: |
Die hier im BuFaTa ET Wiki dargestellten Arbeitsdokumente sind Einzelbeiträge der jeweiligen Autoren und i.d.R. nicht repräsentativ für die BuFaTa ET als Organisation. Veröffentlichte Beschlüsse und Stellungnahmen der BuFaTa ET befinden sich ausschließlich auf der offiziellen Homepage.
wiki/syntax.1273748726.txt.gz · Zuletzt geändert: 13.05.2010 13:05 von Andreas Wolf