How Can We Help?
{{{1}}}
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This is the same as {{Link if exists}}
, but:
- Allows a second parameter so the link target and linked text can differ
- Uses
{{#invoke:redirect|main|<!-- page name -->}}
to find the target of a page if it's a redirect page.
Usage
Exists
{{Link if exists redirect|Φ}}
→ Φ[[Phi|Φ]]
{{Link if exists redirect|Dwayne Johnson|the Rock}}
→ the Rock[[Dwayne Johnson|the Rock]]
Does not exist
{{Link if exists redirect|Wikipedia:Articles for rumination}}
→ Wikipedia:Articles for rumination{{Link if exists redirect|Macron on M|M̄}}
→ M̄
See also
- {{Link if exists}}
Recent Comments