Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki_kurzeinfuehrung [19 Mar 2016 20:01] – [Formatierungen] lutz | wiki_kurzeinfuehrung [04 Mar 2022 15:09] (current) – [new line] lutz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Wiki Kurzeinführung ====== | ====== Wiki Kurzeinführung ====== | ||
| + | |||
| + | |||
| + | ===== new line ===== | ||
| + | Most important for wikis: How to tell the Wiki to make a new line. \\ Use a double backslash with spaces around it: %% \\ %% | ||
| + | |||
| + | ===== Images ===== | ||
| + | |||
| + | 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: | ||
| + | < | ||
| + | |||
| + | [{{ : | ||
| + | |||
| + | </ | ||
| + | |||
| + | [{{ : | ||
| + | < | ||
| + | |||
| + | \\ ==== copy and paste ==== | ||
| + | |||
| + | </ | ||
| + | |||
| + | If you want to be quick, e.g. with screenshots, | ||
| + | |||
| ===== Formatierungen ===== | ===== Formatierungen ===== | ||
| Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | ||
| Line 5: | Line 37: | ||
| Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | ||
| </ | </ | ||
| + | You can use < | ||
| + | |||
| + | You can use < | ||
| + | |||
| + | ===== No Formatting ===== | ||
| + | |||
| + | If you need to display text exactly like it is typed (without any formatting), | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| - | === Zitate === | + | === Zitate |
| >" | >" | ||
| < | < | ||
| >" | >" | ||
| </ | </ | ||
| - | ===== Tabellen ===== | + | ===== Tabellen |
| You can have rowspans (vertically connected cells) by adding '':::'' | You can have rowspans (vertically connected cells) by adding '':::'' | ||
| Line 42: | Line 91: | ||
| Note: Vertical alignment is not supported. | Note: Vertical alignment is not supported. | ||
| + | ===== Links ===== | ||
| + | |||
| + | * **simple link to a page: | ||
| + | * **link to a section within the same page: | ||
| + | * **link to a section of a different wiki page: | ||
| + | * **link to the www: | ||
| ===== Tag ===== | ===== Tag ===== | ||
| + | < | ||
| - | | + | {{tag> |
| - | ^ [list of tags] | a space separated list of tags that describe the content of the current page | required | | + | </ |
| + | |||
| + | ^[list of tags]|a space separated list of tags that describe the content of the current page|required| | ||
| Examples: | Examples: | ||
| - | * '' | ||
| - | * with namespaces: '' | ||
| - | ==== Topic ==== | + | * ''< |
| + | * with namespaces: ''< | ||
| - | {{topic> | ||
| - | |||
| - | ^ [tag] | the category tag for which you want a list of pages | required | | ||
| - | ^ [flags] | pagelist flags delimited by ''&'', | ||
| - | |||
| - | Example: | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| ==== Count ==== | ==== Count ==== | ||
| + | < | ||
| - | | + | {{count> |
| - | ^ [tag] | the category tag for which you want the list the occurrence | required | | + | </ |
| + | |||
| + | ^[tag]|the category tag for which you want the list the occurrence|required| | ||
| Example: | Example: | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| + | * ''< | ||
| + | * ''< | ||
| + | * ''< | ||
| ===== Stichwörter ===== | ===== Stichwörter ===== | ||
| < | < | ||
| + | |||
| {{keywords> | {{keywords> | ||
| + | |||
| </ | </ | ||
| - | ===== Ändern einer Seite ====== | + | ===== Ändern einer Seite ===== |
| - | Einfach " | + | |
| - | 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**, | + | |
| - | ===== Anlegen einer neuen Seite ====== | + | Einfach " |
| - | - Um eine neue Seite anzulegen, wird zunächst in einer bestehenden Seite ein Verweis darauf angelegt mit %%[[%%//Name der neuen Seite//%%]]%%. Diese Seite speichern. | + | |
| + | ===== Anlegen einer neuen Seite ===== | ||
| + | |||
| + | - Um eine neue Seite anzulegen, wird zunächst in einer bestehenden Seite ein Verweis darauf angelegt mit < | ||
| - Dann auf den neuen Link klicken. Auf der Zielseite, die als nicht existent angegeben wird, einfach wie üblich Seite editieren (siehe oben) wählen. | - Dann auf den neuen Link klicken. Auf der Zielseite, die als nicht existent angegeben wird, einfach wie üblich Seite editieren (siehe oben) wählen. | ||
| - | ===== Nützliches für den Editiermodus | + | ===== Nützliches für den Editiermodus ===== |
| - | * **Keine Umbrüche verwenden**: | + | * **Keine Umbrüche verwenden**: |
| - | * **< | + | * **< |
| * Zwei Leerzeichen und ein * erzeugen einen unnummerierten Listenpunkt | * Zwei Leerzeichen und ein * erzeugen einen unnummerierten Listenpunkt | ||
| * Zwei Leerzeichen und ein - erzeigen einen nummerierten Listenpunkt | * Zwei Leerzeichen und ein - erzeigen einen nummerierten Listenpunkt | ||
| - | + | ||
| - | * **< | + | * **< |
| * Überschriften lassen sich am Besten mit den Schaltern erzeugen | * Ü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 zu einer anderen Wiki-Seite** |
| * **Links ins WWWW*** Dazu eignet sich der Schalter mit den Kettengliedern und der Weltkugel | * **Links ins WWWW*** Dazu eignet sich der Schalter mit den Kettengliedern und der Weltkugel | ||
| + | ==== Code ==== | ||
| + | |||
| + | 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. < | ||
| + | |||
| + | === sxh syntax highlighter === | ||
| + | Another option is: | ||
| + | < | ||
| + | <sxh [brush][; options]> | ||
| + | ... code/text ... | ||
| + | </ | ||
| + | </ | ||
| + | and the brushes are here: [[https:// | ||
| + | Most importantly it does support powershell and typescript. And it does look a bit more appealing, I think. | ||
| + | ==== icons and labels ==== | ||
| + | The smiley button in the editor shows a selection of icons. But you can also just type the label' | ||
| + | ^ 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. | ||
| + | |||
| + | ==== folding ==== | ||
| + | we have two section toggle plugins installed: | ||
| + | |||
| + | the first one corresponds with the " | ||
| + | |||
| + | < | ||
| + | ++++ Title | | ||
| + | |||
| + | | This table | is only shown | when you unfold the block | | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | ++++ | ||
| + | </ | ||
| + | |||
| + | The second one does not, but is a bit more obviously styled: | ||
| + | < | ||
| + | <hidden my title> | ||
| + | content to be folded /unfolded. | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== discussions ===== | ||
| + | |||
| + | just add: | ||
| + | < | ||
| + | |||
| + | ~~DISCUSSION~~ | ||
| + | |||
| + | </ | ||
| + | |||
| + | ~~DISCUSSION~~ | ||
| + | |||
| + | ==== how to add your own avatar ==== | ||
| + | |||
| + | that's a bit tricky. Go here: [[: | ||