Template:Plainlinks: Difference between revisions
Template page
More actions
comparison with plainlinks2 |
m hr |
||
| Line 2: | Line 2: | ||
---- | |||
This template will create a plain link ({{plainlinks|http://en.wikibooks.org|this}} instead of [http://en.wikibooks.org 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. | This template will create a plain link ({{plainlinks|http://en.wikibooks.org|this}} instead of [http://en.wikibooks.org 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. | ||
Revision as of 05:44, 17 July 2008
[ ]
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 |