Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Otheruses/doc: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 71: Line 71:
<pre><nowiki>{{Otheruses
<pre><nowiki>{{Otheruses
| {{LangSwitch |en=wells for water supply |fr=les puits fournissant de l’eau }}
| {{LangSwitch |en=wells for water supply |fr=les puits fournissant de l’eau }}
| {{LangSwitch |en=the town in England |en=la petite ville en Angleterre }} | Category:Wells
| {{LangSwitch |en=the town in England |fr=la petite ville en Angleterre }} | Category:Wells
}}</nowiki></pre>
}}</nowiki></pre>
Gives:
Gives:
{{Otheruses
{{Otheruses
| {{LangSwitch |en=wells for water supply |fr=les puits fournissant de l’eau }}
| {{LangSwitch |en=wells for water supply |fr=les puits fournissant de l’eau }}
| {{LangSwitch |en=the town in England |en=la petite ville en Angleterre }} | Category:Wells
| {{LangSwitch |en=the town in England |fr=la petite ville en Angleterre }} | Category:Wells
}}
}}



Revision as of 20:27, 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.

  • Each provided description can be autotranslated using {{LangSwitch}}.
  • 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”).
    • For descriptions of the 2nd (or firther) other usage, you must supply this distinctive description.
  • If you do not give the name of the other page, it automatically targets a disambiguation page, i.e. the full name of the current page with an appended “ (disambiguation)” suffix. You should specify the explicit name of each other page except one of them.

Examples of usage

{{Otheruses}}

Gives:

{{Otheruses|the insect group|the automobile|Volkswagen Beetle}}

Gives:

You can autotranslate the provided descriptions:

{{Otheruses
| {{LangSwitch |en=the insect group |fr=le groupe d’insectes }}
| {{LangSwitch |en=the automobile |fr=l’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
| {{LangSwitch |en=wells for water supply |fr=les puits fournissant de l’eau }}
| {{LangSwitch |en=the town in England |fr=la petite ville en Angleterre }} | Category:Wells
}}

Gives:

Template parameters

ParameterDescriptionDefaultStatus
1Description of this pageemptyoptional
2Description of the other pageother usesoptional
3Name (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)


Cookies help us deliver our services. By using our services, you agree to our use of cookies.