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:bacasable [23-12-2009 15:52] 62.149.220.103 PqgfWuBQxiplNjCPJ |
wiki:bacasable [04-04-2013 22:06] (Version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | [url=http://www.levitraguidance.com/]levitra[/url] :-O | + | ====== Bac à sable ====== |
+ | le BBcode marche aussi | ||
+ | [b]test | ||
+ | [color=red]couleur rouge en bbcode[/ | ||
+ | |||
+ | test | ||
+ | test | ||
+ | < | ||
+ | Voici un exemple de note | ||
+ | </ | ||
+ | test | ||
+ | <note importante> | ||
+ | un exemple de note importante | ||
+ | </ | ||
+ | test | ||
+ | <note tuyau> | ||
+ | un exemple de note tuyau | ||
+ | </ | ||
+ | test | ||
+ | <note bloquante> | ||
+ | et un exemple de note bloquante | ||
+ | </ | ||
+ | |||
+ | un exemple de code php | ||
+ | <code php> | ||
+ | <? | ||
+ | if($caca==" | ||
+ | echo "ca pue!"; | ||
+ | // de fab: t' | ||
+ | elseif($caca==" | ||
+ | echo "on est vraiment dedans..."; | ||
+ | else | ||
+ | tirerlachasse($PQ, | ||
+ | ?> | ||
+ | </ | ||
+ | {{playground: | ||
+ | |||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | The syntax wraps any [[http://ditaa.sourceforge.net/|ditaa formatted]] ASCII flowchart into %%< | ||
+ | |||
+ | <code html> | ||
+ | <ditaa [optional parameters]> | ||
+ | |||
+ | ... (some ditaa-code) ... | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== Parameters ==== | ||
+ | |||
+ | ^ Parameter | ||
+ | | width=//< | ||
+ | | height=//< | ||
+ | | //< | ||
+ | | < | ||
+ | | (no)round | ||
+ | | (no)shadow | ||
+ | | (no)antialias | ||
+ | | (no)edgesep | ||
+ | | left center right | ||
+ | |||
+ | ===== Possible tags ===== | ||
+ | |||
+ | Not all shape selector tags are documented on the ditaa site. A quick source scan revealed: | ||
+ | |||
+ | ^ tag ^ Description | ||
+ | | {c} | decision(Choice) | ||
+ | | {d} | document | ||
+ | | {io} | input/ | ||
+ | | {mo} | manual operation | ||
+ | | {o} | ellipse, circle | ||
+ | | {s} | storage | ||
+ | | {tr} | trapezoid (looks like an inverted {mo} ) | | ||
+ | |||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | |||
+ | < | ||
+ | <ditaa round noedgesep> | ||
+ | +--------+ | ||
+ | | | --+ ditaa +--> | | | ||
+ | | Text | | ||
+ | |Document| | ||
+ | | | ||
+ | +---+----+ | ||
+ | : ^ | ||
+ | | Lots of work | | ||
+ | +-------------------------+ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <ditaa round noedgesep> | ||
+ | +--------+ | ||
+ | | | --+ ditaa +--> | | | ||
+ | | Text | | ||
+ | |Document| | ||
+ | | | ||
+ | +---+----+ | ||
+ | : ^ | ||
+ | | Lots of work | | ||
+ | +-------------------------+ | ||
+ | </ | ||
+ | |||
+ | |||
+ | <ditaa round noedgesep> | ||
+ | /----\ /----\ | ||
+ | |c33F| |cC02| | ||
+ | | | | | | ||
+ | \----/ \----/ | ||
+ | |||
+ | /----\ /----\ | ||
+ | |c1FF| |c1AB| | ||
+ | | | | | | ||
+ | \----/ \----/ | ||
+ | </ | ||
+ | |||
+ | <ditaa round noedgesep> | ||
+ | / | ||
+ | | Things to do | | ||
+ | | cGRE | | ||
+ | | o Cut the grass | | ||
+ | | o Buy jam | | ||
+ | | o Fix car | | ||
+ | | o Make website | ||
+ | \-----------------/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | <ditaa round> | ||
+ | / | ||
+ | | || || | | ||
+ | | ++ ++ | +----+---+----+----+---+---+---+ | ||
+ | \\ cDB6 // | |{o}| | |{c}|{s}| | ||
+ | | /----\ | |{tr}| | ||
+ | | |c733| | +----+---+----+----+---+---+---+ | ||
+ | | ||
+ | +-------+ | ||
+ | +-------+ | ||
+ | |cFDA | ||
+ | |wake up+--> | ||
+ | | {o} | ||
+ | +-------+ | ||
+ | +---+---+ | ||
+ | |N | ||
+ | +-------> | ||
+ | | planet{mo}| | ||
+ | | ||
+ | |||
+ | / | ||
+ | | | ||
+ | | /- /\ +\/+ +\ | +- | | ||
+ | | \\ ++ |\/| +/ | +- | | ||
+ | | -/ || | | | +- +- | | ||
+ | | cDEF {o} | | ||
+ | \-----------------------/ | ||
+ | </ | ||
+ | |||
+ | ==== Test ==== | ||
+ | <ditaa round> | ||
+ | +--------+ | ||
+ | | Aroun Thasief | | ||
+ | | | | ||
+ | | | | ||
+ | +-------+ | ||
+ | </ |