Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
wiki:syntax [2009/08/31 12:14] – cg301 | wiki:syntax [2012/04/19 11:24] – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== |
+ | [[doku> | ||
- | ===== Seite erstellen | + | ===== Basic Text Formatting |
- | Um einen neuen Artikel zu erstellen, klicken Sie im Navigationskasten links auf " | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
- | ===== Seite bearbeiten ===== | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
+ | Of course you can **__//'' | ||
- | Um eine Seite zu bearbeiten, klicken an der oberen Leiste auf "Seite bearbeiten" | + | You can use < |
- | * Wählen Sie eine aussagekräftige Überschrift. | + | You can use < |
- | * Mit Hervorhebungen aller Art (fett, kursiv, bunt etc.) bitte sparsam umgehen. | + | |
+ | You can mark something as < | ||
- | ===== Schlagwörter | + | You can mark something as < |
- | Jedem Artikel können Schlagwörter zugeordnet werden. Dies erleichtert die Navigation im Wiki, denn die verschlagworteten Seiten erscheinen automatisch auf einer Übersichtseite. Wählen Sie unter jedem Artikel die passenden Stichwörter aus. | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. |
- | ===== Wiki-Syntax ===== | + | This is some text with some linebreaks\\ Note that the |
+ | two backslashes are only recognized at the end of a line\\ | ||
+ | or followed by\\ a whitespace \\this happens without it. | ||
+ | This is some text with some linebreaks\\ Note that the | ||
+ | two backslashes are only recognized at the end of a line\\ | ||
+ | or followed by\\ a whitespace \\this happens without it. | ||
- | ==== Textformatierung ==== | + | You should use forced newlines only if really needed. |
- | === Schrift | + | ===== Links ===== |
- | ^Syntax^Ergebnis^ | + | DokuWiki supports multiple ways of creating links. |
- | |%%**fett**%%|**fett**| | + | |
- | |%%// | + | |
- | |%%__unterstrichen__%%|__unterstrichen__| | + | |
- | |%%'' | + | |
- | |%%< | + | |
- | |%%< | + | |
- | |%%< | + | |
+ | ==== External ==== | ||
- | ===Absätze === | + | External links are recognized automagically: |
- | Ein Absatz wird erzeugt durch | + | |
- | * eine leere Zeile oder | + | |
- | * %%\\%% am Ende einer Zeile oder | + | |
- | * %%\\%% plus ein Leerzeichen | + | |
- | === Überschriften ==== | + | DokuWiki supports multiple ways of creating links. External links are recognized |
- | Überschriften werden mit maximal sechs " | + | |
- | | + | |
- | | + | |
- | ==== Überschrift Ebene 3 ==== | + | |
- | === Überschrift Ebene 4 === | + | |
- | == Überschrift Ebene 5 == | + | |
- | Innerhalb von Überschriften können keine weiteren Formatierungen vorgenommen werden! | + | ==== Internal ==== |
- | Überschrift 1 steht am Anfang eines Artikels. Wenn in einer Seite mehr als 3 Überschriften vorkommen, wird automatisch ein Inhaltsverzeichnis erstellt, welches alle Überschriften auflistet. | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
- | Soll kein Inhaltsverzeichnis erstellt werden, muss der Befehl: ''< | + | Internal links are created by using square brackets. You can either just give |
+ | a [[pagename]] or use an additional [[pagename|link text]]. | ||
+ | [[doku> | ||
- | === unformatierte Abschnitte === | + | You can use [[some: |
- | Um Text unformatiert in einer Box erscheinen zu lassen, beginnt man jede Zeile mit zwei Leerzeichen oder verwendet %%< | + | You can use [[some:namespaces]] by using a colon in the pagename. |
- | Um Text unformatiert in einer Box erscheinen zu lassen, beginnt man jede Zeile mit zwei Leerzeichen | + | For details about namespaces see [[doku> |
- | oder %%< | + | 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 [[syntax# |
- | Um jegliche Umwandlung durch DokuWiki abzustellen, | + | Notes: |
+ | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
+ | * DokuWiki does not use [[wp> | ||
+ | * When a section' | ||
- | === Zitat / Kommentar | + | ==== Interwiki ==== |
- | Zitate oder Kommentar werden mit dem " | + | |
- | %%> Zitat 1%% | + | DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia' |
- | %%>> | + | DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. |
+ | For example this is a link to Wikipedia' | ||
- | %%>>> | + | ==== Windows Shares ==== |
- | ergibt: | + | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> |
- | > Zitat 1 | + | Windows Shares like [[\\server\share|this]] are recognized, too. |
- | >> Antwort auf Zitat 1 | + | Notes: |
- | >>> | + | * 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:// | ||
- | + | $lang[' | |
- | ==== Links ==== | + | ==== Image Links ==== |
- | Mit DokuWiki können 5 unterschiedliche Arten von Links benutzt werden: | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
- | ^Externe Links|Externe Links (Verweise auf andere Webseiten oder Dateien) werden automatisch erkannt: %%http:// | + | |
- | ^ |Links können auch hinter Begriffen versteckt werden: %%[[http:// | + | |
- | ^E-Mail-Adressen|%%< | + | |
- | ^ |oder ebenfalls hinter Begriffen versteckt %%[[andi@splitbrain.org|Mail an Andi]]%%|[[andi@splitbrain.org|Mail an Andi]]| | + | |
- | ^Interne Links|%%[[start]]%% Namen für neue Seiten werden automatisch in Kleinbuchstaben umgewandelt. Umlaute sind genauso wie Sonderzeichen nicht erlaubt!|[[start]]| | + | |
- | ^ |Interne Links können ebenfalls hinter Beschreibungen versteckt werden %%[[start|Startseite]]%%|[[start|Startseite]]| | + | |
- | ^ |Links zu [[: | + | |
- | ^Links zu anderen Wikis|%%[[doku> | + | |
- | ^Bilder als Links|BEs ist möglich, auf interne oder externe Bilddateien zu verlinken. Dazu wird die Syntax zur Anzeige von Links einfach mit der zur Anzeige von Bildern kombiniert: %%[[http:// | + | |
- | ==== Bilder und andere Dateien ==== | + | [[http:// |
- | Mit geschweiften Klammern können sowohl externe als auch interne eingebunden werden. Optional kann deren Größe angegeben werden: | + | Please note: The image formatting is the only formatting syntax accepted in link names. |
- | ^Original Größe|%%{{wiki: | + | The whole [[# |
- | ^Breite vorgeben|%%{{wiki: | + | |
- | ^Breite und Höhe vorgeben|%%{{wiki: | + | |
- | ^Größe für externe Bilder vorgeben|%%{{http:// | + | |
- | === Ausrichten von Bildern | + | ===== Footnotes ===== |
- | Mit Leerzeichen zur Rechten und/oder Linken innerhalb der Klammern kann ein Bild horizontal ausgerichtet werden(links, | + | |
- | {{ wiki: | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
- | {{wiki: | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
- | {{ wiki: | + | ===== Sectioning ===== |
+ | |||
+ | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | ||
+ | |||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | |||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | |||
+ | By using four or more dashes, you can make a horizontal line: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Images and Other Files ===== | ||
+ | |||
+ | You can include external and internal [[doku> | ||
+ | |||
+ | Real size: {{wiki: | ||
+ | |||
+ | Resize to given width: | ||
+ | |||
+ | Resize to given width and height((when the aspect ratio of the given width and height doesn' | ||
+ | |||
+ | Resized external image: | ||
+ | |||
+ | Real size: {{wiki: | ||
+ | Resize to given width: | ||
+ | Resize to given width and height: {{wiki: | ||
+ | Resized external image: | ||
+ | |||
+ | |||
+ | By using left or right whitespaces you can choose the alignment. | ||
+ | |||
+ | {{ wiki: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | {{ wiki: | ||
{{ wiki: | {{ wiki: | ||
Zeile 124: | Zeile 152: | ||
{{ wiki: | {{ wiki: | ||
+ | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
- | === Tooltipps === | + | {{ wiki: |
- | Auch Titel, in den meisten Browsern als Tooltip angezeigt, können angegeben werden. | + | |
- | %%{{ wiki: | + | |
- | === Bilderrahmen === | + | If you specify a filename (external or internal) that is not an image ('' |
- | Mit einfachen eckigen Klammern wird ein Bilderrahmen erzeugt. Hier wird der Titel nicht als Tooltipp, sondern im Rahmen als Bilduntertitel angezeigt: | + | |
- | %%[{{ wiki: | + | For linking an image to another page see [[#Image Links]] above. |
+ | ===== Lists ===== | ||
- | === Dateidownload ==== | + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' |
- | Alle Dateien außer Bilder ('' | + | * This is a list |
+ | * The second item | ||
+ | * You may have different levels | ||
+ | * Another item | ||
- | %%{{ wiki: | + | |
+ | | ||
+ | | ||
+ | - That's it | ||
+ | < | ||
+ | * This is a list | ||
+ | * The second item | ||
+ | * You may have different levels | ||
+ | * Another item | ||
- | ===== 3.6 Automatische Verlinkung ===== | + | - The same list but ordered |
+ | - Another item | ||
+ | - Just use indention for deeper levels | ||
+ | - That's it | ||
+ | </ | ||
- | Bilder werden automatisch mit einer Verlinkung zur Ihren [[wp>Metadata|Metadaten]] erstellt | + | Also take a look at the [[doku>faq:lists|FAQ on list items]]. |
- | %%{{wiki: | + | |
- | Dieses Verhalten kann über die Option ? | + | ===== Text Conversions ===== |
- | %%{{wiki: | + | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. |
- | Außerdem kann mit ?direct das Bild, z.Bsp. als Vollansicht, | + | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, but can be configured to use other HTML as well. |
- | %%{{wiki: | + | ==== Text to Image Conversions ==== |
- | ==== Listen ==== | + | DokuWiki converts commonly used [[wp> |
- | Um einen Listeneintrag zu erzeugen, beginne eine Zeile mit 2 Leerzeichen. Diesen Leerzeichen folgt dann ein " | + | |
- | < | + | * 8-) %% 8-) %% |
+ | * 8-O %% 8-O %% | ||
+ | * :-( %% :-( %% | ||
+ | * :-) %% :-) %% | ||
+ | * =) %% =) %% | ||
+ | * :-/ %% :-/ %% | ||
+ | * :-\ %% :-\ %% | ||
+ | * :-? %% :-? %% | ||
+ | * :-D %% :-D %% | ||
+ | * :-P %% :-P %% | ||
+ | * :-O %% :-O %% | ||
+ | * :-X %% :-X %% | ||
+ | * :-| %% :-| %% | ||
+ | * ;-) %% ;-) %% | ||
+ | * ^_^ %% ^_^ %% | ||
+ | * :?: %% :?: %% | ||
+ | * :!: %% :!: %% | ||
+ | * LOL %% LOL %% | ||
+ | * FIXME %% FIXME %% | ||
+ | | ||
- | * Ein zweiter Eintrag | + | ==== Text to HTML Conversions ==== |
- | * Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen</ | + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
+ | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
+ | "He thought ' | ||
- | * Dies ist ein Eintrag einer unsortierten Liste | + | < |
- | * Ein zweiter Eintrag | + | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) |
- | * Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen | + | "He thought ' |
+ | </ | ||
+ | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> | ||
- | <code> - Dies ist ein Eintrag einer nummerierte Liste | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
- | - Ein zweiter Eintrag | + | ===== Quoting ===== |
- | - Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen</ | + | 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' | ||
+ | | ||
+ | >> Well, I say we should | ||
+ | | ||
+ | > Really? | ||
+ | | ||
+ | >> Yes! | ||
+ | | ||
+ | >>> | ||
- | - Dies ist ein Eintrag einer nummerierte Liste | + | I think we should do it |
- | - Ein zweiter Eintrag | + | |
- | - Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen | + | |
+ | > No we shouldn' | ||
- | ==== Tabellen ==== | + | >> Well, I say we should |
- | Tabellenfelder werden mit senkrechten Stricken erzeugt. Felder einer Tabelle starten mit " | + | > Really? |
+ | >> Yes! | ||
- | ^ hervorgehoben | + | >>> |
- | | Zeile 1 Spalte 1 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | | Zeile 2 Spalte 1 | doppelte Spaltenbreite (beachte den doppelten senkrechten Strich) || | + | |
- | | Zeile 3 Spalte 1 | Zeile2 Spalte 2 | Zeile 2 Spalte 3 | | + | |
+ | ===== Tables ===== | ||
- | ^ hervorgehoben | + | DokuWiki supports a simple syntax to create tables. |
- | | Zeile 1 Spalte 1 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | | Zeile 2 Spalte 1 | doppelte Spaltenbreite (beachte den doppelten senkrechten Strich) || | + | |
- | | Zeile 3 Spalte 1 | Zeile2 Spalte 2 | Zeile 2 Spalte 3 | | + | |
+ | ^ 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 | | ||
- | Zellen über mehrere Spalten werden erzeugt, wenn man am Ende einer solchen Spalte soviele "|" oder "^" ohne Leerzeichen dazwischen hintereinander setzt, wie Spalten überbrückt werden.\\ | + | Table rows have to start and end with a '' |
- | Kurz gesagt: Alle Zeilen einer Tabelle müssen die gleiche Anzahl an Feldtrennern " | + | |
- | Hervorgehobene Felder in Vertikaler Ausrichtung sind auch möglich. | + | ^ 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 | | ||
- | | ^ hervorgehoben 1 ^ hervorgehoben 2 ^ | + | To connect cells horizontally, |
- | ^ hervorgehoben 3 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | ^ hervorgehoben 4 | Zeile 2 Spalte 2 | | | + | |
- | ^ hervorgehoben 5 | Zeile 3 Spalte 2 | Zeile 3 Spalte 3 | | + | |
- | Wie wir sehen, entscheidet der Feldtrenner (" | + | Vertical tableheaders are possible, too. |
- | | + | | ^ Heading |
- | ^ hervorgehoben | + | ^ Heading |
- | ^ hervorgehoben | + | ^ Heading |
- | ^ hervorgehoben | + | ^ Heading |
- | Anmerkung: Felder über mehrere Zeilen werden nicht unterstützt. | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
- | | + | |
- | | + | ^ 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 connected cells) by adding '':::'' |
- | | | + | |
- | |Links | | + | ^ 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. | ||
+ | |||
+ | | ||
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ||
+ | | Row 3 Col 1 | ||
+ | |||
+ | 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 | ||
+ | | | ||
+ | |left | | ||
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | So sieht die Formatierung aus: | + | This is how it looks in the source: |
- | ^ | + | ^ Table with alignment |
- | | | + | | right| |
- | |Links | | + | |left | |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | |Hinweis zu dem senkrechten Balken-Zeichen: dieses Zeichen ist auf einer PC-Tastatur erreichbar über die Taste "<" | + | Note: Vertical alignment is not supported. |
- | ====== 6 sonstige Formatierungen ====== | + | ===== No Formatting |
- | ===== 6.1 Fußnoten ===== | + | If you need to display text exactly like it is typed (without any formatting), |
- | Fußnoten ((dies ist eine Fußnote)) werden durch eine doppelte runde Klammer dargestellt ((eine zweite Fußnote)). Der Text zwischen den Klammern wird an das Ende der Seite geschrieben. Die Reihenfolge und somit die Nummerierung übernimmt DokuWiki. | + | < |
+ | This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, | ||
+ | </ | ||
+ | The same is true for %%// | ||
- | | + | |
+ | This is some text which contains addresses like this: http:// | ||
+ | </ | ||
+ | The same is true for %%// | ||
- | ===== 6.2 horizontale Linie ===== | + | ===== Code Blocks |
- | Mit 4 aufeinander folgenden Minuszeichen (alleine in einer Zeile) kann eine horizontale Linie erzeugt werden: | + | |
- | ---- | + | |
- | < | + | |
- | ===== 6.3 Smileys ===== | + | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' |
- | Dokuwiki verwandelt oft genutzte [[wp> | + | This is text is indented by two spaces. |
- | Weitere Smiley-Grafiken können im Ordner " | + | |
- | Hier ist nun eine Übersicht der standardmäßig in DokuWiki enthaltenen Smileys: | + | |
- | ^ 8-) ^ 8-O ^ | + | < |
- | | %% 8-) %% | %% 8-O %% | %% :-( %% | %% :-) %% | %% =) | + | This is preformatted code all spaces are preserved: like <-this |
+ | </code> | ||
- | ===== 6.4 Typografie ===== | + | < |
+ | This is pretty much the same, but you could use it to show that you quoted a file. | ||
+ | </ | ||
- | [[DokuWiki]] kann einfache Textzeichen in ihre typografischen Entsprechungen umwandeln.\\ | + | Those blocks were created by this source: |
- | Hier eine Liste aller Zeichen, die DokuWiki kennt: | + | |
- | -> <- <-> => <= <=> >> << | + | This is text is indented by two spaces. |
- | "He thought | + | |
+ | <code> | ||
+ | This is preformatted code all spaces are preserved: like | ||
+ | | ||
+ | |||
+ | <file> | ||
+ | This is pretty much the same, but you could use it to show that you quoted a file. | ||
+ | | ||
+ | |||
+ | ==== Syntax Highlighting ==== | ||
+ | |||
+ | [[wiki: | ||
+ | |||
+ | <code java> | ||
+ | /** | ||
+ | * The HelloWorldApp class implements an application that | ||
+ | * simply displays "Hello World!" | ||
+ | */ | ||
+ | class HelloWorldApp { | ||
+ | public static void main(String[] args) { | ||
+ | System.out.println("Hello World!" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The following language strings are currently recognized: //4cs, abap, actionscript-french, | ||
+ | |||
+ | ==== Downloadable Code Blocks ==== | ||
+ | |||
+ | When you use the '' | ||
< | < | ||
- | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | <file php myexample.php> |
- | "He thought ' | + | <?php echo "hello world!"; ?> |
+ | </ | ||
</ | </ | ||
- | Bitte beachtet: Diese Umwandlungen können in der Konfigurationsdatei abgestellt werden | + | <file php myexample.php> |
+ | <?php echo "hello world!"; | ||
+ | </ | ||
- | ===== 6.5 HTML und PHP einbinden | + | If you don't want any highlighting but want a downloadable file, specify a dash ('' |
- | In einer Seite kann sowohl HTML als auch PHP direkt benutzt werden : | ||
- | < | + | ===== Embedding |
- | This is some <font color=" | + | |
- | </html> | + | You can embed raw HTML or PHP code into your documents by using the '' |
+ | |||
+ | HTML example: | ||
< | < | ||
< | < | ||
- | This is some <font color="red" | + | This is some <span style="color:red;font-size:150%;">inline |
</ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
</ | </ | ||
- | Oder hier PHP: | + | < |
+ | This is some <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
+ | PHP example: | ||
+ | |||
+ | < | ||
<php> | <php> | ||
echo 'A logo generated by PHP:'; | echo 'A logo generated by PHP:'; | ||
echo '< | echo '< | ||
+ | echo ' | ||
</ | </ | ||
+ | <PHP> | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
+ | </ | ||
- | < | ||
<php> | <php> | ||
echo 'A logo generated by PHP:'; | echo 'A logo generated by PHP:'; | ||
echo '< | echo '< | ||
+ | echo ' | ||
</ | </ | ||
- | </code> | + | < |
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </PHP> | ||
- | **Achtung**: Das Einbinden von HTML und PHP in einer Seite kann in der Konfigurationsdatei ausgeschaltet werden((Konfigurationsoptionen [[config: | + | **Please Note**: HTML and PHP embedding is disabled by default |
- | **Achtung**: Das Einbinden von HTML und PHP auf einer Seite im Internet ist gewöhnlich ein schweres Sicherheitsrisiko! Diese Funktion ist nur für das Intranet gedacht! | + | ===== RSS/ATOM Feed Aggregation ===== |
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | ====== | + | ^ Parameter |
+ | | any number | will be used as maximum number items to show, defaults to 8 | | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | show item dates | | ||
+ | | description| show the item description. If [[doku> | ||
+ | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
- | Manche Syntax Befehle beeinflussen wie Dokuwiki eine Seite bei jedem Aufruf ausgibt. Die folgenden Kontroll Makros sind verfügbar: | + | 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: |
- | ^Macro^ Description^ | + | |
- | |%%~~NOTOC~~%%|Wenn dieses Makro im in eine Seite eingebunden ist, wird das [[:toc|Table of Content]] nicht erstellt.| | + | |
- | |%%~~NOCACHE~~%%|Dokuwiki Seiten werden standardgemäß in einen Zwischenspeicher gesichert. Manchmal ist das aber nicht gewollt ( z.B. bei <php> Syntax Befehlen). Beim einfügen dieses Makros wird Dokuwiki gezwungen bei jedem Aufruf die Seite neu einzulesen.| | + | |
- | ====== 7 Syntax-Plugins ====== | + | |
- | DokuWikis Syntax kann durch [[doku> | + | |
- | ~~INFO:syntaxplugins~~ | + | **Example:** |
- | ====== Backgroundinfos zu dieser Seite====== | + | {{rss>http://slashdot.org/index.rss 5 author date 1h }} |
- | Diese Seite ist eine Übersetzung der [[http://www.splitbrain.org/dokuwiki/ | + | |
- | Sie ist keine wortgleiche Übersetzung. Einige Beschreibungen sind etwas ausführlicher ausgefallen. Fachbegriffe werden nur dort verwendet, wo eine Umschreibung mehr Verwirrung stiftet als nützt.\\ | + | |
- | Ähnliches gilt auch für Begriffe, die dem Englischen entspringen, | + | |
- | Der Übersetzer ist sich selbst nicht sicher, ob er lieber den Begriff " | + | |
- | An einigen Stellen befindet sich ein FIXME - hier gibt es etwas, was im Sinne des Übersetzers noch nicht gut umgesetzt wurde. | + | {{rss> |
- | * Anregungen, Bemerkungen oder Hinweise auf Fehler sind willkommen. | + | |
- | * euer Sebastian Koch => mr_snede *at* web ~dot~ de | + | |
+ | ===== Control Macros ===== | ||
+ | |||
+ | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
+ | |||
+ | ^ Macro ^ Description | | ||
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
+ | |||
+ | ===== Syntax Plugins ===== | ||
+ | |||
+ | DokuWiki' | ||
+ | |||
+ | ~~INFO: | ||
- | Seite grundlegend überarbeitet von --- // | ||
- | {{tag> |