Difference between revisions of "Template:Link"
From Critiques Of Libertarianism
Line 1: | Line 1: | ||
− | <includeonly>{{#dpl:title = {{{1}}}|include = {URL}.dpl2}}</includeonly><noinclude>== Usage == | + | <includeonly>{{#dpl:title={{{1}}}|include = {URL}.dpl2|noresultsheader=[[{{{1}}}]]}}</includeonly><noinclude>== Usage == |
− | <nowiki>{{Link | | + | <nowiki>{{Link | title}}</nowiki> |
− | This | + | This template creates a link to a title just as <nowiki>[[any page title]]</nowiki> would, except that the link can also be to an external URL. There's not much reason to use this for links other than with an external URL. |
− | See: [[Template:URL]]. | + | If the titled page transcludes [[Template:URL]], [[Template:URL.dpl2]] creates a link with the page title to the to the URL. |
+ | |||
+ | If there is no URL information but a valid wiki page exists, [[Template:URL.dpl2.default]] creates an ordinary wiki link to that page title. | ||
+ | |||
+ | If no wiki page exists, the searched for title is returned. That can happen with recursive transclusion. | ||
+ | |||
+ | See: [[Template:URL]], [[Template:URL.dpl2]] and [[Template:URL.dpl2.default]]. | ||
</noinclude> | </noinclude> |