Template:Web
From CruisersWiki
(Difference between revisions)
Vadim (Talk | contribs)
(Created page with "{{if |test={{{1|}}} |then=[{{{1}}} {{if |test={{{2|}}} |then={{{2}}}|else={{{1}}}}}]}}<noinclude> {{Web/doc}} </noinclude>")
Newer edit →
(Created page with "{{if |test={{{1|}}} |then=[{{{1}}} {{if |test={{{2|}}} |then={{{2}}}|else={{{1}}}}}]}}<noinclude> {{Web/doc}} </noinclude>")
Newer edit →
Revision as of 19:33, 27 February 2015
Copy & paste:
{{web||}}
This template can be used make an web address visible at the simple external links.
Compare a traditional:
[http://www.portosantateresa.com/]
Which renders to:
[1]
While:
{{web|http://www.portosantateresa.com/}}
Expands to:
http://www.portosantateresa.com/
As a convenience another form of this template mimics a traditional syntax:
{{web|http://www.portosantateresa.com/|Marina web address}}
Expands to: