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: Difference between revisions

Template page
Fix Linter errors.
m 77 revisions imported
 
(17 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#ifeq: {{{banner|}}} | no
{{#ifeq: {{{banner|}}} | no
| <span lang="{{{lang|}}}" dir="{{Dir|{{{lang|<noinclude>{{PAGELANGUAGE}}</noinclude>}}}}}">
| <span lang="{{{lang|}}}" dir="{{#dir:{{{lang|<noinclude>{{PAGELANGUAGE}}</noinclude>}}}}}">
| <div class="catlinks" lang="{{{lang|<noinclude>{{PAGELANGUAGE}}</noinclude>}}}" dir="{{Dir|{{{lang|<noinclude>{{PAGELANGUAGE}}</noinclude>}}}}}" style="clear:none;margin:2px 0;background:#EBEBEB;border:1px solid #DDD;padding:2px">[[File:Disambig.svg|25x25px|middle|link=]]&nbsp;
| <div class="catlinks" lang="{{{lang|<noinclude>{{PAGELANGUAGE}}</noinclude>}}}" dir="{{#dir:{{{lang|<noinclude>{{PAGELANGUAGE}}</noinclude>}}}}}" style="clear:none;margin:2px 0;background:var(--background-color-neutral,#EBEBEB);color:var(--color-base,#202122);border:1px solid var(--border-color-subtle,#DDD);padding:2px">[[File:Disambig.svg|25x25px|middle|link=]]&nbsp;
}}<!--
}}<!--
Describe the main topic.
Describe the main topic.
Line 19: Line 19:
     |fa=این گالری
     |fa=این گالری
     |fr=Cette galerie
     |fr=Cette galerie
    |hi=यह गैलरी
     |it=Questa galleria
     |it=Questa galleria
     |ja=このギャラリ
     |ja=このギャラリ
Line 25: Line 26:
     |pt=Esta galeria
     |pt=Esta galeria
     |ru=Эта галерея
     |ru=Эта галерея
    |sl=Ta galerija
     |sq=Kjo galeri
     |sq=Kjo galeri
     |sv=Detta galleri
     |sv=Detta galleri
Line 39: Line 41:
     |fa=این رده
     |fa=این رده
     |fr=Cette catégorie
     |fr=Cette catégorie
    |hi=यह श्रेणी
     |it=Questa categoria
     |it=Questa categoria
     |ja=このカテゴリ
     |ja=このカテゴリ
Line 45: Line 48:
     |pt=Esta categoria
     |pt=Esta categoria
     |ru=Эта категория
     |ru=Эта категория
    |sl=Ta kategorija
     |sq=Kjo kategori
     |sq=Kjo kategori
     |sv=Den här kategorin
     |sv=Den här kategorin
Line 62: Line 66:
     |fa=این پرونده
     |fa=این پرونده
     |fr=Ce fichier
     |fr=Ce fichier
    |hi=यह फ़ाइल
     |it=Questo file
     |it=Questo file
     |ja=このファイル
     |ja=このファイル
Line 69: Line 74:
     |ru=Этот файл
     |ru=Этот файл
     |sq=Ky skedar
     |sq=Ky skedar
    |sl=Ta datoteka
     |sv=Den här bilden
     |sv=Den här bilden
     |uk=Це файл
     |uk=Це файл
Line 85: Line 91:
     |fa=این الگو
     |fa=این الگو
     |fr=Ce modèle
     |fr=Ce modèle
    |hi=यह साँचा
     |it=Questo modello
     |it=Questo modello
     |ja=このテンプレート
     |ja=このテンプレート
Line 92: Line 99:
     |ru=Этот шаблон
     |ru=Этот шаблон
     |sq=Ky model
     |sq=Ky model
    |sl=Ta predloga
     |sv=Den här mallen
     |sv=Den här mallen
     |uk=Це шаблон
     |uk=Це шаблон
Line 108: Line 116:
     |fa=این صفحه
     |fa=این صفحه
     |fr=Cette page
     |fr=Cette page
    |hi=यह पृष्ठ
     |it=Questa pagina
     |it=Questa pagina
     |ja=このページ
     |ja=このページ
