Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:syntax

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
wiki:syntax [2009/02/14 13:13] – Externe Bearbeitung 127.0.0.1wiki:syntax [2010/03/05 11:14] – + color <fc> blacknight
Zeile 29: Zeile 29:
  
 You should use forced newlines only if really needed. You should use forced newlines only if really needed.
 +
 +
 +  You can color something with <fc color>something</fc>
 +
 + //color// can be any of:
 +
 +    - A three or six hexadecimal color value [ e.g. //#E8E// or //#7fffd4// ]
 +    - One of the standard color names [ e.g. //white//, //black//, //aqua// ]
 +    - An decimal or percentage RGB color [ e.g. //rgb(55%, 35%, 25%)//, //rgb(255, 0, 255)// ]
 +
 +  * __Note 1__: If //color// is omitted, a default of yellow (//#FF0//) will be used.
 +  * __Note 2__: This follows the W3C CSS standard for colors.  See: [[http://www.w3.org/TR/CSS21/syndata.html#color-units|the CSS2.1 spec]] for more detail.
 +
 +<fc cyan>named cyan highlight</fc>
 + \\
 +<fc>default highlight with **some bold** text</fc>
 + \\
 +<fc #e0e>3-hex magenta highlight</fc>
 + \\
 +<fc cyan>cyan with <fc pink>pink in the middle</fc> of the highlight</fc> --- doesn't work :-(
 + \\
 + \\
 +you <fc cyan>need to </fc><fc pink>do it</fc><fc cyan> this</fc> way
 +<code>
 +<fc cyan>named cyan highlight</fc>
 +<fc>default highlight with **some bold** text</fc>
 +<fc #e0e>3-hex magenta highlight</fc>
 +<fc cyan>cyan with <fc pink>pink in the middle</fc> of the highlight</fc> --- doesn't work :-(
 +you <fc cyan>need to </fc><fc pink>do it</fc><fc cyan> this</fc> way
 +</code>
  
 ===== Links ===== ===== Links =====
Zeile 303: Zeile 333:
   |left          |         right|    center    |   |left          |         right|    center    |
   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
 +
 +The width has to be specified at the start of a line before the table. The first value is used as width of the table, the rest is for columns. If you want to omit some value use a dash instead. The widths can be specified in any CSS units:
 +
 +|< 100% 50px - 5em 10em 10% >|
 +^ A  ^  B  ^  C  ^  D  ^  E  ^
 +| 1  |  2  |  3  |  4  |  5  |
 +
 +<code>
 +|< 100% 50px - 5em 10em 10% >|
 +^ A  ^  B  ^  C  ^  D  ^  E  ^
 +| 1  |  2  |  3  |  4  |  5  |
 +</code>
 +
 +If there are more columns in the table than there are values in the width specification, the width will be applied to the columns from left to right:
 +
 +|< 50em 20% >|
 +^ 20%              ^ 80%                          ^
 +| Specified width  | The rest of the table width  |
 +<code>
 +|< 50em 20% >|
 +^ 20%              ^ 80%                          ^
 +| Specified width  | The rest of the table width  |
 +</code>
  
 ===== Non-parsed Blocks ===== ===== Non-parsed Blocks =====
wiki/syntax.txt · Zuletzt geändert: 2023/01/30 13:19 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki