Benutzer:Meap/Wiki-Tests: Unterschied zwischen den Versionen

Aus rü5
Wechseln zu:Navigation, Suche
imported>Meap
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(13 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 6: Zeile 6:
: AltGr-K: æßðđŋħjĸł˝^
: AltGr-K: æßðđŋħjĸł˝^
: AltGr-K: «»¢“”nµ─·
: AltGr-K: «»¢“”nµ─·
=== math ===
''(s. http://de.wikipedia.org/wiki/Hilfe:TeX )''
<math>y=2*x^3-x+22</math>
<pre><nowiki> <#math>y=2*x^3-x+22</#math> </nowiki></pre>         
<math>\sum_{n=0}^\infty \frac{x^n+1}{n!}</math>
<pre><nowiki> <#math>\sum_{n=0}^\infty \frac{x^n+1}{n!}</#math> </nowiki></pre>
=== Handler ===
''(display ogg-files)''
{| border="1" align="center" width="70%"
! Oggs
| valign="top" |
* Sound: [[Image:Sound.ogg|thumb]]
* Video: [[Image:Video.ogv|thumb]]
|-
! mp3
| valign="top" |
* Sound: [[Image:Sound.mp3|thumb]]
|-
! mp4
| valign="top" |
* Video: [[Image:Video.m4v|thumb]]
|-
! Pdf
| valign="top" | [[Image:Test.pdf|thumb]]
|}
=== graphviz ===
Homepage...: http://www.graphviz.org
Demos......: http://www.graphviz.org/Gallery.php
MediaWiki..: https://www.mediawiki.org/wiki/Extension:GraphViz
==== einfach ====
<graphviz border='frame' format='png'>
    digraph simple { Hello -> World }
</graphviz>
<pre><nowiki>
<graphviz border='frame' format='png'>
    digraph simple { Hello -> World }
</graphviz>
</nowiki></pre>
----
<graphviz>
digraph test1 {
size ="4,4";
main [shape=box]; /* this is a comment */
main -> parse [weight=8];
parse -> execute;
main -> init [style=dotted];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=red]; // so is this
main -> printf [style=bold,label="100 times"];
make_string [label="make a\nstring"];
node [shape=box,style=filled,color=".7 .3 1.0"];
execute -> compare;
}
</graphviz>
<pre><nowiki>
<graphviz>
digraph test1 {
size ="4,4";
main [shape=box]; /* this is a comment */
main -> parse [weight=8];
parse -> execute;
main -> init [style=dotted];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=red]; // so is this
main -> printf [style=bold,label="100 times"];
make_string [label="make a\nstring"];
node [shape=box,style=filled,color=".7 .3 1.0"];
execute -> compare;
}
</graphviz>
</nowiki></pre>
==== mit Verweisen ====
<graphviz>
digraph test2 {
            Perl [URL="http://www.perl.org"];
            Java [URL="http://java.sun.com"];
            Perl -> Java
}
</graphviz>
<pre><nowiki>
<graphviz>
digraph test2 {
            Perl [URL="http://www.perl.org"];
            Java [URL="http://java.sun.com"];
            Perl -> Java
}
</graphviz>
</nowiki></pre>
==== etwas komplexer ====
<graphviz>
graph test4
{
    //rotate=90;
    id[label="id"];
    email[label="email"];
    name[label="name"];
    uname[label="Name"];
    address[label="Address"];
    node[shape=rectangle];
    university[label="University Department"];
    student[label="Student"];
    StUnDe[shape=diamond];
    university -- StUnDe [label="1", len=3];
    StUnDe -- student [label="n", len=2];
    student -- id;
    student -- name;
    student -- email;
    university -- uname;
    university -- address;
}
</graphviz>
<pre><nowiki>
<graphviz>
graph test4
{
    //rotate=90;
    id[label="id"];
    email[label="email"];
    name[label="name"];
    uname[label="Name"];
    address[label="Address"];
    node[shape=rectangle];
    university[label="University Department"];
    student[label="Student"];
    StUnDe[shape=diamond];
    university -- StUnDe [label="1", len=3];
    StUnDe -- student [label="n", len=2];
    student -- id;
    student -- name;
    student -- email;
    university -- uname;
    university -- address;
}
</graphviz>
</nowiki></pre>
----
<graphviz>
graph test5
{
        edge [len=2];
        V1 -- V2 [label="20"];
        V2 -- V3 [label="15"];
        V3 -- V4 [label="3"];
        V4 -- V5 [label="17"];
        V5 -- V6 [label="28"];
        V6 -- V1 [label="23"];
        V7 -- V1 [label="1"];
        V7 -- V2 [label="4"];
        V7 -- V3 [label="9"];
        V7 -- V4 [label="16"];
        V7 -- V5 [label="25"];
        V7 -- V6 [label="36"];
}
</graphviz>
<pre><nowiki>
<graphviz>
graph test5
{
        edge [len=2];
        V1 -- V2 [label="20"];
        V2 -- V3 [label="15"];
        V3 -- V4 [label="3"];
        V4 -- V5 [label="17"];
        V5 -- V6 [label="28"];
        V6 -- V1 [label="23"];
        V7 -- V1 [label="1"];
        V7 -- V2 [label="4"];
        V7 -- V3 [label="9"];
        V7 -- V4 [label="16"];
        V7 -- V5 [label="25"];
        V7 -- V6 [label="36"];
}
</graphviz>
</nowiki></pre>
----
<graphviz>
digraph test6 {
graph [rankdir = "LR"];
node [fontsize = "16" shape = "ellipse"];
edge [];
"node0" [label = "<f0> 0x10ba8| <f1>" shape = "record" ];
"node1" [label = "<f0> 0xf7fc4380| <f1> | <f2> |-1" shape = "record"];
"node2" [label = "<f0> 0xf7fc44b8| | |2" shape = "record"];
"node3" [label = "<f0> 3.43322790286038071e-06|44.79998779296875|0" shape = "record"];
"node4" [label = "<f0> 0xf7fc4380| <f1> | <f2> |2" shape = "record"];
"node5" [label = "<f0> (nil)| | |-1" shape = "record"];
"node6" [label = "<f0> 0xf7fc4380| <f1> | <f2> |1" shape = "record"];
"node7" [label = "<f0> 0xf7fc4380| <f1> | <f2> |2" shape = "record"];
"node8" [label = "<f0> (nil)| | |-1" shape = "record"];
"node9" [label = "<f0> (nil)| | |-1" shape = "record"];
"node10" [label = "<f0> (nil)| <f1> | <f2> |-1" shape = "record"];
"node11" [label = "<f0> (nil)| <f1> | <f2> |-1" shape = "record"];
"node12" [label = "<f0> 0xf7fc43e0| | |1 "shape = "record"];
"node0":f0 -> "node1":f0 [id = 0];
"node0":f1 -> "node2":f0 [id = 1];
"node1":f0 -> "node3":f0 [id = 2];
"node1":f1 -> "node4":f0 [id = 3];
"node1":f2 -> "node5":f0 [id = 4];
"node4":f0 -> "node3":f0 [id = 5];
"node4":f1 -> "node6":f0 [id = 6];
"node4":f2 -> "node10":f0 [id = 7];
"node6":f0 -> "node3":f0 [id = 8];
"node6":f1 -> "node7":f0 [id = 9];
"node6":f2 -> "node9":f0 [id = 10];
"node7":f0 -> "node3":f0 [id = 11];
"node7":f1 -> "node1":f0 [id = 12];
"node7":f2 -> "node8":f0 [id = 13];
"node10":f1 -> "node11":f0 [id = 14];
"node10":f2 -> "node12":f0 [id = 15];
"node11":f2 -> "node1":f0 [id = 16];
}
</graphviz>
<pre><nowiki>
<graphviz>
digraph test6 {
graph [rankdir = "LR"];
node [fontsize = "16" shape = "ellipse"];
edge [];
"node0" [label = "<f0> 0x10ba8| <f1>" shape = "record" ];
"node1" [label = "<f0> 0xf7fc4380| <f1> | <f2> |-1" shape = "record"];
"node2" [label = "<f0> 0xf7fc44b8| | |2" shape = "record"];
"node3" [label = "<f0> 3.43322790286038071e-06|44.79998779296875|0" shape = "record"];
"node4" [label = "<f0> 0xf7fc4380| <f1> | <f2> |2" shape = "record"];
"node5" [label = "<f0> (nil)| | |-1" shape = "record"];
"node6" [label = "<f0> 0xf7fc4380| <f1> | <f2> |1" shape = "record"];
"node7" [label = "<f0> 0xf7fc4380| <f1> | <f2> |2" shape = "record"];
"node8" [label = "<f0> (nil)| | |-1" shape = "record"];
"node9" [label = "<f0> (nil)| | |-1" shape = "record"];
"node10" [label = "<f0> (nil)| <f1> | <f2> |-1" shape = "record"];
"node11" [label = "<f0> (nil)| <f1> | <f2> |-1" shape = "record"];
"node12" [label = "<f0> 0xf7fc43e0| | |1 "shape = "record"];
"node0":f0 -> "node1":f0 [id = 0];
"node0":f1 -> "node2":f0 [id = 1];
"node1":f0 -> "node3":f0 [id = 2];
"node1":f1 -> "node4":f0 [id = 3];
"node1":f2 -> "node5":f0 [id = 4];
"node4":f0 -> "node3":f0 [id = 5];
"node4":f1 -> "node6":f0 [id = 6];
"node4":f2 -> "node10":f0 [id = 7];
"node6":f0 -> "node3":f0 [id = 8];
"node6":f1 -> "node7":f0 [id = 9];
"node6":f2 -> "node9":f0 [id = 10];
"node7":f0 -> "node3":f0 [id = 11];
"node7":f1 -> "node1":f0 [id = 12];
"node7":f2 -> "node8":f0 [id = 13];
"node10":f1 -> "node11":f0 [id = 14];
"node10":f2 -> "node12":f0 [id = 15];
"node11":f2 -> "node1":f0 [id = 16];
}
</graphviz>
</nowiki></pre>


