Metainformationen zur Seite

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
wiki:playground [03.11.2005 14:16] 192.168.0.165wiki:playground [30.06.2010 15:04] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 +====== Boxes ======
  
 +
 +<box 80%|The full syntax:>
 +
 +''**%%<box%%** //width// //classes// **|** title text**>** contents text **%%</box|%%** caption text**%%>%%**''
 +
 +  ; //classes// : any number of classes which use the styles in your template or the plugin's own stylesheet to determine the look of the box. The box plugins comes with the following classes already defined:
 +    * //round// --- box will have rounded corners
 +    * //blue// --- blue colour scheme
 +    * //red// --- red colour scheme
 +    * //green// --- green colour scheme
 +    * //orange// --- orange colour scheme
 +    * //left// --- box is floated left on the page
 +    * //right// --- box is floated right on the page
 +
 +  ; //width// : a percentage value from 1-100%.
 +  ; //title text// : text (including dokuwiki markup) displayed as a title above box contents.
 +  ; //caption text// : text (without dokuwiki markup) displayed as a caption below box contents.
 +
 +
 +\\ 
 +//width// & //classes// can be specified in any order.  \\ If a title is used a space MUST precede the pipe "%%|%%"
 +</box>
 +
 +
 +
 +====== box plugin test page ======
 +
 +<box>the most basic box</box>
 +
 +
 +<box 95% red|boxed & titled> this is
 +also 
 +boxed
 +</box>
 +
 +<box green> this is
 +also 
 +boxed
 +</box|boxed & captioned>
 +
 +<box round orange>as is this</box>
 +
 +<box round 75% |title **with //fo''rma''tt//ing**, a [[link]] and rounded corners :-) >boxes can also contain markup...
 +  * a list
 +  * of several 
 +  * items
 +
 +<code html>
 +<div class='box'>
 +  <b class='xtop'><b class='xb1'></b><b class='xb2'></b><b class='xb3'></b><b class='xb4'></b></b>
 +  <div class='xbox'>
 +    <p class='box_title'>Title text would go here</p>
 +    <div class='box_content'>
 +      <p>Including this html snippet of a box</p>
 +      <p>All those &lt;b&gt; tags handle the rounded corners</p>
 +    </div>
 +  </div>
 +  <b class='xbottom'><b class='xb4'></b><b class='xb3'></b><b class='xb2'></b><b class='xb1'></b></b>
 +</div>
 +</code>
 +
 +=== headings aren't allowed in boxes ===
 +
 +| but | tables | are |
 +
 +and plugins ... 
 +  ; definition : list : list : list
 +
 +and a [[link]] </box>
 +
 +
 +<box |title>a box to match 
 +the default dokuwiki colour scheme</box>
 +
 +<box |Example box>
 +to test what is possible:
 +**NICE PLUGIN:**
 +You can 
 +  * make Lists
 +  * other markup
 +  * set the color of the box
 +  * ...
 +
 +looks good?
 +
 +</box>
 +
 +
 +<box 80% red round| title>red box, 80% wide, with a title</box>
 +
 +<box blue left> this is
 +a blue box
 +</box>
 +
 +<box 80% blue round| title>blue box with a title</box>
 +
 +<box green right> this is
 +a green box
 +</box>
 +
 +<box 80% green round| title>a wide green box</box>
 +
 +<box orange>and an orange box
 +</box>
 +
 +<box 30% orange round>orange box with a title</box| caption>
 +.
 +
 +
 +<-
 +
 + 
 +[[http://test.de|xx xxxxxxxxxxxxxxxxxxxxxxx  xxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxxxxxxxx xxxxx xxxxxxx  xxxxxxxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx]]
 + 
 +
 +====== Playground ======
 +
 +moinmoin !
 +
 +
 +test
 +----
 +test
 +
 +
 +  * test
 +----
 +  * test
 +
 +== test ==
 +----
 +== test ==
 +
 +
 +|  d || e |
 +| f ^ ^|
 +||||
 +
 +==== Level 3 Überschrift ====
 +
 +==== Level 3 Überschrift ====
 +
 +Dieser Text ist <del>deleted</del> und dieser <ins>inserted</ins> ...
 +
 +  * <del>Was ist eigentlich, wenn ein ganzer Item deleted ist?</del>
 +  * <ins>Und ein ganzer Item inserted?</ins>
 +
 +  some wiki code:
 +    * Test
 +    * Test ...
 +  :-)
 +
 +  1. bla
 +  2. blub
 +  3. foo
 +  4. bar
 +
 +
 +====== Level 1 Überschrift ======
 +===== Level 2 Überschrift =====
 +==== Level 3 Überschrift ====
 +
 +Laläläöüöääüß!"§§$&/()=?(/&%$§"*'#+ö_;,,
 +
 +{{wiki:php-powered.png?200 }}
 +
 +
 +  * Unordered
 +    - Ohne
 +  - Theo
 +
 +
 +Hallo
 +
 +
 +===== FS#367 — html code within table =====
 +
 + Bug:
 +  <html><font color="green">OK</font></html>
 +<html><font color="green">OK</font></html> will display a green ok (if the option 'htmlok' has been activated in local.php)
 +However, the same line within a table cell will be displayed as is (not as a green ok, but as html code)
 +
 +^symbol^number^
 +|1|one|
 +|2|<html><font color="green">OK</font></html>|
 +|3|three|
 +
 +Possible Fix:
 +If one add the line 
 +$this->allowedModes[] = 'html';
 +in the function Doku_Parser_Mode_Table() or parser.php, then this html code is correctly rendered within a cell table
 +
 +
 +===== FS#287 — <html> tag problems... =====
 +
 +Example:
 +
 +  Hello <html><strong>world</strong>!</html>
 +
 +Is rendered as:
 +
 +Hello <html><strong>world</strong>!</html>
 +
 +<code>
 +Hello
 +world
 +!
 +</code>
 +
 +It should be on the same line!
 +
 +While:
 +
 +<code>
 +  * Hello <html><strong>world</strong>!</html>
 +</code>
 +
 +Is rendered as:
 +
 +  * Hello <html><strong>world</strong>!</html>
 +
 +<code>
 +- Hello <html><strong>world</strong>!</html>
 +</code>
 +
 +It should be rendered as html I think...
 +
 +It wasn't so with the previous parser. It worked well.
 +
 +
 +
 +testing <html><span style="color:#060; font-weight:bold;">html</span></html> that is inline ...
 +
 +
 +<box gray|hello>
 +foo bar
 +</box>