Topic on Project:Support desk

Link=URL in a gallery

3
Dehaasbe (talkcontribs)

Hello. I didn't find the answer in the documentation.

How do we write a link= to an external url in a gallery ?

I know how to do it on a simple picture but I didn't find the correct code for a picture in a gallery.

Thanks

Bawolff (talkcontribs)

Should be the same:

<gallery>
File:Example.svg|link=https://example.com
</gallery>

makes

Bawolff (talkcontribs)

It seems like link has to be the last parameter if you are also using a caption

Reply to "Link=URL in a gallery"