Templates w/ Parameters for external links
Fragment of a discussion from User talk:WikiAdministrator
Hi Zack,
To set up named parameters in a template, you put the name in 3 brackets, such as {{{link}}}. When you call the template, you would then assign a value to the parameter url. For example, I created a test/demo template for your example called Template:Perma. If you check out that template, you'll see that it has two named parameters, link and name. For the purpose of this discussion, I have the template create two outputs; one wit the raw url link and one with a named link (which you might not want). If I wanted to call that template here, I would use the following protocol:
{{Perma |link=http://www.google.com |name=google.com }}
Here is what that template looks like:
Please let me know if this makes sense and if I understood your question correctly.
Cheers,