Line 115: Line 124:
     |ru=Эта страница
     |ru=Эта страница
     |sq=Kjo faqe
     |sq=Kjo faqe
    |sl=Ta stran
     |sv=Den här sidan
     |sv=Den här sidan
     |uk=Це сторінка
     |uk=Це сторінка
Line 133: Line 143:
   |fa=دربارهٔ
   |fa=دربارهٔ
   |fr=concerne
   |fr=concerne
  |hi=~<!--empty-->
   |it=riguarda
   |it=riguarda
   |ja=では
   |ja=では
Line 138: Line 149:
   |nl=behandelt
   |nl=behandelt
   |pt=é sobre
   |pt=é sobre
   |ru=про
   |ru=о
   |sq=ka të bëjë me
   |sq=ka të bëjë me
  |sl=je o
   |sv=handlar om
   |sv=handlar om
   |uk=про
   |uk=про
Line 151: Line 163:
   |en=~<!--empty-->
   |en=~<!--empty-->
   |fa=&#32;است
   |fa=&#32;است
  |hi=&#32;के बारे में है
   |ja=について扱っています
   |ja=について扱っています
   |ko=에 관한 것입니다
   |ko=에 관한 것입니다
Line 169: Line 182:
|fa=برای
|fa=برای
|fr=Pour
|fr=Pour
|hi=~<!--empty-->
|it=Per
|it=Per
|ja=~<!--empty-->
|ja=~<!--empty-->
Line 174: Line 188:
|nl=Voor
|nl=Voor
|pt=Para
|pt=Para
|ru=Для
|ru=О
|sq=Për
|sq=Për
|sl=Za
|sv=För
|sv=För
|uk=Про
|uk=Про
Line 195: Line 210:
   |fa=دیگر کاربردها
   |fa=دیگر کاربردها
   |fr=d’autres sens
   |fr=d’autres sens
  |hi=दूसरे उपयोग
   |it=altri significati
   |it=altri significati
   |ja=その他の意味
   |ja=その他の意味
Line 200: Line 216:
   |nl=andere betekenissen
   |nl=andere betekenissen
   |pt=outros usos
   |pt=outros usos
   |ru=других значений
   |ru=других значениях
   |sq=kuptime të tjera
   |sq=kuptime të tjera
  |sl=druge pomene
   |sv=andra betydelser
   |sv=andra betydelser
   |uk=інші значення
   |uk=інші значення
