Hi Aretai,
Have a look at some of the predefined templates provided by mediawiki, referred to as variables.
http://meta.wikimedia.org/wiki/Help:Variable
Hope this helps.
Thanks & Regards, Mohit Gupta On Jan 26, 2007, at 6:51 AM, aretai aretai wrote:
Hi,
Maybe someone knows how to create links using template? I'm trying to make a template like this:
[{{{link}}} {{{title}}}]
So the external link and let user specify both link and title while using template. It may seem to be more diff than just pressing a button, but it may find a good use in some cases.
I thought about using absolute html extensions http://meta.wikimedia.org/wiki/User:Joncutrer/Extensions/absHTML and making template:
<abshtml><a href="{{{link}}}" target="_blank">{{{title}}}</a></ abshtml>
This way it should be also possible to link to network drives. However it's not working. It makes a link to:
http://wiki/%7B%7B%7Blink%7D%7D%7D ;( or maybe there is other way to achieve such results?
thx in advance. Aretai _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l