Difference between revisions of "Template:Citation/make link"
From Self-sufficiency
m (1 revision) |
(subroutine for citation/core) |
||
(18 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | {{#switch:{{#titleparts:{{{1|}}}|2}} |
− | |[{{{1}}} {{{2}}}] | + | |Http:/|Https:/|Ftp:/ = [{{{1}}} {{{2|}}}] <!-- its a regular url= or chapter-url= --> |
− | |{{{2}}} | + | |None = {{{2|}}} <!-- "none" used to stop chapter-url= from defaulting to url= --> |
− | }} | + | |<!-- is empty--> = {{{2|}}} <!-- (nil) when editor did not define url= --> |
− | + | |#default = [[:{{{1}}}|{{{2|}}}]] <!-- its internal, not an external link --> | |
− | + | }}<noinclude> | |
− | + | {{documentation}} | |
− | + | </noinclude> | |
− | + | ||
− | + | ||
− | + |
Revision as of 19:27, 25 July 2009
[edit]
Documentation