Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki_kurzeinfuehrung [17 Feb 2021 14:16] – [folding] lutz | wiki_kurzeinfuehrung [04 Mar 2022 15:09] (current) – [new line] lutz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Wiki Kurzeinführung ====== | ====== Wiki Kurzeinführung ====== | ||
| - | ===== The new wysiwyg editor ===== | ||
| - | First of all: If you don't want to use it, you find a "dw edit" icon in the menu bar to the right (the pen). It opens the wiki with the classic text editor.\\ | + | ===== new line ===== |
| - | You can also double | + | Most important for wikis: How to tell the Wiki to make a new line. \\ Use a double |
| - | + | ||
| - | In the text editor you will also find buttons to switch between "dw edit" (that' | + | |
| - | + | ||
| - | If you do want wysiwyg - go for it. But many things still need wiki markup, so you will still have to learn some markup (see below). E.g. if you want to use the imagebox feature that adds a caption to an image, you do have to do it old school. Perhaps a mix of both makes some sense. | + | |
| ===== Images ===== | ===== Images ===== | ||
| Line 38: | Line 33: | ||
| ===== Formatierungen ===== | ===== Formatierungen ===== | ||
| - | + | Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | |
| - | Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | + | |
| < | < | ||
| - | Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < | + | Bartels und Stöckler (Hrsg). Wissenschaftstheorie. Paderborn: Mentis Verlag, < |
| </ | </ | ||
| + | You can use < | ||
| - | You can use < | + | |
| - | < | + | |
| - | You can use < | + | |
| - | + | ||
| - | </ | + | |
| ===== No Formatting ===== | ===== No Formatting ===== | ||
| Line 55: | Line 45: | ||
| If you need to display text exactly like it is typed (without any 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:// | This is some text which contains addresses like this: http:// | ||
| </ | </ | ||
| - | The same is true for < | + | The same is true for %%//__this__ text// with a smiley ;-)%%. |
| - | </code> | + | |
| + | This is some text which contains addresses like this: http:// | ||
| + | </nowiki> | ||
| + | The same is true for %%// | ||
| === Zitate - Quotes === | === 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) | |
| - | _QUOT__ckgedit>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) | + | < |
| + | >" | ||
| + | </ | ||
| ===== Tabellen - Tables ===== | ===== Tabellen - Tables ===== | ||
| - | |||
| You can have rowspans (vertically connected cells) by adding '':::'' | You can have rowspans (vertically connected cells) by adding '':::'' | ||
| - | |||
| - | ^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 ^ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
| Line 85: | Line 68: | ||
| | Row 3 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. | 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| | ||
| - | |left | right| | ||
| - | |xxxxxxxxxxxx|xxxxxxxxxxxx|xxxxxxxxxxxx| | ||
| - | |||
| - | This is how it looks in the source: | ||
| - | < | ||
| ^ Table with alignment | ^ Table with alignment | ||
| Line 102: | Line 82: | ||
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | </ | + | This is how it looks in the source: |
| + | |||
| + | ^ Table with alignment | ||
| + | | | ||
| + | |left | | ||
| + | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| Note: Vertical alignment is not supported. | Note: Vertical alignment is not supported. | ||
| Line 108: | Line 93: | ||
| ===== Links ===== | ===== Links ===== | ||
| - | * **simple link to a page: | + | * **simple link to a page: |
| + | | ||
| + | | ||
| + | | ||
| ===== Tag ===== | ===== Tag ===== | ||
| < | < | ||
| Line 123: | Line 111: | ||
| * with namespaces: ''< | * with namespaces: ''< | ||
| - | ==== Topic ==== | ||
| - | < | ||
| - | |||
| - | {{topic> | ||
| - | |||
| - | </ | ||
| - | |||
| - | ^[tag]|the category tag for which you want a list of pages|required| | ||
| - | ^[flags]|pagelist flags delimited by ''&'', | ||
| - | |||
| - | Example: | ||
| - | * ''< | ||
| - | * ''< | ||
| - | * ''< | ||
| - | * ''< | ||
| - | * ''< | ||
| - | * ''< | ||
| ==== Count ==== | ==== Count ==== | ||
| < | < | ||
| Line 186: | Line 157: | ||
| Syntax Highlighting | 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. < | + | 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 ==== | ==== icons and labels ==== | ||
| The smiley button in the editor shows a selection of icons. But you can also just type the label' | The smiley button in the editor shows a selection of icons. But you can also just type the label' | ||