[Mediawiki-l] links through template

aretai aretai aretaiuc at gmail.com
Fri Jan 26 14:51:39 UTC 2007


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

<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/{{{link}}} ;( or maybe there is other way to achieve such

thx in advance.

More information about the MediaWiki-l mailing list