Template:Redirect and target/doc

From Bharatpedia, an open encyclopedia
< Template:Redirect and target
Revision as of 17:45, 30 October 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} {{Lua|Module:Redirect and target}} <!-- Add categories where indicated at the bottom of this page and interwikis at Bharatdata (see Bharatpedia:Bharatdata) --> == Purpose== {{empty section}} <!--please explain what the template is for.--> == Usage == *<code><nowiki>{{Redirect and target|AD 2000}}</nowiki></code> {{Redirect and target|AD 2000}} *<code><nowiki>{{Redirect and target|2000}}</nowiki></code> {{Redirect and target|2000}} It also s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

Usage

  • {{Redirect and target|AD 2000}} AD 2000 is not a redirect
  • {{Redirect and target|2000}} 2000 is not a redirect

It also supports redirects to anchored sections:

  • {{Redirect and target|BP:BRINT}} BP:BRINT is not a redirect

format:report

|format=report will return alternatively, e.g.:
{{Redirect and target|format=report|AD 2000}}AD 2000
{{Redirect and target|format=report|2000}}2000

by invoking

{{#invoke:Redirect and target|report|AD 2000}}AD 2000
{{#invoke:Redirect and target|report|2000}}2000

See also