Template:Auto link/sandbox
Appearance
| This is the template sandbox page for Template:Auto link (diff). See also the companion subpage for test cases. |
| This template is used on approximately 94,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
Usage
[edit]Automatically link to an article if it exists. This template exists to allow other templates to accept plain text for parameters, automatically linkifying the value if it is plain text, and an article exists there. This template should not be used in the mainspace, as red links are good.
Parameters
[edit]- first unnamed parameter
- A target page to potentially link to
- second unnamed parameter
- Output text to display