Wiki Capabilities: Difference between revisions

From Playful Exploration
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<strong>MediaWiki has been successfully installed.</strong>
[[category:Wiki Playground]]


Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.
== tables ==
{| class="wikitable"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
[https://www.mediawiki.org/wiki/Help:Tables Click for more fancy table examples]


== syntax highlight ==
== syntax highlight ==


<syntaxhighlight lang="python">
=== Python ===
<source lang="python">
def quickSort(arr):
def quickSort(arr):
     less = []
     less = []
Line 14: Line 30:
     else:
     else:
       pass
       pass
</syntaxhighlight>
</source>


<syntaxhighlight lang="dos">
=== Dos ===
<source lang="dos">
Set "T=Echo Set "T=!T!"&Call Echo Set E=!E!E!E!!E!E!E!&Echo Cmd/V:On/C"!E!T!E!""
Set "T=Echo Set "T=!T!"&Call Echo Set E=!E!E!E!!E!E!E!&Echo Cmd/V:On/C"!E!T!E!""
Set E=%%
Set E=%%
Cmd/V:On/C"%T%"
Cmd/V:On/C"%T%"
</syntaxhighlight>
</source>


<syntaxhighlight lang="javascript">
=== JavaScript ===
<source lang="javascript">
function myFunction() {
function myFunction() {
     var text = "";
     var text = "";
Line 32: Line 50:
     document.getElementById("demo").innerHTML = text;
     document.getElementById("demo").innerHTML = text;
}
}
</syntaxhighlight>
</source>


== embedded video ==
== embedded video ==
Line 48: Line 66:
|-
|-
|
|
<uml>
<uml redraw>
bob -> alice
participant TestA [[/wiki?title=TestA]]
participant TextB [[/wiki?title=TextB]]
TestA -> TextB
</uml>
</uml>
|
|
<pre>
<pre>
<uml redraw>
<uml redraw>
bob -> alice
participant TestA [[/wiki?title=TestA]]
participant TextB [[/wiki?title=TextB]]
TestA -> TextB
</uml>
</uml>
</pre>
</pre>
Line 116: Line 138:
|-
|-
|
|
<uml>
User -> A: DoWork
activate A
A -> A: Internal call
activate A
A -> B: << createRequest >>
activate B
B --> A: RequestCreated
deactivate B
deactivate A
A -> User: Done
deactivate A
</uml>
|
<pre>
<uml>
User -> A: DoWork
activate A
A -> A: Internal call
activate A
A -> B: << createRequest >>
activate B
B --> A: RequestCreated
deactivate B
deactivate A
A -> User: Done
deactivate A
</uml>
|-
|
<pre>
<uml>
<uml>
User -> A: DoWork
User -> A: DoWork
Line 337: Line 321:
</uml>
</uml>
</pre>
</pre>
|}
== Embed images ==
{|
|- class="wikitable"
! Title
! Image
|-
| Esp8266 version 1
|https://mcuoneclipse.files.wordpress.com/2014/11/esp8266-pins.png
|}
|}

Latest revision as of 03:59, 3 January 2016


Consult the User's Guide for information on using the wiki software.

tables

Orange Apple
Bread Pie
Butter Ice cream

Click for more fancy table examples

syntax highlight

Python

def quickSort(arr):
    less = []
    pivotList = []
    more = []
    if len(arr) <= 1:
        return arr
    else:
       pass

Dos

Set "T=Echo Set "T=!T!"&Call Echo Set E=!E!E!E!!E!E!E!&Echo Cmd/V:On/C"!E!T!E!""
Set E=%%
Cmd/V:On/C"%T%"

JavaScript

function myFunction() {
    var text = "";
    var i = 0;
    while (i < 10) {
        text += "<br>The number is " + i;
        i++;
    }
    document.getElementById("demo").innerHTML = text;
}

embedded video

Some cool Uml Examples

http://www.planttext.com/planttext

Graphics Source

Your browser has no SVG support. Please install Adobe SVG Viewer plugin (for Internet Explorer) or use Firefox, Opera or Safari instead.

<uml redraw>
participant TestA [[/wiki?title=TestA]]
participant TextB [[/wiki?title=TextB]]
TestA -> TextB
</uml>

Your browser has no SVG support. Please install Adobe SVG Viewer plugin (for Internet Explorer) or use Firefox, Opera or Safari instead.

<uml>
@startuml
skinparam backgroundColor LightYellow
skinparam state {
  StartColor MediumBlue
  EndColor Red
  BackgroundColor Peru
  BackgroundColor<<Warning>> Olive
  BorderColor Gray
  FontName Impact
}

[*] --> NotShooting

state "Not Shooting State" as NotShooting {
  state "Idle mode" as Idle <<Warning>>
  state "Configuring mode" as Configuring
  [*] --> Idle
  Idle --> Configuring : EvConfig
  Configuring --> Idle : EvConfig
}

NotShooting --> [*]
@enduml
</uml>

Adobe SVG Viewer plugin (for Internet Explorer) or use Firefox, Opera or Safari instead.

<uml>
User -> A: DoWork
activate A

A -> A: Internal call
activate A

A -> B: << createRequest >>
activate B

B --> A: RequestCreated
deactivate B
deactivate A
A -> User: Done
deactivate A
</uml>

Your browser has no SVG support. Please install Adobe SVG Viewer plugin (for Internet Explorer) or use Firefox, Opera or Safari instead.

<uml>
@startuml
digraph world {
size="7,7";
	{rank=same; S8 S24 S1 S35 S30;}
	{rank=same; T8 T24 T1 T35 T30;}
	{rank=same; 43 37 36 10 2;}
	{rank=same; 25 9 38 40 13 17 12 18;}
	{rank=same; 26 42 11 3 33 19 39 14 16;}
	{rank=same; 4 31 34 21 41 28 20;}
	{rank=same; 27 5 22 32 29 15;}
	{rank=same; 6 23;}
	{rank=same; 7;}

	S8 -> 9;
	S24 -> 25;
	S24 -> 27;
	S1 -> 2;
	S1 -> 10;
	S35 -> 43;
	S35 -> 36;
	S30 -> 31;
	S30 -> 33;
	9 -> 42;
	9 -> T1;
	25 -> T1;
	25 -> 26;
	27 -> T24;
	2 -> {3 ; 16 ; 17 ; T1 ; 18}
	10 -> { 11 ; 14 ; T1 ; 13; 12;}
	31 -> T1;
	31 -> 32;
	33 -> T30;
	33 -> 34;
	42 -> 4;
	26 -> 4;
	3 -> 4;
	16 -> 15;
	17 -> 19;
	18 -> 29;
	11 -> 4;
	14 -> 15;
	37 -> {39 ; 41 ; 38 ; 40;}
	13 -> 19;
	12 -> 29;
	43 -> 38;
	43 -> 40;
	36 -> 19;
	32 -> 23;
	34 -> 29;
	39 -> 15;
	41 -> 29;
	38 -> 4;
	40 -> 19;
	4 -> 5;
	19 -> {21 ; 20 ; 28;}
	5 -> {6 ; T35 ; 23;}
	21 -> 22;
	20 -> 15;
	28 -> 29;
	6 -> 7;
	15 -> T1;
	22 -> T35;
	22 -> 23;
	29 -> T30;
	7 -> T8;
	23 -> T24;
	23 -> T1;
}
@enduml
</uml>

Embed images

Title Image
Esp8266 version 1 https://mcuoneclipse.files.wordpress.com/2014/11/esp8266-pins.png