Module:Distinguish
Revision as of 09:58, 5 April 2020 by test>Wladek92 (add a template data section)
Usage
{{Distinguish}} is used to create hatnotes to warn about possible confusion with a small number of other, related, titles at the top of article sections according to Wikipedia:Layout.
It is not for use in the "See also" section at the bottom of an article.
{{Distinguish|Article 1|...|Article 4|label 1=label1|...|label 4=label4}}
- One to four articles can be listed.
- The word "or" is always placed between the final two entries when displayed.
- If more than 4 entries are supplied, a message will be displayed pointing out the problem.
- You can use parameters label 1 to label 4 to specify alternative labels for the links.
- Adding newline characters will break article links.
Examples
{{Distinguish|article1}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2|article3}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2|article3|article4}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|label 1=label1}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2|label 1=label1|label 2=label2}}
Lua error at line 1: unexpected symbol near '<'.
| The above documentation is transcluded from Module:Distinguish/doc. (edit | history) Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages. Subpages of this module. |
Adds warning "Not to be confused" on the reader's page, with a short list of related pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description | Unknown | optional |
| Label 1 | label 1 | no description | Unknown | optional |