Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Redirect-several

Permanently protected template
From Wikipedia, the free encyclopedia
Several terms redirect here. For other uses, see other terms.
Template documentation[view] [edit] [history] [purge]
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup andparser functions before editing the template. If your edit causes unexpected problems, pleaseundo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in eitherthis template's sandbox, thegeneral template sandbox, or your user space before changing anything here.

This template can be used on pages which are theWP: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 thedab parameter. It can also be used without linking at all by changing thelink parameter, which may be useful on pages which have many redirects and other usages, but which all follow a regular pattern. Thetext parameter should also be used in such circumstances, to describe the titles of the redirects.

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 termsabout 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

With more than ten parameters

Note – this template doesnot support more than ten parameters. Above is an example of whatnot to do.

With an empty parameter

The following template use with three parameters are fine:

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

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.

Withlink=off

  • {{Redirect-several|link=off|the contents ofCategory: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 ofCategory: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.

Withdab=off

Withtext parameter

Withsee 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'.

Withfor parameter

Replaces the words "other uses":

  • {{Redirect-several|for=a more in-depth article|text=regarding porridge|oat|dab=of}}
    Several terms regarding porridge redirect here. For a more in-depth article, seeoat.
Generic
For and about
Other topics
Redirect
Distinguish
For use in sections
Special
Subject specific
The abovedocumentation istranscluded fromTemplate:Redirect-several/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Redirect-several&oldid=1276234913"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp