Hi,
I am not the parser functions guru, but in my template for displaying images, I
use the following:
{{#if: {{{Diagramm1|}}}| [[Diagramm::Image:{{{Diagramm1|}}}| ]]
[[Image:{{{Diagramm1|}}}|thumb|800px|left|{{Datei:{{{Diagramm1|}}}}}]] |}}
You don't need this: {{Datei:{{{Diagramm1|}}}}} it just displays the comment
for the uploaded image as an image caption.
regards,
Bernhard
----- Ursprüngliche Mail -----
>
> Hi all,
>
> I have a very large wiki site for literature. I want to upload a
> photo for
> each author on the site, but I don't have all the photos. So I
> thought I can
> upload the images that I have, and the authors that don't have a
> photo will
> get the default image "No photo Available".
>
> So I guess I should use the parser #ifexist for that, and tried all
> kinds of
> syntax, but none worked.
>
> can anyone help please?
>
> Thank you,
> Asaf
>
>
> MediaWiki 1.16.4
> PHP 5.2.17 (cgi-fcgi)
> MySQL 5.1.53-log
>
> --
> View this message in context:
> http://old.nabble.com/Using--ifexist-with-images-tp32503791p32503791.html
> Sent from the Semantic Mediawiki - Development mailing list archive
> at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and
> makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Semediawiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel