wiki_kurzeinfuehrung

Wiki Kurzeinführung

Most important for wikis: How to tell the Wiki to make a new line.
Use a double backslash with spaces around it: \\

Best inserted using the image button. If you want to have a label with an image description below the image, use the imagebox plugin:

Just add [ ] around the image tag.

[{{ImagePath|Caption}}]

The caption can be formatted. Here is an example:

[{{ :pasted:20200801-124136.png?nolink | This is the caption }}]

This is the caption

\\  ==== copy and paste ====

If you want to be quick, e.g. with screenshots, you can paste them (you cannot paste a file from the clipboard! You can only paste imagedata that is on the clipboard): put your cursor in the text box where you want to insert the image and press ctrl+p or whatever the equivalent on a Mac is.

Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, 12007, 22009.

Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, <sup>1</sup>2007, <sup>2</sup>2009. 
You can use subscript and superscript, too.

You can use <sub>subscript</sub> and <sup>superscript</sup>, too.

If you need to display text exactly like it is typed (without any formatting), enclose the area either with <nowiki> tags or even simpler, with double percent signs %%.

This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. The same is true for //__this__ text// with a smiley ;-).

<nowiki>
This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
</nowiki>
The same is true for %%//__this__ text// with a smiley ;-)%%.

Zitate - Quotes

“Ich stelle oft fest, dass ich nur etwas zitiere, was ich vor längerer Zeit gelesen habe, und das wird dann zu einer Wiederentdeckung. Vielleicht sollte ein Dichter besser namenlos sein.” (S. 17 unten)

>"Ich stelle oft fest, dass ich nur etwas zitiere, was ich vor längerer Zeit gelesen habe, und das wird dann zu einer Wiederentdeckung. Vielleicht sollte ein Dichter besser namenlos sein." (S. 17 unten) \\

You can have rowspans (vertically connected cells) by adding ::: into the cells below the one to which they should connect.

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.

^ 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        |

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
right center left
left right center
xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx

This is how it looks in the source:

^           Table with alignment           ^^^
|         right|    center    |left          |
|left          |         right|    center    |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |

Note: Vertical alignment is not supported.

  • simple link to a page: [[name of the wiki page|optional text for the link]]
  • link to a section within the same page: [[#name of the section|optional text for the link]]
  • link to a section of a different wiki page: [[name of the wiki page#name of the section|optional text for the link]]
  • link to the www: [[url|optional text for the link]] i_tip_icon use the button with the chain and the globe to select and insert a link using a helpful dialog.

{{tag>[list of tags]}}

[list of tags]a space separated list of tags that describe the content of the current pagerequired

Examples:

  • {{tag>tag1 tag2 tag3}}
  • with namespaces: {{tag>ns1:tag1 ns1:tag2 ns2:subns1:tag3}}

{{count>[tag]}}

[tag]the category tag for which you want the list the occurrencerequired

Example:

  • {{count>+}} – List all tags with related occurrences.
  • {{count>tag1 tag2}} – List the occurrence of tag1 and tag2.
  • {{count>tag1 tag2 tag3&. ns1 ns2}} – List all occurrences for the given tags inside the namespaces (the dot specifies the root namespace)

{{keywords>art in the park,Sheffield,urban,street,creative}}

Einfach “Bearbeiten/Seite bearbeiten” oder so ähnlich im Menü verwenden oder - je nach Wiki - auf der rechten Seite den Bearbeiten Schalter anklicken. Was immer geht: Shift+Alt+e (manchmal auch Strg+Alt+e, kommmt auf den Browser an) Die geänderte Seite wird gespeichert durch Strg+Alt+s, oder den Speichern Schalter.

  1. Um eine neue Seite anzulegen, wird zunächst in einer bestehenden Seite ein Verweis darauf angelegt mit [[Name der neuen Seite|]]. Diese Seite speichern.
  2. Dann auf den neuen Link klicken. Auf der Zielseite, die als nicht existent angegeben wird, einfach wie üblich Seite editieren (siehe oben) wählen.
  • Keine Umbrüche verwenden: Möglichst keine Umbrüche mit Enter erzeugen. Die Wiki soll das selbst regeln. Nur wenn wirklich ein Umbruch explizit gewünscht ist, kann er mit zwei Mal Enter forciert werden. Zwei Backslashs eingeleitet und gefolgt von einem Leerzeichen haben ebenfalls einen Umbruch zur Folge.
  • ** Text ** : Text innerhalb eines Paares doppelter Sternchen wird fett formatiert
  • Zwei Leerzeichen und ein * erzeugen einen unnummerierten Listenpunkt
  • Zwei Leerzeichen und ein - erzeigen einen nummerierten Listenpunkt
  • %% Text %% : Alles innerhalb eines Paars doppelter Prozentzeichen wird von der Wiki nicht interpretiert.%%[[Test|]]%% ergibt in der Ausgabe [[Test|]]. Das gleiche kann man mit <nowiki> und </nowiki> erreichen.
  • Überschriften lassen sich am Besten mit den Schaltern erzeugen
  • Links zu einer anderen Wiki-Seite Auch dafür eignet sich ein Schalter am Besten: Die Kettenglieder ohne Weltkugel
  • Links ins WWWW* Dazu eignet sich der Schalter mit den Kettengliedern und der Weltkugel

Syntax Highlighting

DokuWiki can highlight sourcecode, which makes it easier to read. It uses the GeSHi Generic Syntax Highlighter – so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag,
e.g. <code java> or <file java>.

sxh syntax highlighter

Another option is:

 
<sxh [brush][; options]>
... code/text ...
</sxh>
and the brushes are here: https://github.com/crazy-max/dokuwiki-plugin-syntaxhighlighter4. Most importantly it does support powershell and typescript. And it does look a bit more appealing, I think.

The smiley button in the editor shows a selection of icons. But you can also just type the label's name into the editor. Some labels should be used only for a certain purpose (we search for them):

command looks like meaning
i_todo_icon i_todo_icon Something needs to be done.
i_depr i_depr Correct information for a current version but a change is planned in the future.

we have two section toggle plugins installed:

the first one corresponds with the “fold/unfold all” button in the menu:

++++ Title |

| This table | is only shown | when you unfold the block |

{{page>some other wiki page&inline}}

++++

The second one does not, but is a bit more obviously styled:

<hidden my title>
content to be folded /unfolded.
</hidden>

just add:

~~DISCUSSION~~

that's a bit tricky. Go here: user.

Lutz KleinLutz Klein, 01 Aug 2020 06:07

This is the discussion of the discussion function

Lutz KleinLutz Klein, 01 Aug 2020 06:08

Do you like it?

Lutz KleinLutz Klein, 01 Aug 2020 06:08

It is even possible to reply

Lutz KleinLutz Klein, 01 Aug 2020 06:41

nice avatar! How did you make that?

Lutz KleinLutz Klein, 01 Aug 2020 06:42

look here: upload your own avatar for discussions

Enter your comment. Wiki syntax is allowed:
B K X F​ W
 
  • wiki_kurzeinfuehrung.txt
  • Last modified: 04 Mar 2022 15:09
  • by lutz