Mailinglist Archive: opensuse-wiki (44 mails)

< Previous Next >
Re: [opensuse-wiki] Report: templates documentation and other bits
  • From: Petr Uzel <petr.uzel@xxxxxxx>
  • Date: Wed, 3 Mar 2010 16:30:50 +0100
  • Message-id: <20100303153050.GC31590@xxxxxxxxxxxxxx>
On Fri, Feb 26, 2010 at 10:18:29AM +0100, Henne Vogelsang wrote:
[...]
9. Template:{Torrent, Video}
These two templates were implemented using titled-click-external
template, which
a) isn't in wiki.o.o
b) is deprecated according to Wikipedia
So I've reworked Video and Torrent templates using
[[image:Video.png|22px|link={{{1}}}]] syntax. It should work the same
way as before except that it now adds another icon representing external
link [5]. I don't know how to get rid of this icon (does it mind
actually??), so if ((this is not desired && can not be fixed) ||
(there are some other drawbacks I didn't notice)), then please revert
these two templates back.

Its rather easy. Put it in a class plainlinks.

http://www.mediawiki.org/wiki/Plainlinks

Thanks Henne, that works perfectly. Video and Torrent templates
adjusted.

Petr

--
Petr Uzel, openSUSE Boosters Team
IRC: ptr_uzl @ freenode
< Previous Next >