Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:syntax [2016/09/07 21:07] admin [Interne Links] |
wiki:syntax [2016/09/21 15:53] admin [xref Plugin zum formatieren von php] |
||
---|---|---|---|
Zeile 42: | Zeile 42: | ||
<color #FF0000>text</color> <color /#FFff00>text</color> | <color #FF0000>text</color> <color /#FFff00>text</color> | ||
- | ===== Hinweisfelder (Plugin) ===== | + | ===== xref Plugin zum formatieren von php ===== |
- | Durch das alertbox Plugin können farbige Hinweisfelder erstellt werden. | + | Dieses Plugin macht eine PHPXref generierte Dokumentation einfach verlinken. Sie können mit Funktionen, konstanten, Variablen, Klassen Tabellen und Dateinamen verknüpfen. Das Plugin wird herausfinden, was du gemeint hast automatisch. Die XRef Dokumentation muss auf dem gleichen Server wie der DokuWiki Installation mit diesem Plugin zur Verfügung. |
- | <alert info>Here is an informational message.</alert> | + | Die Syntax ähnelt Interwiki-Links. Starte einfach den Link mit der Xref > Schlüsselwort gefolgt von einer Funktion, konstante, Variable, Klasse, Tabelle oder Datei Name. |
- | <alert warning>Here is a warning message.</alert> | + | |
- | <alert danger>Something dangerous is happening!</alert> | + | Hier ein Beispiel: |
- | <alert success>Something good is happening!</alert> | + | |
+ | <code> | ||
+ | * A Funktion: [[xref>wl()]] | ||
+ | * A Variable: [[xref>$USERINFO]] | ||
+ | * A Class: [[xref>auth_basic]] | ||
+ | * A Datei: [[xref>inc/auth.php]] | ||
+ | * A Funktion mit einem Titel: [[xref>cleanID()|Dies ist eine wichtige Funktion]] | ||
+ | </code> | ||
+ | |||
+ | It looks like this: | ||
+ | |||
+ | * Funktion: [[xref>wl()]] | ||
+ | * A Variable: [[xref>$USERINFO]] | ||
+ | * A Class: [[xref>auth_basic]] | ||
+ | * A Datei: [[xref>inc/auth.php]] | ||
+ | * A Funktion mit einem Titel: [[xref>cleanID()|Dies ist eine wichtige Funktion]] | ||
+ | |||
+ | |||
+ | ===== Bootstrap Wrapper Plugin (plugin) ===== | ||
+ | |||
+ | Besuchen Sie vollständigen Beispielen und syntax http://www.lotar.altervista.org/dokuwiki/wiki/plugin/bootswrapper. | ||
+ | |||
+ | Dokumentationsdummy [[https://www.dokuwiki.org/plugin:bootswrapper#nav]] | ||
+ | |||
+ | === Jumbotron === | ||
+ | |||
+ | <jumbotron> | ||
+ | == Hallo, Welt! == | ||
+ | |||
+ | Dies ist eine einfache Box im jumbotron-style | ||
+ | als Komponente um zusätzliche Aufmerksamkeit auf besondere | ||
+ | Inhalte oder Informationen zu erregen. | ||
+ | </jumbotron> | ||
+ | |||
+ | <code> | ||
+ | <jumbotron> | ||
+ | == Hallo, Welt == | ||
+ | |||
+ | Dies ist eine einfache Box im jumbotron-style | ||
+ | als Komponente um zusätzliche Aufmerksamkeit auf besondere | ||
+ | Inhalte oder Informationen zu erregen. | ||
+ | </jumbotron> | ||
+ | </code> | ||
+ | |||
+ | === Panel === | ||
+ | |||
+ | <panel type="default" title="Titel des Panel" subtitle="Untertitel" icon="fa fa-house"> | ||
+ | Panel Inhaltestext | ||
+ | </panel> | ||
+ | |||
+ | <code> | ||
+ | <panel type="default" title="Titel des Panel" subtitle="Untertitel" icon="fa fa-house"> | ||
+ | Panel Inhaltestext | ||
+ | </panel> | ||
+ | </code> | ||
+ | |||
+ | === Alert === | ||
+ | |||
+ | <alert type="success" icon="glyphicon glyphicon-user" dismiss="true"> | ||
+ | **Gut gemacht!** Diese wichtige Warnmeldung wird sicher gelesen | ||
+ | </alert> | ||
+ | |||
+ | <code> | ||
+ | <alert type="success" icon="glyphicon glyphicon-user" dismiss="true"> | ||
+ | **Gut gemacht!** Diese wichtige Warnmeldung wird sicher gelesen | ||
+ | *</alert> | ||
+ | </code> | ||
+ | |||
+ | === Text === | ||
+ | |||
+ | * <text type="muted">muted</text> | ||
+ | |||
+ | * <text type="primary">Primäre</text> | ||
+ | |||
+ | * <text type="success">Erfolgreich</text> | ||
+ | |||
+ | * <text type="info">Info</text> | ||
+ | |||
+ | * <text type="warning">Warnung</text> | ||
+ | |||
+ | * <text type="danger">Gefährlich</text> | ||
+ | |||
+ | <code> | ||
+ | * <text type="muted">muted</text> | ||
+ | * <text type="primary">Primäre</text> | ||
+ | * <text type="success">Erfolgreich</text> | ||
+ | * <text type="info">Info</text> | ||
+ | * <text type="warning">Warnung</text> | ||
+ | * <text type="danger">Gefährlich</text> | ||
+ | </code> | ||
+ | |||
+ | === Tooltip === | ||
+ | |||
+ | <tooltip title="Sample Text" location="bottom">Lorem ipsum</tooltip> | ||
+ | dolor sit amet... | ||
+ | |||
+ | <code><tooltip title="Sample Text" location="bottom">Lorem ipsum</tooltip> dolor sit amet...</code> | ||
+ | |||
+ | === Grids === | ||
+ | |||
+ | <grid> | ||
+ | <col sm="6">.col-sm-6</col> | ||
+ | <col sm="6">.col-sm-6</col> | ||
+ | </grid> | ||
+ | |||
+ | <code><grid> | ||
+ | <col sm="6">.col-sm-6</col> | ||
+ | <col sm="6">.col-sm-6</col> | ||
+ | </grid></code> | ||
+ | |||
+ | <grid> | ||
+ | <col xs="12" sm="6" lg="8">.col-xs-12 .col-sm-6 .col-lg-8</col> | ||
+ | <col xs="6" lg="4">.col-xs-6 .col-lg-4</col> | ||
+ | </grid> | ||
+ | |||
+ | <code><grid> | ||
+ | <col xs="12" sm="6" lg="8">.col-xs-12 .col-sm-6 .col-lg-8</col> | ||
+ | <col xs="6" lg="4">.col-xs-6 .col-lg-4</col> | ||
+ | </grid></code> | ||
+ | |||
+ | === Thumbnail === | ||
+ | |||
+ | <grid> | ||
+ | ... | ||
+ | <col xs="6" md="3"> | ||
+ | <thumbnail> | ||
+ | {{ wiki:dokuwiki-128.png }} | ||
+ | </thumbnail> | ||
+ | </col> | ||
+ | ... | ||
+ | </grid> | ||
+ | |||
+ | <code><grid> | ||
+ | ... | ||
+ | <col xs="6" md="3"> | ||
+ | <thumbnail> | ||
+ | {{ wiki:dokuwiki-128.png }} | ||
+ | </thumbnail> | ||
+ | </col> | ||
+ | ... | ||
+ | </grid></code> | ||
+ | |||
+ | <grid> | ||
+ | ... | ||
+ | <col xs="6" md="3"> | ||
+ | <thumbnail> | ||
+ | {{ wiki:dokuwiki-128.png }} | ||
+ | <caption> | ||
+ | === DokuWiki === | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki.// | ||
+ | </caption> | ||
+ | </thumbnail> | ||
+ | ... | ||
+ | </col> | ||
+ | </grid> | ||
+ | |||
+ | |||
+ | <code><grid> | ||
+ | ... | ||
+ | <col xs="6" md="3"> | ||
+ | <thumbnail> | ||
+ | {{ wiki:dokuwiki-128.png }} | ||
+ | <caption> | ||
+ | === DokuWiki === | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki.// | ||
+ | </caption> | ||
+ | </thumbnail> | ||
+ | ... | ||
+ | </col> | ||
+ | </grid></code> | ||
+ | |||
+ | |||
+ | === Well === | ||
+ | |||
+ | <well>Look, I'm in a well!</well> | ||
+ | |||
+ | <code><well>Look, I'm in a well!</well></code> | ||
+ | |||
+ | === Button === | ||
+ | |||
+ | <button type="success" size="lg" icon="glyphicon glyphicon-edit">[[:wiki:welcome]]</button> | ||
+ | |||
+ | <code><button type="success" size="lg" icon="glyphicon glyphicon-edit">[[:wiki:welcome]]</button></code> | ||
+ | |||
+ | === Nav === | ||
+ | |||
+ | <nav> | ||
+ | * [[:start]] | ||
+ | * [[:plugin:bootswrapper|Plugin]] | ||
+ | * [[playground:playground]] | ||
+ | * DokuWiki | ||
+ | * [[:wiki:welcome]] | ||
+ | * [[:wiki:syntax]] | ||
+ | </nav> | ||
+ | |||
+ | <code><nav> | ||
+ | * [[:start]] | ||
+ | * [[:plugin:bootswrapper|Plugin]] | ||
+ | * [[playground:playground]] | ||
+ | * DokuWiki | ||
+ | * [[:wiki:welcome]] | ||
+ | * [[:wiki:syntax]] | ||
+ | </nav></code> | ||
+ | |||
+ | === Configuration and Settings === | ||
+ | |||
+ | ^ Configuration ^ Default ^ | ||
+ | ^ loadBootstrap | 1 | | ||
+ | |||
+ | <code> | ||
+ | ^ Configuration ^ Default ^ | ||
+ | ^ loadBootstrap | 1 | | ||
+ | </code> | ||
+ | |||
+ | FIXME | ||
Zeile 96: | Zeile 312: | ||
This links to [[syntax#internal|this Section]]. | This links to [[syntax#internal|this Section]]. | ||
- | <alert info>Bemerkung: | + | Bemerkung: |
* Links zu [[Syntax|vorhandenen Seiten]] sehen anders aus als Links zu [[nicht existierenden]] Seiten. | * Links zu [[Syntax|vorhandenen Seiten]] sehen anders aus als Links zu [[nicht existierenden]] Seiten. | ||
* DokuWiki verwendet keine [[wp>CamelCase|Höckerschrift]]-Links standardmäßig. Wie man dies automatisch erstellen kann, wird in der [[Doku>de:config]] Datei eingestellt.\\ Hinweis: Wenn DokuWiki ein Link ist, ist es aktiviert. | * DokuWiki verwendet keine [[wp>CamelCase|Höckerschrift]]-Links standardmäßig. Wie man dies automatisch erstellen kann, wird in der [[Doku>de:config]] Datei eingestellt.\\ Hinweis: Wenn DokuWiki ein Link ist, ist es aktiviert. | ||
- | * Wenn eine Abschnittsüberschrift geändert wird, verändert sich auch seine Lesezeichen. Somit sollte man sich auf Abschnitt Verknüpfung nicht zu sehr verlassen.</alert> | + | * Wenn eine Abschnittsüberschrift geändert wird, verändert sich auch seine Lesezeichen. Somit sollte man sich auf Abschnitt Verknüpfung nicht zu sehr verlassen. |
==== Interwiki ==== | ==== Interwiki ==== | ||