Templates w/ Parameters for external links
Appearance
Fragment of a discussion from User talk:WikiAdministrator
Yep, in the image code on the template page, [[File:Permalink.svg|15px|link=URL]], change the link=URL part to link={{{same parameter name as the url}}}. So in my Template:Perma example (which I've updated to have the icon link), I've used the following code:
[[File:Permalink.svg|15px|link={{{link}}}]] {{{link}}}
[[File:Permalink.svg|15px|link={{{link}}]] [{{{link}}} {{{name}}}]
To call that template here, I would past the following code:
{{Perma
|link=http://www.google.com
|name=google.com
}}
Here is what it looks like live:
Let me know if that makes sense.
Best,
Will