සැකිල්ල:Sec link image/doc
This is a documentation subpage for සැකිල්ල:Sec link image. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes at the talk page before implementing them. |
This is the {{sec link image}} template.
This template works like {{sec link auto}}, but returns a full URL without any surrounding brackets. It is meant to be used in the links inside images. Like this:
[[File:Commons-logo.svg| link={{sec link image|commons|Special:Search}} |40x40px]]
This template is meant to be used in pair with {{sec link auto}}. Use {{sec link auto}} to make a text link, and use {{sec link image}} to link the image to the same target.
Warning! You may only link images that are Public Domain or owned by the Wikimedia Foundation. Almost all other images have licenses that require author attribution and a statement of what license they use, thus all other images need to keep the default linking to their image page. And you should only link the Wikimedia Foundation images to Wikimedia relevant things, like a search on another Wikimedia project.
Parameters
[සංස්කරණය]{{sec link image | commons/wikt/en/de/... <!--Project prefix--> | Pagename | lang = en/de/ru/... | query = a=1&b=2 | anchor = }}
See {{sec link auto}} for a detailed description of the parameters. But this template doesn't use the "text" and "padlock=no/yes" parameters. And this template always returns the full URL, not prefixes like "wikt:".
See also
[සංස්කරණය]- {{sec link}} – Always makes a secure link, even if the user is not currently using the secure server.
- {{sec link auto}} – Makes a secure link only if the user is using the secure server, otherwise it makes a normal link.
- {{sec link image}} – Like {{sec link auto}}, but makes a full URL without any surrounding brackets. For use in links inside images.
- Wikipedia:InterWikimedia links – Lists the prefixes to use in links to the different Wikimedia projects.
- Special:SiteMatrix – Lists the prefixes to use in links to all the different language editions of Wikipedia, Wiktionary, Wikibooks, etc.
- meta:List of Wikipedias – Statistics about the different Wikipedias, also lists the prefixes to use in links to all the different language editions.
- Wikipedia:Secure server – About the secure server.
- https://secure.wikimedia.org/ – Start page of the secure server.