Fandom

Community Central

Talk:New window links

Back to page

19,037pages on
this wiki
Add New Page

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

What about images with link? Edit

I'm finding a way to use this function for linked images:

[[File:example.jpg|link={{#NewWindowLink:http://google.com/}}]]

But it didn't work. I guess it would be helpful if something like the format above was supported. What do you think about it? Cafeinlove 07:08, May 9, 2012 (UTC)

I was looking for ways to add new window links to images too DinoKev (talk) 09:35, May 11, 2012 (UTC)
You can do this like this:
<span class="plainlinks">{{#NewWindowLink:http://google.com/|[[File:example.jpg|link=]]}}</span>
Note that the |link= IS need to avoid the image linking to the standard image location. Also, the span removes the external site link icon, which kinda feels clunky on image links. Fewfre 🔎 K20:03 Sat, 16 Aug 2014

Also on Fandom

Random Wiki