Line 207: Line 224:
   }}
   }}
}}{{LangSwitch
}}{{LangSwitch
|en=~
|default=~<!--empty-->
|ja=については
|ja=については
|ko=에 대해서는
|ko=에 대해서는
}}{{Comma|lang={{Int:Lang}}}}{{LangSwitch
}}{{#switch:{{Int:Lang}}|hi=|sl=|#default={{Comma|lang={{Int:Lang}}}}}}{{LangSwitch|default=&#32;|ja/ko/zh=~}}{{LangSwitch
|af=sien
|af=sien
|am=ይመልከቱ-
|am=ይመልከቱ-
Line 222: Line 239:
|fa=بنگرید به
|fa=بنگرید به
|fr=voir
|fr=voir
|hi=&#32;के लिए
|it=vedi
|it=vedi
|ja=~<!--empty-->
|ja=~<!--empty-->
Line 229: Line 247:
|ru=см.
|ru=см.
|sq=shihni
|sq=shihni
|sl=glej
|sv=se
|sv=se
|uk=див.
|uk=див.
Line 236: Line 255:
}}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{3|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
}}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{3|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
|en=~<!--empty-->
|en=~<!--empty-->
|hi=&#32;देखें
|ja=を参照してください
|ja=を参照してください
|ko=&#32;를 참조하십시오
|ko=&#32;를 참조하십시오
Line 253: Line 273:
   |fa=برای
   |fa=برای
   |fr=pour
   |fr=pour
  |hi=~<!--empty-->
   |it=per
   |it=per
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 258: Line 279:
   |nl=voor
   |nl=voor
   |pt=para
   |pt=para
   |ru=для
   |ru=о
   |sq=për
   |sq=për
  |sl=za
   |sv=för
   |sv=för
   |uk=про
   |uk=про
Line 266: Line 288:
   |zh-hant=對於
   |zh-hant=對於
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{4|<noinclude>4</noinclude>}}}}}</bdi>{{LangSwitch
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{4|<noinclude>4</noinclude>}}}}}</bdi>{{LangSwitch
   |en=~<!--empty-->
   |default=~<!--empty-->
   |ja=については
   |ja=については
   |ko=에 대해서는
   |ko=에 대해서는
   }}{{Comma|lang={{Int:Lang}}}}{{LangSwitch
   }}{{#switch:{{Int:Lang}}|hi=|sl=|#default={{Comma|lang={{Int:Lang}}}}}}{{LangSwitch|default=&#32;|ja/ko/zh=~}}{{LangSwitch
   |af=sien
   |af=sien
   |am=ይመልከቱ-
   |am=ይመልከቱ-
Line 281: Line 303:
   |fa=بنگرید به
   |fa=بنگرید به
   |fr=voir
   |fr=voir
  |hi=&#32;के लिए
   |it=vedi
   |it=vedi
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 288: Line 311:
   |ru=см.
   |ru=см.
   |sq=shihni
   |sq=shihni
  |sl=glej
   |sv=se
   |sv=se
   |uk=див.
   |uk=див.
Line 295: Line 319:
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{5|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{5|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   |en=~<!--empty-->
   |en=~<!--empty-->
  |hi=&#32;देखें
   |ja=を参照してください
   |ja=を参照してください
   |ko=&#32;를 참조하십시오
   |ko=&#32;를 참조하십시오
Line 313: Line 338:
   |fa=برای
   |fa=برای
   |fr=pour
   |fr=pour
  |hi=~<!--empty-->
   |it=per
   |it=per
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 318: Line 344:
   |nl=voor
   |nl=voor
   |pt=para
   |pt=para
   |ru=для
   |ru=о
   |sq=për
   |sq=për
  |sl=za
   |sv=för
   |sv=för
   |uk=про
   |uk=про
Line 326: Line 353:
   |zh-hant=對於
   |zh-hant=對於
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{6|<noinclude>6</noinclude>}}}}}</bdi>{{LangSwitch
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{6|<noinclude>6</noinclude>}}}}}</bdi>{{LangSwitch
   |en=~
   |default=~<!--empty-->
   |ja=については
   |ja=については
   |ko=에 대해서는
   |ko=에 대해서는
   }}{{Comma|lang={{Int:Lang}}}}{{LangSwitch
   }}{{#switch:{{Int:Lang}}|hi=|sl=|#default={{Comma|lang={{Int:Lang}}}}}}{{LangSwitch|default=&#32;|ja/ko/zh=~}}{{LangSwitch
   |af=sien
   |af=sien
   |am=ይመልከቱ-
   |am=ይመልከቱ-
Line 341: Line 368:
   |fa=بنگرید به
   |fa=بنگرید به
   |fr=voir
   |fr=voir
  |hi=&#32;के लिए
   |it=vedi
   |it=vedi
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 348: Line 376:
   |ru=см.
   |ru=см.
   |sq=shihni
   |sq=shihni
  |sl=glej
   |sv=se
   |sv=se
   |uk=див.
   |uk=див.
Line 355: Line 384:
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{7|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{7|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   |en=~<!--empty-->
   |en=~<!--empty-->
  |hi=&#32;देखें
   |ja=を参照してください
   |ja=を参照してください
   |ko=&#32;를 참조하십시오
   |ko=&#32;를 참조하십시오
Line 373: Line 403:
   |fa=برای
   |fa=برای
   |fr=pour
   |fr=pour
  |hi=~<!--empty-->
   |it=per
   |it=per
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 378: Line 409:
   |nl=voor
   |nl=voor
   |pt=para
   |pt=para
   |ru=для
   |ru=о
   |sq=për
   |sq=për
  |sl=za
   |sv=för
   |sv=för
   |uk=про
   |uk=про
Line 386: Line 418:
   |zh-hant=對於
   |zh-hant=對於
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{8|<noinclude>8</noinclude>}}}}}</bdi>{{LangSwitch
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{8|<noinclude>8</noinclude>}}}}}</bdi>{{LangSwitch
   |en=~<!--empty-->
   |default=~<!--empty-->
   |ja=については
   |ja=については
   |ko=에 대해서는
   |ko=에 대해서는
   }}{{Comma|lang={{Int:Lang}}}}{{LangSwitch
   }}{{#switch:{{Int:Lang}}|hi=|sl=|#default={{Comma|lang={{Int:Lang}}}}}}{{LangSwitch|default=&#32;|ja/ko/zh=~}}{{LangSwitch
   |af=sien
   |af=sien
   |am=ይመልከቱ-
   |am=ይመልከቱ-
Line 401: Line 433:
   |fa=بنگرید به
   |fa=بنگرید به
   |fr=voir
   |fr=voir
  |hi=&#32;के लिए
   |it=vedi
   |it=vedi
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 408: Line 441:
   |ru=см.
   |ru=см.
   |sq=shihni
   |sq=shihni
  |sl=glej
   |sv=se
   |sv=se
   |uk=див.
   |uk=див.
Line 415: Line 449:
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{9|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{9|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   |en=~<!--empty-->
   |en=~<!--empty-->
  |hi=&#32;देखें
   |ja=を参照してください
   |ja=を参照してください
   |ko=&#32;를 참조하십시오
   |ko=&#32;를 참조하십시오
Line 433: Line 468:
   |fa=برای
   |fa=برای
   |fr=pour
   |fr=pour
  |hi=~<!--empty-->
   |it=per
   |it=per
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 438: Line 474:
   |nl=voor
   |nl=voor
   |pt=para
   |pt=para
   |ru=для
   |ru=о
   |sq=për
   |sq=për
  |sl=za
   |sv=för
   |sv=för
   |uk=про
   |uk=про
Line 446: Line 483:
   |zh-hant=對於
   |zh-hant=對於
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{10|<noinclude>10</noinclude>}}}}}</bdi>{{LangSwitch
   }}{{Int:Word-separator}}<bdi>{{#if:||{{{10|<noinclude>10</noinclude>}}}}}</bdi>{{LangSwitch
   |en=~<!--empty-->
   |default=~<!--empty-->
   |ja=については
   |ja=については
   |ko=에 대해서는
   |ko=에 대해서는
   }}{{Comma|lang={{Int:Lang}}}}{{LangSwitch
   }}{{#switch:{{Int:Lang}}|hi=|sl=|#default={{Comma|lang={{Int:Lang}}}}}}{{LangSwitch|default=&#32;|ja/ko/zh=~}}{{LangSwitch
   |af=sien
   |af=sien
   |am=ይመልከቱ-
   |am=ይመልከቱ-
Line 461: Line 498:
   |fa=بنگرید به
   |fa=بنگرید به
   |fr=voir
   |fr=voir
  |hi=&#32;के लिए
   |it=vedi
   |it=vedi
   |ja=~<!--empty-->
   |ja=~<!--empty-->
Line 468: Line 506:
   |ru=см.
   |ru=см.
   |sq=shihni
   |sq=shihni
  |sl=glej
   |sv=se
   |sv=se
   |uk=див.
   |uk=див.
Line 475: Line 514:
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{11|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   }}{{Int:Word-separator}}'''<bdi>[[:{{FULLPAGENAME:{{{11|{{FULLPAGENAME}} (disambiguation)}}}}}]]</bdi>'''{{LangSwitch
   |en=~<!--empty-->
   |en=~<!--empty-->
  |hi=&#32;देखें
   |ja=を参照してください
   |ja=を参照してください
   |ko=&#32;를 참조하십시오
   |ko=&#32;를 참조하십시오

Latest revision as of 07:05, 15 August 2026

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Otheruses/doc.

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 can add several pairs (of description and link) for multiple other usages (currently up to 5 pairs).

  • Each provided description (in parameter 1 for the use in the current page, and in parameters 2, 4, 6... for other uses) 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 further) other usage, you must supply this distinctive description.
  • If you do not give the name of the other page (in parameters 3, 5, 7, ...), 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.

Basic usage

{{Otheruses}}

gives:

Translating the descriptions

The descriptions themselves will not be correct in the generated sentence, even if the template translates some fixed parts. You can autotranslate the provided descriptions for example with {{LangSwitch}}:

First,

{{Otheruses|the insect}}

gives:

but:

{{Otheruses
| {{LangSwitch |en=the insect |fr=l’insecte |sl=žuželki}}
}}

gives:

As well,

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

gives:

but:

{{Otheruses
| {{LangSwitch |en=the insect group |fr=le groupe d’insectes |sl=skupini žuželk}}
| {{LangSwitch |en=the automobile |fr=l’automobile |sl=avtomobil}} | Volkswagen Beetle
}}

gives:

Linking to disambiguation categories or files

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).

So,

{{Otheruses|||Category:Bugs}}

gives:

As well,

{{Otheruses
| {{LangSwitch |en=wells for water supply |fr=les puits fournissant de l’eau |sl=vodnjakih za oskrbo z vodo}}
| {{LangSwitch |en=the town in England |fr=la petite ville en Angleterre |sl=mesto v Angliji}} | Category:Wells, England 
}}

gives:

Template parameters

ParameterDescriptionDefaultStatus
descriptionLeading description sentence (useful when parameter 1 is left empty or not specified, as you must replace the first generated sentence, or when you want to set a prior notice); don't include the ending punctuation which is generated.emptyoptional
1Description of this pageemptyoptional
2Description of the other pageother usesoptional
3Full name (link) of the other page (with its namespace name){{FULLPAGENAME}} (disambiguation)optional
4Description of a 2nd other page (for an examplar specific topic)emptyoptional
5Full name (link) of the 2nd other page (with its namespace name); if you set this parameter, you must also set the previous parameter with an explicit descriptionemptyoptional
6Description of a 3nd other page (like with parameter 4)emptyoptional
7Full name (link) of the 3rd other page (like with parameter 5)emptyoptional
8Description of a 4th other page (like with parameter 4)emptyoptional
9Full name (link) of the 4th other page (like with parameter 5)emptyoptional
10Description of a 5th other page (like with parameter 4)emptyoptional
11Full name (link) of the 5rd other page (like with parameter 5)emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Template is used for linking the reader to articles with similar titles or concepts that they may have been seeking instead.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1

Description of this page

Unknownoptional
10

Description of a 5th other page (like with parameter 4)

Unknownoptional
11

Full name (link) of the 5rd other page (like with parameter 5)

Unknownoptional
2

Description of the other page

Default
other uses
Unknownoptional
3

Full name (link) of the other page (with its namespace name)

Default
{{FULLPAGENAME}} (disambiguation)
Unknownoptional
4

Description of a 2nd other page (for an examplar specific topic)

Unknownoptional
5

Full name (link) of the 2nd other page (with its namespace name); if you set this parameter, you must also set the previous parameter with an explicit description

Unknownoptional
6

Description of a 3nd other page (like with parameter 4)

Unknownoptional
7

Full name (link) of the 3rd other page (like with parameter 5)

Unknownoptional
8

Description of a 4th other page (like with parameter 4)

Unknownoptional
9

Full name (link) of the 4th other page (like with parameter 5)

Unknownoptional
description

Leading description sentence (useful when parameter 1 is left empty or not specified, as you must replace the first generated sentence, or when you want to set a prior notice); don't include the ending punctuation which is generated.

Unknownoptional

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

Relies on:
Template:LangSwitch, Template:Comma, Template:Semicolon, Template:Full stop

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.