Template:Sister project links/doc
Appearance
This is a documentation subpage for Template:Sister project links. It contains usage information, categories, and other content that is not part of the original template page. |
The {{Sister project links}} template provides links to the 'Search' page on the various Wikimedia sister projects. If a matching article exists, the reader will be directed there. Otherwise, normal search results are show
Usage
[edit]{{Sister-links |w= |wikt= |commons= |b= |n= |s= |v= |voy= |species= |d= |display= }} <!-- input 'no' to exclude projects -->
Location
[edit]- Do not place this template in a section all by itself.
- Do not place this template in a section containing columns.
This template should normally be placed at the top of the ==External links== section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.
On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.
See: Where to place links for more information and alternative
Parameters
[edit]- If the search parameter differs from the pagename, use:
{{Sister-links |SearchParameter}}
display=
if the display name is different from the search term, use:
{{Sister-links |SearchParameter |display=DisplayName}}
- For example, the Bear article would be coded as:
{{Sister-links |display=Bears}}
- If the titles in the individual sister projects differ, use the following parameters, which are taken from Help:Interwiki linking:
w=
Wikipediawikt=
Wiktionarycommons=
Wikimedia Commonsb=
Wikibooksn=
Wikinewss=
Wikisourcev=
Wikiversityvoy=
Wikivoyaged=
Wikidataspecies=
Wikispecies
- For example:
{{Sister-links |w=Foo1 |wikt=Foo2 |commons=Foo3 |b=Foo4 |n=Foo5 |s=Foo6 |v=Foo7 |voy=Foo8 |d=Foo9 |species=Foo10}}
author=
for articles about authors, use:
{{Sister-links |author=yes}}
- to force the sisterlinks to include the Author: prefix.
Default display
[edit]- If you would like to exclude a link to a particular sister project, input
no
as the parameter for that sister project. For example, use:
{{Sister-links |w=no}}
- to exclude the Wikipedia sister project. Only these parameters will display by default:
w
,wikt
,commons
,b
,n
,s
, andv
.
- Note: Links to Wikivoyage, Wikidata and Wikispecies are disabled by default. To show one or more of these sister projects, add the following:
{{Sister-links |voy=DestinationName |d=RelatedName |species=ScientificName}}