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

Template page
m thanks for making this, anon!
m semantics
 
(57 intermediate revisions by 24 users not shown)
Line 1: Line 1:
==Templates linking contents==<!--private heading for transcluded section editing-->
=={{LangSwitch
; Upwards links
|default=Templates linking contents
* {{lts|Main}} - "Main gallery" link from gallery or category to 1-N main galleries
|de=Vorlagen, die Inhalte verknüpfen
* {{lts|Maincat}} - "Main category" link from gallery or category to 1-N main categories
|es=Plantillas que enlazan contenidos
* {{lts|Cms-catlist-up}} - "The Commons parent and upper level categories" link to 1-N categories
|fr=Modèles reliant les contenus
|ja=コンテンツをリンクするテンプレート
|ko=콘텐츠를 연결하는 틀
|pt=Predefinições que vinculam conteúdo
|ru=Шаблоны, связывающие содержимое
|sl=Predloge, ki povezujejo vsebine
|zh=链接内容的模板
}}==<!-- private heading for transcluded section editing -->


; Downwards links
"''1-N''" {{LangSwitch|default=means from ''one to many''|fr=signifie de «un à plusieurs»}}.<noinclude>{{Lua}}</noinclude>
* {{lts|See}} - "Further information" link to 1-N detailed galleries or categories
* {{lts|Catlst}} - customizable link generator to 1-N categories
* {{lts|See more}} - (box) magnifier-icon "See gallery" to 1 expanded sub-gallery


; Sideways links
'''Upwards links'''
* {{lts|See2}} - "See also" link from gallery or category to 1-N related galleries
* {{lts|Main gallery}} – {{LangSwitch|default="Main gallery" link from gallery or category to 1-N main galleries.|fr='''Galerie principale''' de la galerie ou de la catégorie, de 1-N galeries principales}}
* {{lts|Cat see also}} - "See also Categories" link from gallery or category to 1-N related categories
* {{lts|Maincat}} – {{LangSwitch|default="Main category" link from gallery or category to 1-N main categories.|fr='''Catégorie principale''' de la galerie ou de la catégorie, de 1-N catégories principales}}
* {{lts|See also}} - (box) internationalized "See also" to 1 related gallery or category
* {{lts|Gallery page}} (box) {{LangSwitch|default=Alternative "See category" boxed link from gallery to parent category, with explanation of the role of a gallery page.|fr='''Galerie principale''' de la galerie ou de la catégorie, de 1-N galeries principales}}


; Interproject links
'''Downwards links'''
* {{lts|Mainw}} - "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links)
* {{lts|See}} {{LangSwitch|default="Further information" link to 1-N detailed galleries or categories.|fr='''Plus d'informations''' relient 1-N, les galeries ou les catégories détaillées.}}
* {{lts|Category see also en.wikipedia}} - link to 1-N related categories on the English Wikipedia
* {{lts|Wpd-catlist-up}} - "en.Wikipedia parent and upper level categories" link to 1-N categories
* {{lts|Wpd}} - generic link to Wikipedia (wraps <nowiki>[[w:article|article]]</nowiki>)
<noinclude>
-----
==Usage==
;What
: <code><nowiki>{{Templates linking contents}}</nowiki></code>
;Where
: Appended to the documentation of each template listed above.
;Why
: Common list summarizing and comparing the main templates available for user-oriented links between contents in galleries, categories, images, and sister projects. Excluded are [[:Category: Disambiguation and redirection templates|disambiguation and redirection templates]] such as {{m|For2}}, and meta-templates such as {{m|lts}}, etc.
;Notes
: The template embeds its own heading so that section-editing edits the transcluded instead of the transcluder.


[[Category:Template documentation|{{PAGENAME}}]]
'''Sideways page links'''
* {{lts|See also}} – (box or inline) {{LangSwitch|default="See also" link to 1-N related pages.|fr='''Voir aussi''' lien vers 1-N pages liées.}}
* {{lts|For2}} – {{LangSwitch|default="For" a single alternative page with explanation.|fr='''Pour''' une seule page alternative, avec explication.}}
* {{lts|For multi}} – {{LangSwitch|default="For" 1-N alternative pages with one or more explanations.|fr='''Pour''' 1-N pages alternatives, avec une ou plus d'explications.}}
* {{lts|Otheruses}} – {{LangSwitch|default=As "For2" with an explanation of the current page.|fr=Comme '''For2''' avec une explication de la page actuelle.}}
* {{lts|About}} – {{LangSwitch|default=As "For multi" with an explanation of the current page.|fr=Comme '''For multi''' avec une explication de la page actuelle.}}
* {{lts|Distinguish}} – {{LangSwitch|default="Not to be confused with" link to 1-N related pages.|fr='''À ne pas confondre avec''' lien vers 1-N pages liées.}}
* {{lts|See more images}} – (box) {{LangSwitch|default=Internationalized "See also" (or other caption) to related images.|fr=Internationalisé '''Voir aussi''' (ou autre légende) aux images apparentées.}}
* {{lts|Case images}} – (box) {{LangSwitch|default=Internationalized with icon-links to related images of the same (medical) case.|fr=Internationalisé avec des liens '''icon-liens''' vers des images apparentées du même cas (médical).}}
* {{lts|@see}} – {{LangSwitch|default="See" link from gallery to gallery.|fr='''Voir''' lien d'une galerie à une autre galerie.}}
 
'''Sideways category links'''
* {{lts|Cat see also}} – (box or inline) {{LangSwitch|default="See also Categories" link to 1-N related categories.|fr='''Voir aussi les catégories''' lien vers 1-N catégories liées.}}
* {{lts|Cat disambig}} – (box or inline) {{LangSwitch|default="Not to be confused with categories" link from category ''with ambiguous names'' to 1-N ''unrelated'' categories.|fr='''À ne pas confondre avec les catégories''' lien de la catégorie avec les ''noms ambigus'' aux catégories 1-N ''non liées''.}}
 
'''Interproject links'''
* {{lts|Mainw}} – {{LangSwitch|default="Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links).|fr=
'''Article principal de Wikipedia''', lien vers 1 article (n'oubliez pas le but des liens interwiki).}}
* {{lts|See also w}} – {{LangSwitch|default="See also Wikipedia article" link to 1-N articles (don't forget the purpose of interwiki links).|fr=
'''Voir l'article de Wikipedia''', lien vers 1 article (n'oubliez pas le but des liens interwiki).}}
* [[Template:Multilingual link]] – {{LangSwitch|default=allows to indicate names of versions of same Wikipedia article in many languages and displays one link in interface language.|eo=allasas indiki nomojn de versioj de sama Vikipedia artikolo en multaj lingvoj kaj montras unu ligilon en interfaca lingvo.|ru=позволяет указать названия версий одной и той же статьи Википедии на разных языках и отображает одну ссылку на языке интерфейса.}}<noinclude>
{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.