<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>AiutoSuMacro/CollegaImmagine</title></articleinfo><section><title>Collega immagine</title><para>Questa macro viene utilizzata per creare un collegamento che mostra un'immagine (può essere fornita sia come file allegato che come URL) e la collega sia a un URL, a una pagina wiki o a un allegato. È anche possibile ridimensionare l'immagine. Nel caso non venga fornito il parametro &quot;<code>target</code>&quot; il collegamento punterà all'immagine stessa. </para><section><title>Sintassi</title><para><code>&lt;&lt;ImageLink(image,target[,width=width[,height=height]][,alt=alttag])&gt;&gt;</code> </para></section><section><title>Parametri</title><screen><![CDATA[image: nome del file immagine collegato o URL di un'immagine
target: collega la pagina wiki o un URL (opzionale) o attachment: o inline:]]></screen></section><section><title>Parole chiave dei parametri</title><screen><![CDATA[width: larghezza dell'immagine visualizzata (opzionale)
height: altezza dell'immagine visualizzata (opzionale)
alt: testo alternativo]]></screen></section><section><title>Esempi</title><screen><![CDATA[<<ImageLink(München.png,München,height=100)>>
<<ImageLink(Images/München.png,München,height=100)>>
<<ImageLink(http://webcam.portalmuc.de/images/webcam/webcam_marienplatz.jpg,München Marienplatz)>>
<<ImageLink(plot.png,width=200)>>
<<ImageLink(plot.png,height=200)>>
<<ImageLink(plot.png)>>
<<ImageLink(http://webcam.portalmuc.de/images/webcam/webcam_marienplatz.jpg,http://www.muenchen.de,width=150)>>
<<ImageLink(münchen.png,http://www.muenchen.de,width=50)>>
<<ImageLink(http://webcam.portalmuc.de/images/webcam/webcam_marienplatz.jpg)>>
<<ImageLink(example.png,alt=qualunquecosatuvoglia(üöä))>>
<<ImageLink(small.png,attachment:big.png)>>
<<ImageLink(exmaple.png,inline:example.py)>>]]></screen></section><section><title>Mostrano</title><screen><![CDATA[<<ImageLink(http://static.moinmo.in/logos/moindude.png,FrontPage,width=200,alt=Welcome)>>]]></screen><para>Cannot load macro ImageLink </para><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="http://ninux.org//moin_static197/ninuxtheme02/img/idea.png" width="16"/></imageobject><textobject><phrase>(!)</phrase></textobject></inlinemediaobject> Da Moin 1.6 è possibile usare la marcatura standard per l'inclusione: </para><screen><![CDATA[[[FrontPage|{{http://static.moinmo.in/logos/moindude.png|Welcome|width=200}}]]]]></screen><para><ulink url="http://ninux.org/AiutoSuMacro/CollegaImmagine/FrontPage#"><inlinemediaobject><imageobject><imagedata fileref="http://static.moinmo.in/logos/moindude.png" width="200"/></imageobject><textobject><phrase>Welcome</phrase></textobject></inlinemediaobject></ulink> </para></section></section></article>