496 | | == Tables == |
497 | | === Simple Tables === |
498 | | Simple tables can be created like this: |
499 | | ||= Wiki Markup =||= Display =|| |
500 | | {{{#!td |
501 | | {{{ |
502 | | ||Cell 1||Cell 2||Cell 3|| |
503 | | ||Cell 4||Cell 5||Cell 6|| |
| 496 | == Tabellen == #Tables |
| 497 | === Einfache Tabellen === |
| 498 | Einfache Tabellen können folgendermaßen erstellt werden: |
| 499 | ||= Wiki-Formatierung =||= Darstellung =|| |
| 500 | {{{#!td |
| 501 | {{{ |
| 502 | ||Zelle 1||Zelle 2||Zelle 3|| |
| 503 | ||Zelle 4||Zelle 5||Zelle 6|| |
507 | | ||Cell 1||Cell 2||Cell 3|| |
508 | | ||Cell 4||Cell 5||Cell 6|| |
509 | | }}} |
510 | | |
511 | | Cell headings can be specified by wrapping the content in a pair of '=' characters. |
512 | | Note that the '=' characters have to stick to the cell separators, like this: |
513 | | ||= Wiki Markup =||= Display =|| |
514 | | {{{#!td |
515 | | {{{ |
516 | | || ||= stable =||= latest =|| |
| 507 | ||Zelle 1||Zelle 2||Zelle 3|| |
| 508 | ||Zelle 4||Zelle 5||Zelle 6|| |
| 509 | }}} |
| 510 | |
| 511 | Zellenüberschriften können durch Setzen des Inhalts zwischen ein Paar Gleichheitszeichen definiert werden. |
| 512 | Beachten Sie, dass die '='-Zeichen bündig mit den Zellgrenzenmarken sein müssen, etwa so: |
| 513 | ||= Wiki-Formatierung =||= Darstellung =|| |
| 514 | {{{#!td |
| 515 | {{{ |
| 516 | || ||= stabil =||= neueste =|| |
544 | | Note that if the content of a cell "sticks" to one side of the cell and only one, then the text will be aligned on that side. Example: |
545 | | ||= Wiki Markup =||= Display =|| |
546 | | {{{#!td |
547 | | {{{ |
548 | | ||=Text =||= Numbers =|| |
549 | | ||left align || 1.0|| |
550 | | || center || 4.5|| |
551 | | || right align|| 4.5|| |
552 | | || default alignment || 2.5|| |
553 | | ||default|| 2.5|| |
554 | | || default || 2.5|| |
555 | | || default || 2.5|| |
| 544 | Beachten Sie, dass der Inhalt einer Zelle an der Seite ausgerichet wird, an der der Inhalt der Zelle anliegt, und nur an dieser. Beispiel: |
| 545 | ||= Wiki-Formatierung =||= Darstellung =|| |
| 546 | {{{#!td |
| 547 | {{{ |
| 548 | ||=Text =||= Zahlen =|| |
| 549 | ||links ausgerichtet || 1.0|| |
| 550 | || zentriert || 4.5|| |
| 551 | || rechts ausgerichtet|| 4.5|| |
| 552 | || Standardausrichtung || 2.5|| |
| 553 | ||Standard|| 2.5|| |
| 554 | || Standard || 2.5|| |
| 555 | || Standard || 2.5|| |
559 | | ||=Text =||= Numbers =|| |
560 | | ||left align || 1.0|| |
561 | | || center || 4.5|| |
562 | | || right align|| 4.5|| |
563 | | || default alignment || 2.5|| |
564 | | ||default|| 2.5|| |
565 | | || default || 2.5|| |
566 | | || default || 2.5|| |
567 | | }}} |
568 | | |
569 | | If contrary to the example above, the cells in your table contain more text, it might be convenient to spread a table row over multiple lines of markup. The `\` character placed at the end of a line after a cell separator tells Trac to not start a new row for the cells on the next line. |
570 | | |
571 | | ||= Wiki Markup =|| |
572 | | {{{#!td |
573 | | {{{ |
574 | | || this is column 1 [http://trac.edgewall.org/newticket new ticket] || \ |
575 | | || this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \ |
576 | | || that's column 3 and last one || |
| 559 | ||=Text =||= Zahlen =|| |
| 560 | ||links ausgerichtet || 1.0|| |
| 561 | || zentriert || 4.5|| |
| 562 | || rechts ausgerichtet|| 4.5|| |
| 563 | || Standardausrichtung || 2.5|| |
| 564 | ||Standard|| 2.5|| |
| 565 | || Standard || 2.5|| |
| 566 | || Standard || 2.5|| |
| 567 | }}} |
| 568 | |
| 569 | Falls die Zellen, im Gegensatz zum vorherigen Beispiel, mehr Text enthalten, könnte es zweckmäßg sein, die Tabellenzeilen auf mehrere Zeilen Wiki-Formatierung zu verteilen. Das `\`-Zeichen weist Trac am Ende einer Zeile nach einer Zellgrenzenmarke an, die Zellen auf der nächsten Zeile nicht auf eine neue Tabellenzeile zu setzen. |
| 570 | ||= Wiki-Formatierung =|| |
| 571 | {{{#!td |
| 572 | {{{ |
| 573 | || das ist Spalte 1 [http://trac.edgewall.org/newticket neues Ticket] || \ |
| 574 | || das ist Spalte 2 [http://trac.edgewall.org/roadmap der weitere Weg] || \ |
| 575 | || dies ist Spalte 3, die letzte || |
582 | | || this is column 1 [http://trac.edgewall.org/newticket new ticket] || \ |
583 | | || this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \ |
584 | | || that's column 3 and last one || |
585 | | }}} |
586 | | |
587 | | === Complex Tables === |
588 | | |
589 | | If the possibilities offered by the simple "pipe"-based markup for tables described above are not enough for your needs, you can create more elaborated tables by using [#Processors-example-tables WikiProcessor based tables]. |
590 | | |
| 581 | || das ist Spalte 1 [http://trac.edgewall.org/newticket neues Ticket] || \ |
| 582 | || das ist Spalte 2 [http://trac.edgewall.org/roadmap der weitere Weg] || \ |
| 583 | || dies ist Spalte 3, die letzte || |
| 584 | }}} |
| 585 | |
| 586 | === Komplex aufgebaute Tabellen === |
| 587 | |
| 588 | Falls die Möglichkeiten, die mit der zuvor beschriebenen, trennstrich-basierten Formatierung für Tabellen geboten werden, Ihre Anforderungen nicht erfüllen, können Sie aufwendigere Tabellen auf [#Processors-example-tables Basis von Wiki-Prozessoren] erstellen. |