ವಿಷಯಕ್ಕೆ ಹೋಗು

ಟೆಂಪ್ಲೇಟು:Double link/doc

ವಿಕಿಸೋರ್ಸ್ದಿಂದ

This template creates a wikilink that takes a different value depending on whether it is located within the Page or the Main namespace.

It takes 3 arguments. The first is the link for the Page namespace, the second is the link for the Main namespace, the third is displayed text.

Template:Dl is a shortcut to this template.

The code below links to Page:Life with the Esquimaux - 1864 - Volume 2.djvu/356 in the Page namespace, it to Life with the Esquimaux/Volume 2/Appendix#a1 in the Main namespace, and it displays Appendix, No. 1. in both cases:

{{double link|Page:Life with the Esquimaux - 1864 - Volume 2.djvu/356|Life with the Esquimaux/Volume 2/Appendix#a1|Appendix, No. 1.}}