Difference between revisions of "Template:Citation/make link"

From Self-sufficiency
Jump to: navigation, search
(Omit trailing white space.)
(Comments made no difference so go back to older version.)
Line 1: Line 1:
 
{{#switch:{{#titleparts:{{{1|}}}|2}}
 
{{#switch:{{#titleparts:{{{1|}}}|2}}
  |Http:/|Https:/|Ftp:/ = [{{{1}}} {{{2}}}]<!--
+
  |Http:/|Https:/|Ftp:/ = [{{{1}}} {{{2}}}]
-->|<!--if empty-->|None = {{{2}}}<!--
+
|<!--if empty-->|None = {{{2}}}
-->|#default            = [[:{{{1}}}|{{{2}}}]]<!--
+
|#default            = [[:{{{1}}}|{{{2}}}]]
-->}}<noinclude>
+
}}<noinclude>
 
<!-- Code notes (here so that people /read/ it)  
 
<!-- Code notes (here so that people /read/ it)  
 
   1. Parameter #2 is always non-empty when called from {{Citation/core}}.
 
   1. Parameter #2 is always non-empty when called from {{Citation/core}}.

Revision as of 21:44, 31 July 2009

{{{2}}}