From: Paul v. E. <pa...@st...> - 2009-04-10 08:31:12
|
Hi Dan, Thanks for your reply. You were totally right. > > I think your arraymap should look like this: > > {{#arraymap:{{{Templates|}}} | , | x1010x | [[Image:x1010x]] [[Has > templates::x1010x]] }} > > > Note that I changed your 'x' variable to x1010x to make it more > unique... not sure is that is really necessary... > When I changed it to you example I get the following: Image:Prince2 Business Case.doc Prince2_Business_Case.doc, Image:Prince2 Issue Log.doc Prince2_Issue_Log.doc, Image:Prince2 Project Brief1.doc Prince2_Project_Brief1.doc So this is not exactly what I wanted. Mediawiki puts the image first and second the page which correspond to the title of the image (which is logical from the syntax). I only want to have a link to the file (or page where the file/image is located) itself and not to a normal Mediawiki page (article). I changed the arraymap to: {{#arraymap:{{{Templates|}}} | , | x1010x | [[Image:x1010x]] }} and wrote another arrraymap to get the semantic notation {{#arraymap:{{{Templates|}}}|,|x|[[Has templates::x]]}} I don't think it's possble to combine those to. Thanks for your help! Things work as expected now. With regards, Paul van Erk Process Wiki - http://wiki.process.io |