Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
wiki:syntax [27/05/2020 15:28] – [Footnotes] bonnetwiki:syntax [16/06/2020 19:15] bonnet
Ligne 67: Ligne 67:
   * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.   * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.
   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.
 +
  
 ==== Interwiki ==== ==== Interwiki ====
Ligne 111: Ligne 112:
   You can add footnotes ((This is a footnote)) by using double parentheses.   You can add footnotes ((This is a footnote)) by using double parentheses.
  
-==== References ==== 
-For références :  
- 
-[[https://www.dokuwiki.org/plugin:refnotes:syntax]] 
- 
- The basic reference syntax is similar to the footnotes: 
-<code> 
-[(This is a note.)] 
-</code> 
 ===== Sectioning ===== ===== Sectioning =====
  
Ligne 146: Ligne 138:
 Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}} Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}}
  
-Resized external image:           {{http://php.net/images/php.gif?200x50}}+Resized external image:           {{https://secure.php.net/images/php.gif?200x50}}
  
   Real size:                        {{wiki:dokuwiki-128.png}}   Real size:                        {{wiki:dokuwiki-128.png}}
   Resize to given width:            {{wiki:dokuwiki-128.png?50}}   Resize to given width:            {{wiki:dokuwiki-128.png?50}}
   Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}}   Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}}
-  Resized external image:           {{http://php.net/images/php.gif?200x50}}+  Resized external image:           {{https://secure.php.net/images/php.gif?200x50}}
  
  
Ligne 277: Ligne 269:
  
 There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]]. There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]].
 +
 +===== Diagrams =====
 +==== Network Diagram ====
 +<code>
 +<uml>
 +@startuml
 +nwdiag {
 +  network Sample_front {
 +    address = "192.168.10.0/24";
 +
 +    // define group
 +    group web {
 +      web01 [address = ".1"];
 +      web02 [address = ".2"];
 +    }
 +  }
 +  network Sample_back {
 +    address = "192.168.20.0/24";
 +    web01 [address = ".1"];
 +    web02 [address = ".2"];
 +    db01 [address = ".101"];
 +    db02 [address = ".102"];
 +
 +    // define network using defined nodes
 +    group db {
 +      db01;
 +      db02;
 +    }
 +  }
 +}
 +@enduml
 +</uml>
 +</code>
 +
 +More information on: [[https://plantuml.com/fr/nwdiag]].
 +
 +<uml>
 +@startuml
 +nwdiag {
 +  network Sample_front {
 +    address = "192.168.10.0/24";
 +
 +    // define group
 +    group web {
 +      web01 [address = ".1"];
 +      web02 [address = ".2"];
 +    }
 +  }
 +  network Sample_back {
 +    address = "192.168.20.0/24";
 +    web01 [address = ".1"];
 +    web02 [address = ".2"];
 +    db01 [address = ".101"];
 +    db02 [address = ".102"];
 +
 +    // define network using defined nodes
 +    group db {
 +      db01;
 +      db02;
 +    }
 +  }
 +}
 +@enduml
 +</uml>
 +
 +==== Pannel Diagram ====
 +For more documentation : [[https://github.com/GreenItSolutions/dokuwiki-plugin-switchpanel]]
 +
 +<code>
 +<switchpanel>
 +Index,Label:color="color|#rgb",case="rj45|of|2of|gbic|none|serial|close",text="Information",link="proto://url",target="page|_new|_blank"
 +</switchpanel>
 +</code>
 +
 +<switchpanel showEars=false group=12>
 +# Documentation et rapports de bug : https://github.com/GreenItSolutions/dokuwiki-plugin-switchpanel
 +==text
 +4x12 ports sur 2U (01-12 & 13-24)
 +==line:number=24
 +01,01,PC01:color="lime",text="Information supplémentaire",link="http://adresse.du.lien",target="_blank"
 +02,02,PC02:color="cyan",text="Information supplémentaire"
 +03,03,PC03:color="blue"
 +04,04:color="#FF0000"
 +05,05
 +06,06
 +07,07
 +08,08
 +09,09
 +10,10
 +11,11:case=close,text="Fermé"
 +12,12:case=serial,text="Port série"
 +13,13,PC13:color="teal",text="Information supplémentaire",link="http://adresse.du.lien",target="_blank"
 +14,14,PC14:color="peru",text="Information supplémentaire"
 +15,15,PC15:color="gold"
 +16,16:color="#ABCDEF"
 +17,17
 +18,18
 +19,19
 +20,20
 +21,21
 +22,22
 +23,23:case=of,text="Fibre optique"
 +24,24:case=gbic,text="Port Gbic"
 +==text
 +4x12 ports sur 2U (25-36 & 37-48)
 +==line:number=24
 +01,25,PC25:color="lime",text="Information supplémentaire",link="http://adresse.du.lien",target="_blank"
 +02,26,PC26:color="cyan",text="Information supplémentaire"
 +03,27,PC27:color="blue"
 +04,28:color="#FF0000"
 +05,29
 +06,30
 +07,31
 +08,32
 +09,33
 +10,34
 +11,35:case=close,text="Fermé"
 +12,36:case=serial,text="Port série"
 +13,37,PC37:color="teal",text="Information supplémentaire",link="http://adresse.du.lien",target="_blank"
 +14,38,PC38:color="peru",text="Information supplémentaire"
 +15,39,PC39:color="gold"
 +16,40:color="#ABCDEF"
 +17,41
 +18,42
 +19,43
 +20,44
 +21,45
 +22,46
 +23,47:case=2of,text="Fibre double"
 +24,48:case=gbic,text="Port Gbic"
 +</switchpanel>
 +
 +==== UML Diagram ====
 +<code>
 +<uml>
 +@startuml
 +Alice -> Bob: Authentication Request
 +Bob --> Alice: Authentication Response
 +
 +Alice -> Bob: Another authentication Request
 +Alice <-- Bob: another authentication Response
 +@enduml
 +</uml>
 +</code>
 +
 +More documentation for avalaible diagram on [[https://plantuml.com/fr/|PlantUML]]
 +
 +<uml>
 +@startuml
 +Alice -> Bob: Authentication Request
 +Bob --> Alice: Authentication Response
 +
 +Alice -> Bob: Another authentication Request
 +Alice <-- Bob: another authentication Response
 +@enduml
 +</uml>
  
 ===== Quoting ===== ===== Quoting =====
Ligne 426: Ligne 574:
 </code> </code>
  
-The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch xbasic xml xojo xorg_conf xpp yaml z80 zxbasic//+The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic//
  
 There are additional [[doku>syntax_highlighting|advanced options]] available for syntax highlighting, such as highlighting lines or adding line numbers. There are additional [[doku>syntax_highlighting|advanced options]] available for syntax highlighting, such as highlighting lines or adding line numbers.