Zuletzt angesehen: • Penetratoren • Lederprüfung Lederbeurteilung thematische Übersichtsseite • Lederpedia Plugins und Formatierungen
Lederpedia Plugins und Formatierungen
Zuerst im Playground / Sandkasten ausprobieren
Allerdings sollten Sie zuerst in den Playground /Sandkasten wechseln um im Umgang mit dieser Informationsmaschine sicherer zu werden. Dort können Sie nach Herzenslust alles ausprobieren. Sie können hier irgendwelche Pseudoinformationen hinein schreiben, alles kein Problem denn in regelmäßigen Abständen wird der Sankasten einfach geleert. </box>
Wie man als Gast oder User Themen diskutiert
Sowohl als Gast als auch als User kann man über Themen / Beiträge diskutieren wenn man nicht gleich etwas ändern möchte sondern eine Anregung hat oder nachfragen möchte. Die Diskussionsmöglichkeit bietet eine wunderbare Ergänzungsmöglichkeit zur Anregung von Themen oder zur Anregung der Vervollständigung von Beiträgen.
Wie man Themen bearbeitet
Wenn Sie ein Thema bearbeiten / verändern / erweitern / modifizieren möchten einfach unter oder oberhalb des Beitrages diese Seite bearbeiten klicken. Beitrag einfach bearbeiten und speichern. Dann ist dieser Beitrag schon online. Der Admin wird dann prüfen ob der Beitrag ok ist und diesen dann übernommen belassen, verändern oder entfernen. Wird der Beitrag entfernt kommt die letzt Version vorher dran oder einige andere vorherige Versionen.
Suche von Beiträgen
Sie können Beiträge über die linke Baumstruktur suchen oder das Suchfeld oben rechts benutzen. Dort einfach hinein schreiben was man sucht. Im oberen rechten Suchfeld können Sie alle Begriffe suchen die Ihnen einfallen.
Wie man Kategorien und Beiträge anlegt
Bitte Beachten Sie dabei folgende wichtige Informationen:
- Nummerierter Listenpunkt im oberen rechten Suchfeld können Sie alle Begriffe suchen die Ihnen einfallen.
- Nummerierter Listenpunkt wenn keine Einträge vorhanden sind und Sie dieses Thema aber erstellen wollen geben Sie bitte in die Suchzeile oben rechts die jeweilige Kategorie gefolgt von einem Doppelpunkt ein.
- Nummerierter Listenpunkt Ihr Thema ist dann das letzte Wort / Beschreibung nach dem Doppelpunkt.
- Nummerierter Listenpunkt Sind mehrere Kategorien und Unterkategorien vorhanden ebenfalls bitte immer mit Doppelpunkt unterteilen.
Beispiele:
Das sieht dann so aus: Sie wollen in der Kategorie lederpedia in der Unterkategorie Lederfehler Produktionsfehler einbauen. Geben Sie dann in der oberen Suchleiste folgendes ein: lederpedia:lederfehler:Produktionsfehler damit hätten Sie dann eine neue Seite mit dem Namen Produktionsfehler in der Unterkategorie Lederfehler von Lederpedia erstellt. Probieren Sie das einmal im Playground so aus: Klick auf Playground und dann oben rechts im Suche Fenster einfach einmal playground:ich teste aus eingeben. Mit klick auf Übersicht sieht man die neues Seite dann. Für eine weitere Kategorie unter Playground hätte man dann einfach playground:ich bin einen neue Kategorie:ich teste aus eingeben können.
Überschriften H1-H5
Die Ueberschriften beim Verfassen von Lederpedia Beitraegen dienen insbesondere zur Erstellung von Inhaltsangaben die dann gleichzeitig einen Textanker bedeuten. So kann man direkt bei Klick auf einen eingerueckten Eintrag im Inhaltsverzeichnis auf den entsprechenden Text springen.Dabei gilt, dass H1 die erste Überschrift ist, H2 die erste Unterüberschrift usw.
Beispiele:
Das Leder
Lederarten
Lederherstellung
. . . . . .
—-
Der externe Link
Syntax (deutsch)
Einleitung
DokuWiki zeichnet sich durch einfache Formatierungen aus. Dadurch bleiben die Dateien, die den Inhalt enthalten, gut lesbar.
Hier wird die Syntax beschrieben um Seiten zu bearbeiten.
Schau dir zum Beispiel diese Seite an, indem du den „Diese Seite bearbeiten“ Knopf oben oder unten drückst.
Zum Ausprobieren oder Üben kannst du den Spielplatz verwenden.
Einfache Formatierungen sind direkt durch wiki:de:quickbuttons in der „Menüleiste“ über dem Editor erreichbar.
zur Übersetzung
Diese Seite ist eine Übersetzung der Syntax-Seite aus DokuWiki (2005-07-13).
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, für manche gibt es keine direkte Übersetzungen. Oder sie sind schon so bekannt, dass eine Übersetzung unsinnig ist.
Der Übersetzer ist sich selbst nicht sicher, ob er lieber den Begriff „Link“ oder „Verweis“ benutzen soll.
An einigen Stellen befindet sich ein
- hier gibt es etwas, was im Sinne des Übersetzers noch nicht gut umgesetzt wurde.
- Anregungen, Bemerkungen oder Hinweise auf Fehler sind willkommen.
- euer Sebastian Koch ⇒ mr_snede *at* web ~dot~ de
1 Texte
1.1 Formatierungen
DokuWiki unterstützt fetten, kursiven, unterstrichenen und monospaced Text. Natürlich kann auch alles kombiniert werden.
DokuWiki unterstützt **fetten**, //kursiven//, __unterstrichenen__ und ''monospaced'' Text. Natürlich kann auch alles **__''kombiniert''//__** werden.
Ebenso gibt es tiefgestellten und hochgestellten Text.
Ebenso gibt es <sub>tiefgestellten</sub> und <sup>hochgestellten</sup> Text.
Text kann als gelöscht
deleted
1) markiert werden.
Text kann als gelöscht <del>deleted</del> markiert werden.
1.2 Absätze
Ein Absatz wird durch eine leere Zeile erzeugt.
Eine neue Zeile (Zeilenumbruch) kann durch zwei "backslashes" (umgekehrte Schrägstriche: \\) gefolgt von einem Leerzeichen erzeugt werden.
Dies ist ein Beispieltext mit einigen Zeilenumbrüchen.
Beachte die zwei umgekehrten Schrägstriche
werden nur erkannt, wenn sie am Zeilenende stehen
oder wenn ihnen ein
Leerzeichen folgt \\so sieht es ohne Leerzeichen aus.
Dies ist ein Beispieltext mit einigen Zeilenumbrüchen.\\ Beachte die zwei umgekehrten Schrägstriche werden nur erkannt, wenn sie am Zeilenende stehen\\ oder wenn ihnen ein\\ Leerzeichen folgt \\so sieht es ohne Leerzeichen aus.
Zeilenumbrüche durch zwei „backslashes“ (umgekehrte Schrägstriche: \\) sollten nur verwendet werden, wenn sie unbedingt gebraucht werden.
1.3 Überschriften
Mit fünf unterschiedlichen Ebenen, getrennt durch Überschriften, kann der Inhalt einer Seite strukturiert werden.
Die Überschriften werden mit maximal sechs “=“ eingerahmt, je nach Größe. H1 ist die Überschrift auf höchster Ebene. Am einfachsten zur Erzeugung der Überschriften die Symbolleiste verwenden und hier auf die die Buttons H1, H2 oder H3 klicken.
Es ist sinnvoll, wenn immer eine Level 1 Überschrift am Anfang eines Artikels steht.
Wenn in einer Seite mehr als 3 Überschriften vorkommen, wird automatisch ein Inhaltsverzeichnis erstellt, welches alle Überschriften auflistet.
Soll dieses Inhaltsverzeichnis nicht erstellt werden, muß der Befehl: ~~NOTOC~~ mit in die Seite aufgenommen werden.
====== Überschrift Ebene 1 ====== ===== Überschrift Ebene 2 ===== ==== Überschrift Ebene 3 ==== === Überschrift Ebene 4 === == Überschrift Ebene 5 ==
Innerhalb von Überschriften können keine weiteren Formatierungen vorgenommen werden!
1.4 unformatierte Abschnitte
Um einen Text so anzuzeigen, wie er geschrieben wurde, egal ob er DokuWiki Formatierungen oder andere Formatierungen enthält, kann man jede Zeile mit zwei Leerzeichen beginnen (so wie es in dieser Seite angewendet wurde) oder einen der Bezeichner „code“ bzw „file“ benutzen:
Mit "code": In diesem Text werden keine überflüssigen Leerzeichen entfernt: wie hier <-- zwischen
Mit "file": Eigentlich das Gleiche wie oben, sieht nur etwas anders aus. \\ Vielleicht um Zitate zu kennzeichnen oder ähnliches.
Um jegliche Umwandlung durch Dokuwiki abzustellen, umschließe den entsprechenden Bereich mit „nowiki“ Bezeichnern oder kürzer mit doppelten Prozentzeichen %%.
Dieser Text enthält links wie: http://www.splitbrain.org und **Formatierungen** aber sie werden nicht umgesetzt und erscheinen als normaler Text.
Einfach den Quelltext dieser Seite anschauen (den Knopf „edit“ drücken) um zu sehen, wie diese Blöcke angewendet werden.
1.5 Syntax-Hervorhebung
DokuWiki kennt Syntax highlighting für Quellcode, um dessen Lesbarkeit zu erhöhen. Dafür wird GeSHi „Generic Syntax Highlighter“ benutzt. Somit wird jede Programmiersprache unterstützt, die GeSHi kennt.
Es wird der gleiche Bezeichner wie im vorherigen Abschnitt benutzt, nur dass er nun auch den Namen der Sprache enthält:
<code java> Quelltext </code>
/** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } }
Es werden folgende Sprachen unterstützt:
actionscript, actionscript-french, ada, apache, applescript, asm, asp, bash, caddcl, cadlisp, c, c_mac, cpp, csharp, css, delphi, diff, d, div, dos, eiffel, freebasic, gml, html4strict, ini, inno, java, javascript, lisp, lua, matlab, mpasm, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, perl, php-brief, php, python, qbasic, scheme, sdlbasic, smarty, sql, ruby, vb, vbnet, vhdl, visualfoxpro, xml
1.6 Zitat / Kommentar
Um einen Text als Zitat oder Kommentar zu kennzeichen, wird das „größer als“ - Zeichen folgendermaßen verwendet:
Ich denke wir sollten es tun. > Nein, sollten wir nicht. >> Doch! > Wirklich? >> Ja! >>> Dann lass es uns tun! >>> Kommentare oder Zitate können auch über mehrere Zeilen gehen, wie dieser völlig unsinnige Text zeigt. Um einen Text als Zitat oder Kommentar zu kennzeichen, wird das "größer als" - Zeichen folgendermaßen verwendet
Ich denke wir sollten es tun
Nein, sollten wir nicht.
Doch!
Wirklich?
Ja!
Dann lass es uns tun
Kommentare oder Zitate können auch über mehrere Zeilen gehen, wie dieser völlig unsinnige Text zeigt. Um einen Text als Zitat oder Kommentar zu kennzeichen, wird das „größer als“ - Zeichen folgendermaßen verwendet
2 Links
Mit DokuWiki können 5 unterschiedliche Arten von Links benutzt werden:
2.1 Extern
Externe Links (Verweise auf andere Webseiten oder Dateien) werden automatisch erkannt: http://www.google.com oder einfach www.google.com
Verweise können auch hinter eigenen Begriffen versteckt werden: hier ist google
E-mail Adressen werden in spitze Klammern gesetzt: mail@lederpedia.de
Externe Links werden automatisch erkannt: http://www.google.com oder einfach www.google.com\\ Verweise können auch hinter eigenen Begriffen versteckt werden: [[http://www.google.com|hier ist google]] \\ E-mail Adressen werden in spitze Klammern gesetzt: <mail@lederpedia.de>
2.2 Intern
Interne Links, also Verweise auf Seiten innerhalb von DokuWiki, werden in doppelten eckigen Klammern gesetzt(„altgr+8“ bzw. altgr+9 auf einer win-tastatur bzw Wahltaste+5 und Wahltaste+6 bei Apple) auf:
wiki:pagename
Ein Link kann auch hinter einem Begriff oder einer Beschreibung versteckt werden:
Beschreibung für einen Link.
Interne Links werden in doppelten eckigen Klammern gesetzt: [[doku>wiki:pagename]] Ein Link kann auch hinter einem Begriff oder einer Beschreibung versteckt werden: [[doku>wiki:pagename|Beschreibung für einen Link]].
Dateinamen für neue Seiten im Wiki werden automatisch in Kleinbuchstaben umgewandelt!
Umlaute sind genauso wie Sonderzeichen nicht erlaubt!
Durch einen Doppelpunkt werden Namensbereiche im Wiki aufgelöst: namespaces
Durch einen Doppelpunkt werden Namensbereiche im Wiki aufgelöst:[[wiki:de:namespaces]]
Weitere Informationen zu Namensbereichen: wiki:de:namespaces.
Anmerkungen:
- Links zu existierenden Seiten werden anders angezeigt als Links zu nicht-existierenden Seiten.
2.3 Interwiki
DokuWiki unterstützt auch Links in andere Wikis, sogenannte wiki:de:interwiki Links.
Ein Link zur Wikipedia Seite über Wikis:Wiki
DokuWiki unterstützt auch Links in andere Wikis, sogenannte [[doku>wiki:de:interwiki]] Links. \\ Ein Link zur Wikipedia Seite über Wikis:[[wp>Wiki]]
2.4 Windows-Freigaben
DokuWiki kennt auch Links auf Windows-Freigaben: freigegebener-Ordner.
Dies macht allerdings nur in einer homogenen Benutzergruppe Sinn (siehe Intranet).
DokuWiki kennt auch Links auf Windows-Freigaben: [[\\server\freigabe|this]].
Hinweis:
- Aus Sicherheitsgründen funktioniert direktes Navigieren durch die Freigaben standardmäßig nur mit dem Internet Explorer (und das nur in der „lokalen Zone“)!
- Für Mozilla und Firefox kann es durch die Option security.checkloaduri eingeschaltet werden, was aber nicht empfohlen wird!
- Opera ingnoriert als Sicherheitsfeature seit Version 7.54 alle Links auf file: in Webseiten.
- Für weitere Informationen siehe: 151
2.5 Bilder als Links
Bilder können für einen Link auf eine interne oder externe Datei verwendet werden. Dazu wird die Syntax zur Anzeige von Links einfach mit der zur Anzeige von Bildern (siehe unten) kombiniert:
[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]
Bitte beachte: Bildformatierungen sind die einzigen Formatierungen, die in Linknamen benutzt werden können!
3 Bilder und andere Dateien
3.1 Bilder per Dialogfeld einbauen
Das Hochladen von Bildern muss in der Konfigurationsdatei eingeschaltet sein. Zusätzlich kann der Seitenbetreiber diese Funktion per ACL beschränken
3.2 Größe von Bildern
Mit geschweiften Klammern können sowohl externe als auch interne Bilder eingebunden werden. Optional kann deren Größe angegeben werden:
Größe für externe Bilder vorgeben:
Original Größe: {{wiki:dokuwiki-128.png}}
Eine Breite vorgeben: {{wiki:dokuwiki-128.png?50}}
Breite und Höhe vorgeben: {{wiki:dokuwiki-128.png?200x50}}
Größe für externe Bilder vorgeben: {{http://de3.php.net/images/php.gif?200x50}}
3.3 Ausrichten von Bildern
Mit Leerzeichen zur Rechten und/oder Linken innerhalb der Klammern kann ein Bild horizontal ausgerichtet werden(links, mitte, rechts).
{{ wiki:dokuwiki-128.png}}
{{wiki:dokuwiki-128.png }}
{{ wiki:dokuwiki-128.png }}
3.4 Tooltips
Auch Titel, in den meisten Browsern als Tooltip angezeigt, können angegeben werden.
{{ wiki:dokuwiki-128.png |Dies ist ein Titel}}
3.5 Dateidownload
Wenn eine Datei angegeben wird, die kein Bild (gif,jpeg,png) ist, so wird sie als Link angezeigt und so zum Download angeboten.
4 Listen
DokuWiki kennt sortierte und nummerierte Listen. Um einen Listeneintrag zu erzeugen, beginne eine Zeile mit 2 Leerzeichen. Diesen Leerzeichen folgt dann ein „*“ für unsortierte oder ein “-“ für nummerierte Listen.
- Dies ist ein Eintrag einer unsortierten Liste
- Ein zweiter Eintrag
- Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen
- Noch ein Eintrag
- Dies ist ein Eintrag einer nummerierte Liste
- Ein zweiter Eintrag
- Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen
- Noch ein Eintrag
* Dies ist ein Eintrag einer unsortierten Liste
* Ein zweiter Eintrag
* Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen
* Noch ein Eintrag
- Dies ist ein Eintrag einer nummerierte Liste
- Ein zweiter Eintrag
- Unterschiedliche Ebenen einer Liste durch Hinzufügen von weiteren 2 Leerzeichen
- Noch ein Eintrag
5 Tabellen
Mit DokuWiki können Tabellen ganz einfach erstellt werden:
| hervorgehoben | zum Beispiel für | eine Titelzeile |
|---|---|---|
| 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 |
Felder einer Tabelle starten mit „|“ für ein normales Feld oder mit einem „^“ für hervorgehobenes Feld.
^ hervorgehoben ^ zum Beispiel für ^ Titelzeile ^ | 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 |
Zellen über mehrere Spalten werden erzeugt, wenn man, wie oben gezeigt, am Ende einer solchen Spalte soviele „|“ oder „^“ ohne Leerzeichen dazwischen hintereinander setzt, wie Spalten überbrückt werden.
Kurz gesagt: Alle Zeilen einer Tabelle müssen die gleiche Anzahl an Feldtrennern „|“ oder „^“ haben.
Hervorgehobene Felder in Vertikaler Ausrichtung sind auch möglich.
| hervorgehoben 1 | hervorgehoben 2 | |
|---|---|---|
| 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 („|“ oder „^“) vor einer Zelle über ihr Aussehen:
| ^ hervorgehoben 1 ^ hervorgehoben 2 ^ ^ 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 |
Anmerkung: Felder über mehrere Zeilen werden nicht unterstützt.
- Der Inhalt einer Zelle kann horizontal ausgerichtet werden. Füge 2 Leerzeichen hinzu:
- 2 Leerzeichen Links vom Text: rechtsbündig
- 2 Leerzeichen Rechts vom Text: linksbündig
- 2 Leerzeichen Links und Rechts vom Text: zentriert
| Tabelle mit Ausrichtung | ||
|---|---|---|
| Rechts | Mitte | Links |
| Links | Rechts | Mitte |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
So sieht die Formatierung aus:
^ Tabelle mit Ausrichtung ^^^ | Rechts| Mitte |Links |
|Links | Rechts| Mitte | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
| Hinweis zu dem senkrechten Balken-Zeichen: dieses Zeichen ist erreichbar über die Taste “<“ bei zusätzlich gedrückter „AltGr“-Taste. Ist dort auch aufgedruckt. |
6 sonstige Formatierungen
6.1 Fußnoten
Fußnoten 2) werden durch eine doppelte runde Klammer dargestellt 3). Der Text zwischen den Klammern wird an das Ende der Seite geschrieben. Die Reihenfolge und somit die Nummerierung übernimmt DokuWiki.
Fußnoten ((dies ist eine Fußnote)) werden duch eine doppelte runde Klammer dargestellt ((eine zweite Fußnote))
6.2 horizontale Linie
Mit 4 aufeinander folgenden Minuszeichen (alleine in einer Zeile) kann eine horizontale Linie erzeugt werden:
----
6.3 Smileys
Dokuwiki verwandelt oft genutzte emoticons zu kleinen Smily-Grafiken.
Weitere Smiley-Grafiken können im Ordener „smily“ abgelegt und dann in der Datei conf/smileys.conf eingetragen werden.
Hier ist nun eine Übersicht der standardmäßig in DokuWiki enthaltenen Smileys:
| | | | | | | | | | | | | | | | | | | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 8-) | 8-O | :-( | :-) | =) | :-/ | :-\ | :-? | :-D | :-P | :-O | :-X | :-| | ;-) | :?: | :!: | LOL | FIXME | DELETEME |
sowie
^_^ 4)
6.4 Typografie
DokuWiki kann einfache Textzeichen in ihre typografischen Entsprechungen umwandeln.
Hier eine Liste aller Zeichen, die DokuWiki kennt:
→ ← ↔ ⇒ ⇐ ⇔ » « – — 640×480 © ™ ® „He thought 'It's a man's world'…“
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) "He thought 'It's a man's world'..."
Bitte beachtet: Diese Umwandlungen können in der Konfigurationsdatei abgestellt werden
7 Verschiedene Plugins
für chemische Formeln besteht ein Plugin dieser Quelle hier chem_plugin
7.1 Chem Plugin
This DokuWiki plugin formats a molecular formula by using 'chem' tag.
updated on 2007-10-23
Beispiele
Atom numbers
C2H6
<chem>C2H6</chem>
Hydrate number
Na2HPO4 12H2O
<chem>Na2HPO4 12H2O</chem>
Charges
C2H5O2-Na+
<chem>C2H5O2|-Na+</chem>
Charge numbers
Cl2H6N2Pt2+
<chem>Cl2H6N2Pt2+</chem>
About changes on 2007-10-23
Number after blacket
*The numbers after end-blacket will be displayed as subscripts.
You can display 'Al2(SO4)3' by this code. (Thank you for your suggestion, Gerald.)
<chem>Al2(SO4)3</chem>
This plugin can recognize a round bracket ')' and a rectangular bracket ']'.
Formal charge number
*The formal charge number should be written like '2+', not '+2'.
You can display 'Cl2H6N2Pt2+' by this code.
<chem>Cl2H6N2Pt2+</chem>
*In order to discriminate the number of atoms from the charge counts, use a pipe, '|'.
SO42-
<chem>SO42-</chem>
<chem>SO4 2-</chem>
- > SO42- natural format by using a pipe.
- > SO42- its' odd.
- > SO4 2- undesired space.
Combination
7.2 Alphaindex Plugin
Description
This simple plugin allows you to insert an alphabetical index of a specified namespace in your pages. It should be useful in Dokuwiki sites where pages are organized by namespaces.
It is fully inspired and based on the indexmenu plugin by Samuele Tognini samuele@cli.di.unipi.it.
Notes
- Thanks to Samuele Tognini samuele@cli.di.unipi.it, you can try the plugin here.
- Tested with 2006-03-09 dokuwiki version.
- acl works, only authorized pages will be showed.
- useheading option works.
- Tested with some languages based on other characters than roman ones (Japanese, Chinese, Korean, Arabic, Russian, Thai).
- A big thanks to Samuele Tognini samuele@cli.di.unipi.it for his plugin.
- Feel free to improve it.
- Feel free to correct my poor english
Syntax
{{alphaindex>[namespace][#n][|nons]}}
[namespace] | Namespace name from which the index starts. | optional with [n] or nons; „.“ is the current namespace; „..“ or an empty value shows the top level namespace. |
|---|---|---|
[n] | Number that specifies the max level of the tree index nodes. | optional; it can be used together with nons. |
nons | Exclude namespaces nodes from index. It shows only the pages | optional. |
Example that displays only pages inside wiki:plugins and lower namespaces (max two levels):
{{alphaindex>wiki:plugins#2|nons}}
7.3 Plugin Box
Syntax
A simple box:
<box> the box contents </box>
Some more complex boxes
<box 80% round orange|a title> the box contents</box> <box 50% left blue>the box contents</box|a caption>
The full syntax:
<box width classes | title text> contents text </box>
- width — any legal CSS width value
- classes — any number of classes which use the styles in your template or the plugin's own stylesheet to determine the look of the box. The box plugins comes with the following classes already defined:
- round — box will have rounded corners
- blue — blue colour scheme
- red — red colour scheme
- green — green colour scheme
- orange — orange colour scheme
- left — float the box left within the wiki page
- right — float the box right within the wiki page
if no classes are specified the default styles will be used, that is square corners in a colour scheme based on the default Dokuwiki colour scheme.
- title text — text (including dokuwiki markup) displayed above the box contents, with distinct style.
- caption text — text (no markup allowed) displayed below the box contents, with distinct style.
The opening <box … > including the title must all appear on one line. The box contents can appear over as many lines as are needed.
Usage NOTE
Note
When you have it installed, use this :
7.4 DokuWiki Cloud Plugin
Here are some usage examples for the cloud plugin.
Word Cloud
The following is the standard word cloud, if you click on a link you'll perform a search for the linked word.
~~CLOUD~~
~~CLOUD~~
Tag Cloud
The following is the tag cloud, it shows a cloud of all available tags, created with the tag plugin.
~~TAGCLOUD~~
~~TAGCLOUD~~
7.5 Plugin Tag
—- plugin —- description: Assign category tags to wiki pages. (previous authors: Esther Brunner) author : Gina Häußge, Michael Klier email : dokuwiki@chimeric.de type : syntax, action, helper lastupdate : 2008-08-30 compatible : 2008-05-05 depends : pagelist conflicts : similar : tags : tags, tagging, folksonomy
Download
| Download | plugin-tag.tgz |
|---|
Description
The Tag Plugin lets you assign category tags to wiki pages. It will display a list of links to the tag pages in the tag namespace specified in the configuration.
Components
Tag
{{tag>[list of tags]}}
| [list of tags] | a space separated list of tags that describe the content of the current page | required |
|---|
Allows you to categorize your wiki pages. The resulting links point to the corresponding page in the specified tag namespace. If you want a link to point to a page in another namespace, you have to indicate the namespace before the tag name.
Examples:
{{tag>tag1 tag2 tag3}}- with namespaces:
{{tag>:ns1:tag1 ns1:tag2 ns2:subns1:tag3}}
Topic
{{topic>[tag]&[flags]}}
| [tag] | the category tag for which you want a list of pages | required |
|---|---|---|
| [flags] | pagelist flags delimited by &, see flags | optional |
This displays a list of all pages that contain the given category tag. The list is sorted alphabetically by page ID. You can also prepend the modifiers + and -. + creates an intersection between the list of pages created by the already defined tags and the pages matching the tag following the + (AND), - removes all pages tagged with the given tag from the list of already found pages.
Example:
{{topic>tag1 -tag2}}– Lists all pages tagged with tag1 but not with tag2.{{topic>tag1 +tag2}}– Lists all pages tagged with tag1 and tag2.{{topic>tag1 tag2}}– Lists all pages tagged with either tag1 or tag2 or both.
7.6 Plugin Fontsize
this text is shown at 120% of the base size, this is 140% and this is 160% this is smaller, at 80% and this is at 60% if I were to put a comma after a small text, I would need to enclose the comma in double percent signs
this text is shown at 120% of the base size, this is 140% and this is 160% this is smaller, at 80% and this is at 60% if I were to put a comma after a small text I would need to enclose the comma in double percent signs
7.7 Plugin Uparrow
Dieses einfache Plugin zeigt einen Pfeil an der bei Klick zum Anfang der Seite linkt.
Syntax
~~UP~~
Beispiel
Das sieht dann so aus:
Per Klick auf diesen Pfeil kommt man zum Anfang der Seite. Dieses Plugin ist sehr nützlich bei längeren Themen oder mehreren Themen auf einer Seite, da manche User nur bestimmte Themen lesen wollen.
7.8 Plugin ODT
Dieses Plugin erlaubt es bestimmte Seiten als OpenDocument Format zu exportieren, das z.B OpenOffice nutzt. Das ist z.B sehr nützlich wenn man einzelne Seiten an Leute verschicken oder drucken möchte.
Syntax
7.9 Plugin TASK
Integrates a simple task management tool into your wiki.
Components
Task
~~TASK:[user]?[due date][priority]~~
| [user] | person responsible for this task – either user or full name | optional; default is unassigned |
|---|---|---|
| [due date] | date the task should be completed in YYYY-MM-DD form; if only year or year and month are given, the last day is assumed | optional; default is without due date |
| [priority] | low, medium !, high !! or critical !!! expressed with 0 to 3 exclamation marks | optional; default is low priority |
Place ~~TASK~~ on any page to mark it as a task. The title (first heading) is considered to be the summary of the task, the contents its description.
If a task is unassigned, any registered user of the wiki can accept it. Once a task is taken, the user to whom it is assigned to can change the status of the task to one of these values:
- rejected – task is not worthwhile or not accepted by user
- new – deassign task so somebody else can take it
- accepted – user took over task but did not yet start the work
- started – work on task started
- done – work on task completed
If the task is done, other users can verify whether it's really done. If yes, the status can be set to verified.
The priority is reflected by the intensity of the orange shade of the task box.
Next to the title of the task box is an icon. It links to download an .ics file for the task. That can be imported by almost any calendar application that understands the VTODO component of the iCalendar standard.
Tasks
{{tasks>[namespace]?[view]&[flags]}}
Views
all | all tasks |
|---|---|
open | all task that are new, not yet done (or rejected) if assigned to me or not yet verified if assigned to someone else |
my | only my open tasks |
new | new tasks not yet assigned to anybody |
done | completed but not yet verfied tasks |
due | all open tasks with a due date of today |
overdue | all open tasks with a due date in the past |
Flags
noform | Don't show the new task form |
|---|
Demo & Screenshots
Demo
Try this plugin at here
Screenshots
7.10 Plugin tracker
7.11 Plugin translation
Dieses Plugin hilft bei der Übersetzung in einem billingualen Wiki.
Usage
The plugin does its work automatically by being called from the template (see installation), but you can disable it for a certain page by adding the following code to the top of the page:
~~NOTRANS~~
7.12 Plugin iframe
Dieses Plugin ermöglicht eine Implementierung einer Website in einen Frame im DokuWiki.
Syntax and Usage
Simple:
{{url>http://www.example.com/somepage.html}}
Complete Syntax:
{{url>someurl width,height noscroll noborder alignment|alternate-text}}
That is an URL to embed, followed by several optional parameters. The following parameters are recognized:
- width and height are optional. When only one value is given it is assumed to be the height. Otherwise the first value is width and the second value is height. You can give the values in
px,em,ptor%. When no unit is givenpxisis NOT assumed (you have to give the value). Defaults values are: width - 98%, height - 400px. noscrollwill disable the scrollbars of the iframenoborderwill disable the frame border, note that your CSS might still add borders or may disable them without using this setting- Optionally an alignment can be given as
leftorrightto have the iframe floating to the left or right. Should be used with a width. - An alternate text is optional. If not specified an empty string will be used.
See the plugin in action here.
7.13 Plugin styler
Dieses Plugin erlaubt es seine Texte, Verse Zitate usw mit verschiedenen Farben usw auszuschmücken.
Description
This plugin provide additional formatting of your texts:
<quote>- the expanded quotations;<epigraph>- epigraps;<verse>- formatting of verses;<style>- generic style blocks.
As you can specify attributes for each formatted block:
left- text align to left;right- text align to right;center- center text;justify- justify text;float-left- To create the floating block to the left of the text;float-right- To create the floating block to the right of the text;box- To draw a framework around of the block;background- To fill in a background with solid color.
Contribution: StylerPlus
A contribution for this great plugin. This extends the attributes to allow to select background and border colors in a block, width size, and nested blocks. — victor castelan 2008/10/17 08:01
The extend attributes are:
Background Light Colors
To fill in with a specific background light color
background- light graybackground-lwhite- whitebackground-lyellow- yellowbackground-lorange- orangebackground-lgreen- greenbackground-lblue- bluebackground-lbrown- brownbackground-lpink- pinkbackground-lred- red
example:
<style background-lgreen>some text</style>
Background Dark colors
To fill in with a specific background dark color and text in white
background-d- dark graybackground-dblack- blackbackground-dyellow- yellowbackground-dorange- orangebackground-dgreen- greenbackground-dblue- bluebackground-dbrown- brownbackground-dpink- pinkbackground-dred- red
example:
<style background-dorange>some text</style>
Borders colors
To draw a border around of the block with a dark color;
box- graybox-dblack- blackbox-dyellow- yellowbox-dorange- orangebox-dgreen- greenbox-dblue- bluebox-dbrown- brownbox-dpink- pinkbox-dred- red
example: This fill the block with light orange and apply a dark orange border color
<style background-lorange box-dorange>some text</style>
Sizes
You can specify a width to your block.
s25- 25% block widths50- 50% block widths75- 75% block width
example 1: Draw two blocks in the same row (floating-left)
<style background-lorange box-dorange float-left s50>some text</style> <style background-lorange box-dorange float-left s50>some text</style>
example 2: Draw three blocks in the same row (floating-left)
<style background-lorange box-dorange float-left s50>some text</style> <style background-lorange box-dorange float-left s25>some text</style> <style background-lorange box-dorange float-left s25>some text</style>
Clear attributes
To apply clear attribute when floating blocks
clear-leftclear-rightclear-both
Nested blocks
example: Draw a block inside other block
<style background-lorange box-dorange float-left s50> <style background-dgreen center>**Maybe a title in bold**</style> Here your text </style>
7.14 Plugin progressbar
Das Plugin progressbar erlaubt es eine Statusleiste anzuzeigen.
Syntax
Simply put <progress=70> in any page, where # is a number from 0 to 100 without the % sign. (Only multiples of 10 are supported, so you can only use 0%, 10%, 20%, etc.)
Examples
<progress=0>
will make an empty progress bar.
<progress=50>
will make a 50% full one.
<progress=70>
will make a 70% full one.
ProgressCSS
Details Examples
The plugin comes with three (3) default styles included (in the accompanying CSS file). With the use of the “style” parameter you can choose which style do you want: default, inline or gauge1).
The “default” style is just a default, no big deal, which shows a box contaning the percentage display in a colour theme that matches that one used for tables in your template. The “gauge” style shows the same box, with the difference it is made rounded, with another colour scheme, and the caption is shown as a tooltip (hover your ouse over the gauge). The “inline” style is intended for inline display, that is, to run alongside text.
Here come some usage examples:
Just a progress bar, quarter task done. No big deal.
just like before, but this progress bar shows half progress done, and also shows with a caption below.
the same bar, a different style, the caption is shown aside increasing the width of the object. If your browser supports it you'll see a round gauge and a minor shadow effect inside the actual progress indicator.
Some text …
will show an almost complete progress bar, which will, depending on browser, display inline (alongside with text). The percentage number has a font size relative to paragraph text size. The caption, however, will not be shown.
Now with limited wikitext supported:
Support for wikitext is limited at the moment. Underline, monospace, bold, italics and strikethrough work fine, and both internal and external links do work albeit they render strangely. Other syntax elements are untested. Because of their structure, footnotes, lists, headings, other plugin calls, and macros such as will most probably not be supported.
Parameters
| Parameter Name | Structure | Effect |
|---|---|---|
| percentage | [0..100]% | The actual progress percentage (mandatory). |
| Caption | caption=text | The progressbar caption. Beginning from version 1.4, it accepts some limited forms of wiki syntax (in particular, text formatting modes are supported). This may or may not be displayed in accordance with the „style“ parameter, though. It is also used to provide each progressbar a somewhat unique ID. |
| Style | style=<stylename> | The CSS style used to present the progress bar. This style must exist in a valid Dokuwiki CSS file (including userstyle.conf if available) in the form .progrecss_stylename. |
| Width | width=<widthvalue> | Any valid CSS width value, including measures in pixels (px) or ems (em).This sets up the total progress bar width. Depending on the actual „style“ parameter used, this may effect the progress bar positioning. |
| Order | Reserved for future use (as of 2008.06) | |
| PDisplay | Reserved for future use (as of 2008.06) | |
| Marker | Reserved for future use (as of 2008.06) |
7.15 Plugin vote
Dieses Plugin erlaubt es eine Umfrage auf eienr Wikiseite zu erstellen.
Sample Image
| Download | vote-1.09.tar.gz |
|---|
Syntax
Use this plugin to add a vote to a wiki page. The syntax looks like this:
<vote [title] [usercheck option]> [question] * [option] * [option] * ... </vote>
That means, you can simply put <vote> tags around regular bulleted lists to get a radio button.
Example
No usercheck
No limit to vote.
<vote title> question * option A * option B * option C </vote>
Usercheck with IP Address
User can vote only once.
<vote title check=ip> question * option A * option B * option C </vote>
Usercheck with Dokuwiki username
7.16 Plugin var
Displays some dynamic info about the current page, user or date. It uses exactly the same syntax and variables as namespace templates.
Syntax
| @ID@ | full ID of the page |
|---|---|
| @NS@ | namespace of the page |
| @PAGE@ | page name (ID without namespace and underscores replaced by spaces) |
| @USER@ | ID of current user |
| @NAME@ | full name of current user |
| @MAIL@ | mail address of current user |
| @DATE@ | current date |
| @YEAR@ | current year in YYYY format |
| @MONTH@ | current month in MM format |
| @DAY@ | current day in DD format |
This plugin doesn't work within titles, links and other substitution patterns, for technical reasons.
Use this plugin only when necessary. It turns caching for the current page off, which may have a negative effect on performance.
7.17 Plugin stats
Zeigt verschiedene Wiki Statistiken an.
Syntax
Show Hall Of Fame
This option shows a table with the top ten contributors to the wiki:
~~rSTATS:topcontrib~~
or
~~rSTATS:topcontrib:n~~
Using the first syntax the plugin will show users' full names, using the second one the plugin will show the usernames
Show number of pages
Show the number of pages in the wiki:
~~rSTATS:pages~~
Will show the total number of pages in your wiki (by default the plugin doesn't count pages in namespaces: „wiki“, „talk“ and „playground“)
~~rSTATS:pages:namespace~~
Specifying a namespace (e.g. “:namespace“) after the parameter “pages“ the plugin will count only the pages that belong to the selected namespace.
~~rSTATS:except:namespace~~
Specifying a namespace (e.g. “:namespace“) after the parameter “except“ the plugin will count all the pages of the wiki except the ones that belong to the specified namespace.
~~rSTATS:exceptpattern:namesp~~
Same as before, but the plugin will not count all the pages that belong to a namespace with a name containing the specified string (for example in ~~rSTATS:exceptpattern:ground~~ the pattern is „ground“, so the plugin will not count all the pages in namespaces like: playground, ground_floor, etc.)
Show number of users
Not yet re-implemented
Shows the number of registered users in the wiki:
~~STATS:users~~
Show number of entries
Not yet re-implemented
Show the number of entries in the wiki. Each entry is a <h2> header.
~~STATS:entries~~
7.18 Plugin stars
Erlaubt es Sterne anzuzeigen für z.B gewertete beiträge oder Schwierigkeitsgrad eines bestimmten Themas.
Overview
Stars makes it easy to add a rating/difficulty system represented by a number of stars like 2.5 stars or 3/5 stars, etc. It has a simple markup and can handle whole and half stars.
It started as a different plugin called Skill, but it needed some changes suggested in the comments, and the author hadn’t done anything with the plugin since 2005 and
didn’t respond to any emails
wasn't interested in maintaining the plugin. Upgrades from the original plugin include:
- Star limit (10) by anon and kenc
- Span instead of div by anon
- New star images instead of using incompatible transparency styling
- Added css classes to enable external stylesheets
- Added the ability to show half stars
- Packaged to work with the dokuwiki plugin manager
You can view the Stars project page here.
Usage
Usage: [stars=num] where num is a number, eg: 5, or a ratio, eg:
Note: Stars automatically limits the number of stars to 10 – ratios over ten, eg: 100/500, will be reduced, eg: 2/10
Examples:
- show 2 stars: [stars=2]
- show 3/10 stars: [stars=3/10]
- show 4.5/5 stars: [stars=4.5/5]
7.19 Plugin spoiler
Spoiler tag for dokuwiki. Allows sections that are initially hidden, and are shown when a “Show” button is clicked. The spoiler can be hidden again by pressing the button. An optional title can be given, otherwise a “Spoiler:” text is shown before the button.
7.20 Plugin searchform
Mit diesem Plugin lässt sich auf jeder beliebigen Seite die Suchleiste integrieren.
Syntax
Einfach mit ''{searchform}'' eine Suchleiste in eine beliebige Seite einfügen.
Das sieht dann so aus –>
7.21 Plugin bio
Eine Bibliothek für Biologie und Biologische Chemie.
NCBI class
This class accesses to NCBI Entrez database.
properties
| eSummaryURL | String format to retrieve XML file of database and ID |
|---|---|
| eSearchURL | String format to search in NCBI database by terms |
| pubchemURL | String format to retrieve XML file of PubChem |
| pubmedURL | String format to make a link to PubMed |
functions
| SummaryXml($db,$id) | Retrieve a summary XML data of $db database by using unique ID from NCBI. |
|---|---|
| SearchXml($db,$terms) | Get search result XML of terms from NCBI. |
| PDBtoStructureID($pdbAcc) | Convert to PDB ID to NCBI Structure ID |
| GetPubchemXml($cid) | Get a Pubchem summary XML data from NCBI. |
| GetSummaryItem($item,&$xml) | Extract an item element from Summary XML |
| GetSummaryItems($item,&$xml) | Extract some items from Summary XML |
| GetSearchItem($item,&$xml) | Extract an item element from Search XML |
| GetSearchItem($item,&$xml) | Extract some items from Search XML |
RCSB class
This class accesses to RCSB PDB site.
properties
| ImgURL | String format of URL to retrieve an image of PDB |
|---|---|
| LinkURL | String format to make a link to a specific PDB |
| LinkFormat | String format to make a link html of PDB Explorer |
functions
| DownloadImage($pdbid,$path) | Download an image to $path using PDB ID from RCSB site. |
|---|---|
| ExplorerURL($pdbid) | Create a URL to a specific PDB entry. |
| ExplorerLink($pdbid) | Create a link html to a specific PDB entry. |
| PDBformat($pdbid) | Check PDB ID |
XML class
This class is a simple class for XML parser.
properties
| tag | Tag name |
|---|---|
| value | Element value |
| attributes | Attributes of this element |
| next | Array of child classes |
7.22 Plugin pubchem
This is a plugin for DokuWiki that creates the link or retrieve chemical structure for the compound identified by CID (Compound ID).
~UP~~
7.23 Plugin navi
Mit diesem Plugin kann man aus einer Liste eine Navigationsleiste erstellen.
Usage
In the page defining the sidebar in your template add the following syntax:
{{navi>navigationmenu}}
Where navigationmenu is any other page containing an unordered list of page links.
Notes:
- The created menu is completely independent of any namespace structure. The hierarchy is created by the list nesting only.
- The navigation menu page should contain exactly one unordered list, other content will be ignored
- The list items should only contain links any other syntax will be ignored
- Each page linked in the list should occur only once
Example
The following would create a menu with 4 top level entries: „Welcome“, „Products“, „Service“ and „Wiki Syntax“. When you are on the „Products“ page, the sub entries „Foomatic 2000“ and „Foomatic 2010“ are visible.
* [[start|Welcome]]
* [[Products]]
* [[Foomatic 2000]]
* [[Foomatic 2010]]
* [[Service]]
* [[about|About Foo Inc.]]
* [[Contact]]
* [[syntax|Wiki Syntax]]
This allows you to create hierarchical menus without the need of a hierarchical namespace structure.
7.24 Plugin imagebox
Syntax
7.25 Plugin folded
Foldable page sections
Usage
If you want to make additional information available that is hidden by default, you have two options with this plugin:
Inline:
This is example ++text | with some of it only shown when you unfold it++. And after that the text just continues to flow in the same paragraph.
Block:
This is example text.
++++ Title |
| This table | is only shown | when you unfold the block |
{{page>some other wiki page}}
++++
| . | Inline | Block |
|---|---|---|
| Syntax | ++title| formatted text ++ | ++++title| any content ++++ |
| HTML | <span> tag | <div> tag |
| Can contain formatting | | |
| Can contain block elements5) | — | |
| Can be used within a paragraph, table, list, etc. | | — |
You can see the plugin in action here.
7.26 Plugin faq
The FAQ plugin provides a way to write FAQ lists. It uses DokuWiki headers, but slightly different: they have their own syntax, and they have a HTML span class inside, so you can have your own style for them. Writing a FAQ is exactly the same as writing a normal DokuWiki page, but still the page stands out as a FAQ.
Syntax
Instead of '=', use '?' in your headers:
?????? Is this a level 1 FAQ? ?????? Yes, it is! ????? Would this be a level 2 FAQ? ????? Indeed.
Anfragen per Email
bitte an lederpedia@ledertechnologie.de.
Der Admin entscheidet
Alle Eingaben werden immer an den Admin dieser allgemeinen Informationsquelle (zunächst Ledercommunity) gesendet. Der Admin entscheidet ob der Beitrag so bleiben kann oder verändert oder gelöscht werden muss. Beliebig viele Autoren und Admins für bestimmte Themen können erstellt werden und die Übersicht oder Erstellung verwalten.
Copyrightverletzungen
Beachten Sie bitte auch das Ihre Einträge keine Copyrightverletzungen darstellen dürfen oder sonstigen nicht eigenen Inhalt aufweisen dürfen !
Der Admin [c@Ba] — Stefan Banaszak 2007/08/01 09:30
Kategorien:
Quellenangabe:
Sie befinden sich hier: start » syntax_use_plugins » Lederpedia Plugins und Formatierungen










