Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2641feccb98a68e

Jump to content

Template:Redirect-several/doc

From Wikipedia, the free encyclopedia

This template can be used on pages which are the primary redirect for several terms which also have corresponding disambiguation pages. Example:

This template is compatible with up to 10 redirects. It can also be used to point to non-disambiguation articles, although by default it will add (disambiguation) to the end of each of its parameters; this can be overridden by the dab parameter. It can also be used without linking at all, by changing the link parameter, which may be useful on pages which have many incoming redirects from other terms, but which all follow a regular pattern. The text parameter should be used in such circumstances, to add a description of the titles of the incoming redirects.

Usage

[edit]

Full inline format

[edit]

{{Redirect-several |link= |dab= |text= |see= |OtherUse1 |OtherUse2 |OtherUse3 |OtherUse4 |OtherUse5 |OtherUse6 |OtherUse7 |OtherUse8 |OtherUse9 |OtherUse10}}

Full vertical format

[edit]

{{Redirect-several

|link = <!-- whether the targets should be linked to or not; defaults to 'yes' -->
|dab = <!-- toggles whether to put " (disambiguation)" on the end of the targets' links; defaults to 'yes' -->
|text = <!-- optional text to put after the word "terms" (e.g. several terms about how to cook porridge redirect here.) -->
|see = <!-- optional changing of the verb before the first use; defaults to 'see' -->
| <!-- the first alternative page -->
| <!-- the second alternative page -->
| <!-- the third alternative page -->
| <!-- the fourth alternative page -->
| <!-- the fifth alternative page -->
| <!-- the sixth alternative page -->
| <!-- the seventh alternative page -->
| <!-- the eighth alternative page -->
| <!-- the ninth alternative page -->
| <!-- the tenth alternative page -->

}}

Examples

[edit]

With one to ten filled parameters

[edit]

With more than ten parameters

[edit]

This template does not support more than ten parameters, as the below example shows:

With an empty parameter

[edit]

If any parameter is empty, further parameters are ignored. For example, specifying three parameters works as expected:

However, if any parameter is empty, a problem arises:

The empty second parameter causes only "REDIRECT1" to display. No error message is displayed.

With link=off

[edit]
  • {{Redirect-several|link=off|the contents of [[:Category:Porridge]]|the page of the same name but without the word 'porridge'|another unlinked parameter}}
  • {{Redirect-several|link=off|TEST1|TEST2|TEST3|TEST4|TEST5|TEST6|TEST7|TEST8|TEST9|TEST10}}
  • {{Redirect-several|link=off|[[Redirect1 (disambiguation)]]|[[Redirect2 (company)]]|[[Redirect3 (band)]]}}

With dab=off

[edit]

With text parameter

[edit]

With see parameter

[edit]
  • {{Redirect-several|link=off|see=replace|text=containing the word 'porridge'|the word 'porridge' with the word 'oats'}}

With for parameter

[edit]

Replaces the words "other uses":

  • {{Redirect-several|for=a more in-depth article|text=regarding porridge|oat|dab=of}}