• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Redirect-several

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Several terms redirect here. For other uses, see other terms.
Template documentation[view] [edit] [history] [purge]

This template can be used on pages which are the WP:PRIMARYREDIRECT for several terms which also have corresponding disambiguation pages. This template is compatible with up to 10 redirects. It can also be used targeting non-disambiguation articles, although it adds (disambiguation) to the end of each of its parameters by default. This can be modified through 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 redirects and other usages, but which all follow a regular pattern. The text parameter should also be used in such circumstances, to describe the titles of the redirects.

Contents

  • 1 Usage
    • 1.1 Full inline format
    • 1.2 Full vertical format
  • 2 Examples
    • 2.1 With one to ten filled parameters
    • 2.2 With more than ten parameters
    • 2.3 With an empty parameter
    • 2.4 With link=off
    • 2.5 With dab=off
    • 2.6 With text parameter
    • 2.7 With see parameter

Usage

Full inline format

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

Full vertical format

{{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 poridge 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

With one to ten filled parameters

  • {{Redirect-several|REDIRECT1}} →
    Several terms redirect here. For other uses, see REDIRECT1 (disambiguation).
  • {{Redirect-several|REDIRECT1|REDIRECT2}} →
    Several terms redirect here. For other uses, see REDIRECT1 (disambiguation) and REDIRECT2 (disambiguation).
  • {{Redirect-several|REDIRECT1|REDIRECT2|REDIRECT3|REDIRECT4|REDIRECT5|REDIRECT6|REDIRECT7|REDIRECT8|REDIRECT9|REDIRECT10}} →
    Several terms redirect here. For other uses, see REDIRECT1 (disambiguation), REDIRECT2 (disambiguation), REDIRECT3 (disambiguation), REDIRECT4 (disambiguation), REDIRECT5 (disambiguation), REDIRECT6 (disambiguation), REDIRECT7 (disambiguation), REDIRECT8 (disambiguation), REDIRECT9 (disambiguation) and REDIRECT10 (disambiguation).

With more than ten parameters

  • {{Redirect-several|REDIRECT1|REDIRECT2|REDIRECT3|REDIRECT4|REDIRECT5|REDIRECT6|REDIRECT7|REDIRECT8|REDIRECT9|REDIRECT10|invisible page}} →
    Several terms redirect here. For other uses, see REDIRECT1 (disambiguation), REDIRECT2 (disambiguation), REDIRECT3 (disambiguation), REDIRECT4 (disambiguation), REDIRECT5 (disambiguation), REDIRECT6 (disambiguation), REDIRECT7 (disambiguation), REDIRECT8 (disambiguation), REDIRECT9 (disambiguation) and REDIRECT10 (disambiguation).

Note – this template does not support more than ten parameters. Above is an example of what not to do.

With an empty parameter

The following template use with three parameters are fine:

  • {{Redirect-several|REDIRECT1|REDIRECT2|REDIRECT3}} →
    Several terms redirect here. For other uses, see REDIRECT1 (disambiguation), REDIRECT2 (disambiguation) and REDIRECT3 (disambiguation).

However, with three parameters but with an empty the second parameter, a problem arises:

  • {{Redirect-several|REDIRECT1||REDIRECT3}} →
    Several terms redirect here. For other uses, see REDIRECT1 (disambiguation).

Note: This causes only "REDIRECT1" to display since "REDIRECT2" is missing in the empty parameter within the two pipes with no content between them. If an entry is missed, the template only shows the entries before the missing entry. No error message is displayed.

With link=off

  • {{Redirect-several|link=off|the contents of Category:Porridge|the page of the same name but without the word 'porridge'|another unlinked parameter}} →
    Several terms redirect here. For other uses, see the contents of Category:Porridge, the page of the same name but without the word 'porridge' and another unlinked parameter.
  • {{Redirect-several|TEST1|TEST2|TEST3|TEST4|TEST5|TEST6|TEST7|TEST8|TEST9|TEST10}} →
    Several terms redirect here. For other uses, see TEST1, TEST2, TEST3, TEST4, TEST5, TEST6, TEST7, TEST8, TEST9 and TEST10.

With dab=off

  • {{Redirect-several|dab=off|Porridge Oats|THE TASTIEST FOOD EVER|Martin's porridge (company)}} →
    Several terms redirect here. For other uses, see Porridge Oats, THE TASTIEST FOOD EVER and Martin's porridge (company).

With text parameter

  • {{Redirect-several|dab=off|text=which are names of porridge brands|List of porridge-producing companies|a random other page|an unrelated page}} →
    Several terms which are names of porridge brands redirect here. For other uses, see List of porridge-producing companies, a random other page and an unrelated page.

With see parameter

  • {{Redirect-several|link=off|see=replace|text=containing the word 'porridge'|the word 'porridge' with the word 'oats'}} →
    Several terms containing the word 'porridge' redirect here. For other uses, replace the word 'porridge' with the word 'oats'.
  • v
  • t
  • e
Hatnote templates
  • Wikipedia:Hatnote
  • Wikipedia:Disambiguation
  • Wikipedia:Redirect
Generic
  • {{Hatnote}}
  • {{Selfref}} (for self-references)
For and about
  • {{For}}
  • {{For-text}} (for custom text)
  • {{For multi}} (for multiple uses)
  • {{About}}
  • Variations: {{Other uses}}
  • {{Other uses of}}
  • {{Redirect-distinguish-for}}
  • {{About-distinguish}}
  • {{About-distinguish-text}}
Other topics
  • {{Other people}}
  • {{About other people}} (adds "about" description)
  • {{Similar names}}
  • {{Other places}}
  • {{Other ships}}
  • {{Other hurricanes}}
Redirect
  • {{Redirect}}
  • {{Redirect2}} (for two redirects)
  • {{Redirect-multi}} (for multiple redirects)
  • {{Redirect-several}} (for several redirects, without listing each)
  • {{Redirect-synonym}}
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}}
  • {{Redirect-distinguish-for}}
  • {{Technical reasons}}
Distinguish
  • {{Distinguish}} (supports custom text too)
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}} (for custom text)
  • {{Redirect-distinguish-for}}
  • {{About-distinguish}}
  • {{About-distinguish-text}} (for custom text)
For use in sections
  • {{Main}}
  • {{Further}}
  • {{Further-text}} (for custom text)
  • {{Further ill}}
  • {{See also}}
  • {{See also if exists}}
  • {{For outline}}
Special
  • {{Broader}}
  • {{See introduction}}
  • {{See Wiktionary}}
  • {{Transcluding article}}
  • {{Transcluded section}}
Subject specific
  • {{Year dab}}
  • {{Highway detail hatnote}}
  • {{For LMST}}
  • {{WikiIPA}}
  • Category:Hatnote templates
    • modules
    • for [family] names
    • for lists
  • hatnote templates for category pages
The above documentation is transcluded from Template:Redirect-several/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Redirect-several&oldid=28449"
Categories:
  • Disambiguation and redirection templates
  • Hatnote templates
Last edited on 12 June 2020, at 07:06

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 12 June 2020, at 07:06.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop