[Mediawiki-l] links through template

Mohit Gupta mohitg at effigent.com
Sat Jan 27 04:53:33 UTC 2007


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/{{{link}}} ;( or maybe there is other way to achieve such
> results?
>
> thx in advance.
> Aretai
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>





More information about the MediaWiki-l mailing list