Difference between revisions of "Template:URL.dpl"

From Critiques Of Libertarianism
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly>;{{Category Age | {{{%DATE%}}} }} [{{{url}}} {{{%TITLE%}}}] ''<small>[[{{{%TITLE%}}}|[More...]]]</small>''{{#ifeq: {{CURRENTUSER}} | Mhuben | [http://dl.dropbox.com/u/20086520/js/bounce.html?{{urlencode:{{{%PAGE%|%TITLE}}}|WIKI}} (Edit)]  |}}</includeonly><noinclude>
+
<includeonly>;{{Category Age | {{{%DATE%}}} }} [{{{url}}} {{{%TITLE%}}}] ''<small>[[{{{%TITLE%}}}|[More...]]]</small>'' {{Local Edit | {{{%PAGE%|%TITLE}}} }}</includeonly><noinclude>
 
This template is used by DPL to extract out-of-wiki links to external pages.  When a [[Template:URL]] transclusion is present in the transcluded page, a link to the external page is returned.   
 
This template is used by DPL to extract out-of-wiki links to external pages.  When a [[Template:URL]] transclusion is present in the transcluded page, a link to the external page is returned.   
  
 
[[Template:Category Age]] determines whether a red NEW appears.
 
[[Template:Category Age]] determines whether a red NEW appears.
  
CURRENTUSER (from extension MyVariables) is tested to see whether a link to edit the wiki page is included.
+
[[Template:Local Edit]] tests CURRENTUSER (from extension MyVariables) to see whether a link to edit the wiki page is included.
 
</noinclude>
 
</noinclude>

Latest revision as of 16:19, 7 February 2014