Difference between revisions of "Template:Citation/make link"
From Self-sufficiency
(Add some debugging) |
(Omit trailing white space.) |
||
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}}}<!-- | |
− | + | -->|#default = [[:{{{1}}}|{{{2}}}]]<!-- | |
− | + | -->}}<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:40, 31 July 2009
{{{2}}}
[edit]
Documentation