Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
wiki:syntax [04/06/2020 13:09] – modification externe 127.0.0.1 | wiki:syntax [17/06/2020 08:08] (Version actuelle) – bonnet | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
[[doku> | [[doku> | ||
+ | |||
+ | More advanced syntaxe is available from this documentation: | ||
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
Ligne 29: | Ligne 31: | ||
You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
+ | |||
+ | ==== Alignement ==== | ||
+ | |||
+ | < | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | </ | ||
+ | |||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | |||
+ | ==== Contextual colors ==== | ||
+ | |||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | <code html5> | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== Text size ==== | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | |||
+ | |||
+ | <code html5> | ||
+ | <text size=" | ||
+ | </ | ||
+ | |||
+ | Size attribute can be: | ||
+ | * medium | ||
+ | * xx-small | ||
+ | * x-small | ||
+ | * small | ||
+ | * large | ||
+ | * x-large | ||
+ | * xx-large | ||
+ | * smaller | ||
+ | * larger | ||
+ | * any length in px / percent / em / etc... | ||
===== Links ===== | ===== Links ===== | ||
Ligne 67: | Ligne 151: | ||
* DokuWiki does not use [[wp> | * DokuWiki does not use [[wp> | ||
* When a section' | * When a section' | ||
+ | |||
==== Interwiki ==== | ==== Interwiki ==== | ||
Ligne 104: | Ligne 189: | ||
The whole [[# | The whole [[# | ||
+ | |||
+ | ===== Tooltip ===== | ||
+ | < | ||
+ | <tooltip title=" | ||
+ | </ | ||
+ | |||
+ | <tooltip title=" | ||
===== Footnotes ===== | ===== Footnotes ===== | ||
Ligne 110: | Ligne 202: | ||
You can add footnotes ((This is a footnote)) by using double parentheses. | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
+ | |||
+ | ===== Grid system ===== | ||
+ | You can use [[https:// | ||
+ | |||
+ | **Note:** Instead of < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <col sm=" | ||
+ | <col sm=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Arguments is xs, sm, md, lg. | ||
+ | |||
+ | ===== Thumbnail ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ... | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
===== Sectioning ===== | ===== Sectioning ===== | ||
Ligne 126: | Ligne 285: | ||
---- | ---- | ||
+ | |||
+ | For beautiful sectionning, | ||
+ | < | ||
+ | < | ||
+ | ====== Hello, world! ====== | ||
+ | |||
+ | This is a simple hero unit, a simple jumbotron-style | ||
+ | component for calling extra attention to featured | ||
+ | content or information. | ||
+ | |||
+ | <btn type=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ====== Hello, world! ====== | ||
+ | |||
+ | This is a simple hero unit, a simple jumbotron-style | ||
+ | component for calling extra attention to featured | ||
+ | content or information. | ||
+ | |||
+ | <btn type=" | ||
+ | </ | ||
===== Media Files ===== | ===== Media Files ===== | ||
Ligne 182: | Ligne 364: | ||
{{wiki: | {{wiki: | ||
+ | === Image shape === | ||
+ | |||
+ | | <image shape=" | ||
+ | {{: | ||
+ | </ | ||
+ | | <image shape=" | ||
+ | {{: | ||
+ | </ | ||
+ | | <image shape=" | ||
+ | {{: | ||
+ | </ | ||
==== Fallback Formats ==== | ==== Fallback Formats ==== | ||
Ligne 268: | Ligne 461: | ||
There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' | ||
+ | |||
+ | ===== Diagrams ===== | ||
+ | ==== Network Diagram ==== | ||
+ | < | ||
+ | <uml> | ||
+ | @startuml | ||
+ | nwdiag { | ||
+ | network Sample_front { | ||
+ | address = " | ||
+ | |||
+ | // define group | ||
+ | group web { | ||
+ | web01 [address = " | ||
+ | web02 [address = " | ||
+ | } | ||
+ | } | ||
+ | network Sample_back { | ||
+ | address = " | ||
+ | web01 [address = " | ||
+ | web02 [address = " | ||
+ | db01 [address = " | ||
+ | db02 [address = " | ||
+ | |||
+ | // define network using defined nodes | ||
+ | group db { | ||
+ | db01; | ||
+ | db02; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | @enduml | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | More information on: [[https:// | ||
+ | |||
+ | <uml> | ||
+ | @startuml | ||
+ | nwdiag { | ||
+ | network Sample_front { | ||
+ | address = " | ||
+ | |||
+ | // define group | ||
+ | group web { | ||
+ | web01 [address = " | ||
+ | web02 [address = " | ||
+ | } | ||
+ | } | ||
+ | network Sample_back { | ||
+ | address = " | ||
+ | web01 [address = " | ||
+ | web02 [address = " | ||
+ | db01 [address = " | ||
+ | db02 [address = " | ||
+ | |||
+ | // define network using defined nodes | ||
+ | group db { | ||
+ | db01; | ||
+ | db02; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | @enduml | ||
+ | </ | ||
+ | |||
+ | ==== Pannel Diagram ==== | ||
+ | For more documentation : [[https:// | ||
+ | |||
+ | < | ||
+ | < | ||
+ | Index, | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # Documentation et rapports de bug : https:// | ||
+ | ==text | ||
+ | 4x12 ports sur 2U (01-12 & 13-24) | ||
+ | ==line: | ||
+ | 01, | ||
+ | 02, | ||
+ | 03, | ||
+ | 04, | ||
+ | 05,05 | ||
+ | 06,06 | ||
+ | 07,07 | ||
+ | 08,08 | ||
+ | 09,09 | ||
+ | 10,10 | ||
+ | 11, | ||
+ | 12, | ||
+ | 13, | ||
+ | 14, | ||
+ | 15, | ||
+ | 16, | ||
+ | 17,17 | ||
+ | 18,18 | ||
+ | 19,19 | ||
+ | 20,20 | ||
+ | 21,21 | ||
+ | 22,22 | ||
+ | 23, | ||
+ | 24, | ||
+ | ==text | ||
+ | 4x12 ports sur 2U (25-36 & 37-48) | ||
+ | ==line: | ||
+ | 01, | ||
+ | 02, | ||
+ | 03, | ||
+ | 04, | ||
+ | 05,29 | ||
+ | 06,30 | ||
+ | 07,31 | ||
+ | 08,32 | ||
+ | 09,33 | ||
+ | 10,34 | ||
+ | 11, | ||
+ | 12, | ||
+ | 13, | ||
+ | 14, | ||
+ | 15, | ||
+ | 16, | ||
+ | 17,41 | ||
+ | 18,42 | ||
+ | 19,43 | ||
+ | 20,44 | ||
+ | 21,45 | ||
+ | 22,46 | ||
+ | 23, | ||
+ | 24, | ||
+ | </ | ||
+ | |||
+ | ==== UML Diagram ==== | ||
+ | < | ||
+ | <uml> | ||
+ | @startuml | ||
+ | Alice -> Bob: Authentication Request | ||
+ | Bob --> Alice: Authentication Response | ||
+ | |||
+ | Alice -> Bob: Another authentication Request | ||
+ | Alice <-- Bob: another authentication Response | ||
+ | @enduml | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | More documentation for avalaible diagram on [[https:// | ||
+ | |||
+ | <uml> | ||
+ | @startuml | ||
+ | Alice -> Bob: Authentication Request | ||
+ | Bob --> Alice: Authentication Response | ||
+ | |||
+ | Alice -> Bob: Another authentication Request | ||
+ | Alice <-- Bob: another authentication Response | ||
+ | @enduml | ||
+ | </ | ||
===== Quoting ===== | ===== Quoting ===== | ||
Ligne 437: | Ligne 786: | ||
If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
+ | |||
+ | ===== Tabs ===== | ||
+ | < | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | <pane id=" | ||
+ | === Foo === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | <pane id=" | ||
+ | === Bar === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | <pane id=" | ||
+ | === Foo === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | <pane id=" | ||
+ | === Bar === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | </ | ||
===== Embedding HTML and PHP ===== | ===== Embedding HTML and PHP ===== | ||
Ligne 518: | Ligne 899: | ||
| %%~~NOTOC~~%% | | %%~~NOTOC~~%% | ||
| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
+ | | %%~~CLEARFIX~~%% | Clear the float | | ||
+ | | %%~~PAGEBREAK~~%% | Add a page break | | ||
===== Syntax Plugins ===== | ===== Syntax Plugins ===== |