This template is used on many 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.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
Returns the target page of a link, whether it's a redirect or not.[clarification needed]
{{Target of|AD 2000}}
2000The page "AD 2000" is a redirect to "2000", so it displays "2000".
{{Target of|2000}}
2000The page "2000" isn't a redirect, so it displays "2000".
[[{{Target of|AD 2000}}]]
2000You can use it in links, &c.
It also supports redirects to anchored sections:
{{Target of|WP:BRINT}}
Wikipedia:Redirect#Bypass redirects in navigational templatesIt can be used in "piped" local links that support alternative labels:
[[{{Target of|WP:BRINT}}|WP:BRINT]]
WP:BRINT