Template:Web

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<includeonly>[{{{1}}} {{if |test={{{2|}}}
+
<includeonly><span class="plainlinks nourlexpansion">[{{{1}}} {{if |test={{{2|}}}
-
|then={{{2}}}|else={{{1}}}}}]</includeonly><noinclude>
+
|then={{{2}}}|else={{{1}}}}}]</span></includeonly><noinclude>
{{doc}}
{{doc}}
</noinclude>
</noinclude>

Revision as of 18:22, 10 March 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:

Marina web address

Personal tools
advertisement
Friends of Cruisers Wiki