752 | | == Images == |
753 | | |
754 | | Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags. |
755 | | |
756 | | You now have to use the ![[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like `[[Image(picture.gif)]]`. |
757 | | |
758 | | In addition to the current page, it is possible to refer to other resources: |
759 | | * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page) |
760 | | * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket) |
761 | | * `[[Image(htdocs:picture.gif)]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory) |
762 | | * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository) |
763 | | |
764 | | ||= Wiki Markup =||= Display =|| |
| 752 | == Bilder == #Images |
| 753 | |
| 754 | URLs, die mit `.png`, `.gif` or `.jpg` enden, werden nicht mehr automatisch als Bildverweise interpretiert und zu `<img>`-HTML-Objekten umgewandelt. |
| 755 | |
| 756 | Sie müssen nun das ![[Image]]-Makro verwenden. Das Einfügen eines Bildes ist am einfachsten, wenn es als Seitenanhang hochgeladen und der Dateiname in der Form `[[Image(Bild.gif)]]` im Makroaufruf eingetragen wird. |
| 757 | |
| 758 | Zusätzlich zur aktuellen Seite kann auch auf andere Speicherorte verwiesen werden: |
| 759 | * `[[Image(wiki:WikiFormatting:Bild.gif)]]` (Verweis auf den Anhang einer anderen Seite) |
| 760 | * `[[Image(ticket:1:Bild.gif)]]` (Dateianhang eines Tickets) |
| 761 | * `[[Image(htdocs:Bild.gif)]]` (Verweis auf eine Datei im `htdocs`-Verzeichnis der [TracEnvironment Projektumgebung]) |
| 762 | * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (eine Datei im Repository) |
| 763 | |
| 764 | ||= Wiki-Formatierung =||= Darstellung =|| |
774 | | See WikiMacros for further documentation on the `[[Image()]]` macro, which has several useful options (`title=`, `link=`, etc.) |
775 | | |
776 | | |
777 | | == Macros == |
778 | | |
779 | | Macros are ''custom functions'' to insert dynamic content in a page. |
780 | | |
781 | | ||= Wiki Markup =||= Display =|| |
| 774 | Die Seite WikiMacros enthält weitere Beschreibungen zum `[[Image()]]`-Makro, das einige nützliche Optionen besitzt (`title=`, `link=`, etc.). |
| 775 | |
| 776 | |
| 777 | == Makros == #Macros |
| 778 | |
| 779 | Makros sind ''Zusatzfunktionen'' für das Einfügen veränderlicher Inhalte in eine Seite. |
| 780 | |
| 781 | ||= Wiki-Formatierung =||= Darstellung =|| |