Template:Otheruses/doc: Difference between revisions
More actions
mNo edit summary |
mNo edit summary |
||
| Line 41: | Line 41: | ||
|placement=top | |placement=top | ||
|usage-notes= | |usage-notes= | ||
If you do not give | You also add several other pairs (of description and link) for multiple other usages. | ||
* If you do not give the description for the first link, it will display “other uses” by default – you may specify description (without leading “for” and ending “see”). | |||
* If you do not give the name of the other page, it automatically targets a disambiguation page. | |||
===Example usage=== | ===Example usage=== | ||
| Line 51: | Line 53: | ||
Gives: | Gives: | ||
{{Otheruses|the insect group|automobile|Volkswagen Beetle}} | {{Otheruses|the insect group|automobile|Volkswagen Beetle}} | ||
You also may direct to categories | |||
<pre><nowiki>{{Otheruses| | You also may direct to categories (a leading ":", normally needed for links to categories or files may be specified, but it is now detected and supplied automatically) | ||
<pre><nowiki>{{Otheruses|wells for water supply|the town in England|Category:Wells}}</nowiki></pre> | |||
Gives: | Gives: | ||
{{Otheruses| | {{Otheruses|wells for water supply|the town in England|Category:Wells}} | ||
|type=disambiquation template | |type=disambiquation template | ||
Revision as of 20:08, 25 August 2021
Template is used for linking the reader to articles with similar titles or concepts that they may have been seeking instead.
Usage
{{Otheruses |1= |2= |3= }}
You also add several other pairs (of description and link) for multiple other usages.
- If you do not give the description for the first link, it will display “other uses” by default – you may specify description (without leading “for” and ending “see”).
- If you do not give the name of the other page, it automatically targets a disambiguation page.
Example usage
{{Otheruses}}
Gives:
{{Otheruses|the insect group|automobile|Volkswagen Beetle}}
Gives:
You also may direct to categories (a leading ":", normally needed for links to categories or files may be specified, but it is now detected and supplied automatically)
{{Otheruses|wells for water supply|the town in England|Category:Wells}}
Gives:
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | Description of this page | empty | optional | |
2 | Description of the other page | other uses | optional | |
3 | Name (link) of the other page | {{PAGENAME}} (disambiguation) | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)