Difference between revisions of "Template:Link"

From Critiques Of Libertarianism
Jump to: navigation, search
(Created page with '{{#dpl:title = {{{1}}}|include = {URL}.dpl2}}')
 
 
Line 1: Line 1:
{{#dpl:title = {{{1}}}|include = {URL}.dpl2}}
+
<includeonly>{{#dpl:title={{{1}}}|include = {URL}.dpl2|noresultsheader=[[{{{1}}}]]}}</includeonly><noinclude>== Usage ==
 +
<nowiki>{{Link | title}}</nowiki>
 +
 
 +
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.
 +
 
 +
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>

Latest revision as of 00:35, 19 September 2010