Difference between revisions of "Installed WikiPlugins"
From SfzWiki
Ghoulsblade (Talk | contribs) (→graphviz) |
Izimerasok (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| − | === graphviz === | + | >=== graphviz === |
| − | diagramms using a straighforward plaintext syntax | + | diagramms using a straighforward plaintext syntax<br> |
| − | + | <pre><nowiki><graph> | |
digraph G { | digraph G { | ||
| − | A - | + | A -> { B, C }; |
| − | D - | + | D -> A; |
} | } | ||
| − | + | </graph></nowiki></pre> | |
| − | + | <graph> | |
digraph G { | digraph G { | ||
| − | A - | + | A -> { B, C }; |
| − | D - | + | D -> A; |
} | } | ||
| − | + | </graph> | |
| + | |||
| + | ---- | ||
| + | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
| + | ---- | ||
| + | =[http://ekydewequ.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | ||
| + | ---- | ||
| + | =[http://ekydewequ.co.cc CLICK HERE]= | ||
| + | ---- | ||
| + | </div> | ||
=== sourcecode-hilighting === | === sourcecode-hilighting === | ||
Revision as of 23:18, 17 November 2010
>=== graphviz ===
diagramms using a straighforward plaintext syntax<br> <pre><nowiki><graph> digraph G {
A -> { B, C };
D -> A;
} </graph></nowiki></pre>
<graph> digraph G {
A -> { B, C };
D -> A;
} </graph>
sourcecode-hilighting
this mediawiki now supports source code highlighting. <code>#language# ...put your code here... </code>
language can be something like java, javascript, cpp, prolog, perl, php3, python, ruby, flex, changelog, lua, caml,sml
if #language# is not specified cpp will be used
wiki-syntax inside <code> will be ignored
require_once("lib.minimap.php");
function FindRandomStartplace () {
$o = sqlgetobject("SELECT MIN(`x`) as minx,MAX(`x`) as maxx,MIN(`y`) as miny,MAX(`y`) as maxy FROM `building`");
for($i=0;$i<50;++$i){
$x = rand($o->minx-20,$o->maxx+20);
$y = rand($o->miny-20,$o->maxy+20);
$d = 20;
$count = sqlgetone("SELECT COUNT(`id`) FROM `building` WHERE (".($x-$d).")<=`x` AND `x`<=(".($x+$d).") AND (".($y-$d).")<=`y` AND `y`<=(".($y+$d).")");
if($count == 0)break;
}
return array($x,$y);
}
function TypeCheck ($arr) {
if (count($arr) == 0) return "1";
return "`type` = ".implode(" OR `type` = ",$arr);
std::string test = "blabla \n\n [[wikisafe]], automatic nowiki
";
}