Template:Plainlinks: Difference between revisions
Template page
More actions
m +cat |
m -link |
||
| Line 15: | Line 15: | ||
|- | |- | ||
| {{tlf|plainlinks}} || <nowiki>{{plainlinks|http://commons.wikimedia.org|Commons}}</nowiki> || {{plainlinks|http://commons.wikimedia.org|Commons}} | | {{tlf|plainlinks}} || <nowiki>{{plainlinks|http://commons.wikimedia.org|Commons}}</nowiki> || {{plainlinks|http://commons.wikimedia.org|Commons}} | ||
|- | |- | ||
| {{tl|plainlinks2}} || <nowiki>{{plainlinks2|http://commons.wikimedia.org|Commons}}</nowiki> || {{plainlinks2|http://commons.wikimedia.org|Commons}} | | {{tl|plainlinks2}} || <nowiki>{{plainlinks2|http://commons.wikimedia.org|Commons}}</nowiki> || {{plainlinks2|http://commons.wikimedia.org|Commons}} | ||
Revision as of 05:39, 19 June 2013
[ ]
This template will create a plain link (this instead of this). The first parameter is the URL; the 2nd parameter is the text you want to be linked. If you do not provide the 2nd parameter it will default to the URL.
If the template doesn't work as expected, try defining the parameters like this: {{plainlinks|1=URL|2=link text}}
See also: {{Plainlinks2}}
| Template | Code | Result |
|---|---|---|
| (none) | [http://commons.wikimedia.org Commons] | Commons |
| {{plainlinks}} | {{plainlinks|http://commons.wikimedia.org|Commons}} | Commons |
| {{Plainlinks2}} | {{plainlinks2|http://commons.wikimedia.org|Commons}} | Commons |