=== Syntax-Highlighting ===
=== Syntax-Highlighting ===
Zeile 316: Zeile 35:
</syntaxhighlight>
</syntaxhighlight>
|}
|}
=== Handler ===
''(display pdf-files)''
{| border="1" align="center" width="70%"
|-
! Pdf
| valign="top" | [[File:Test.pdf|thumb]]
|}
=== math ===
''(s. http://de.wikipedia.org/wiki/Hilfe:TeX oder https://www.mediawiki.org/wiki/Extension:MathJax )''
deaktiviert, da Extension nicht mehr gepflegt wird
=== graphviz ===
Homepage...: http://www.graphviz.org
Demos......: http://www.graphviz.org/Gallery.php
MediaWiki..: https://www.mediawiki.org/wiki/Extension:GraphViz
deaktiviert, da Extension nicht mehr gepflegt wird

Aktuelle Version vom 19. Oktober 2024, 12:29 Uhr

Umlaute

wegen der UTF-8 Problematik:

Umlaute: äöüßÄÖ
AltGr-K: ¬¹²³¼½¬
AltGr-K: @ł€¶ŧ←↓→øþ¨~
AltGr-K: æßðđŋħjĸł˝^
AltGr-K: «»¢“”nµ─·

Syntax-Highlighting

(http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi)

PHP

Code View
<syntaxhighlight lang="php">
<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>
</syntaxhighlight>
<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>


Handler

(display pdf-files)

Pdf

math

(s. http://de.wikipedia.org/wiki/Hilfe:TeX oder https://www.mediawiki.org/wiki/Extension:MathJax ) deaktiviert, da Extension nicht mehr gepflegt wird

graphviz

Homepage...: http://www.graphviz.org
Demos......: http://www.graphviz.org/Gallery.php
MediaWiki..: https://www.mediawiki.org/wiki/Extension:GraphViz

deaktiviert, da Extension nicht mehr gepflegt wird