Permanently protected template

Template:Sister project links

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

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

Parameters

{{Sister project links 
<!-- Configuration parameters. Do not leave empty; populate, or remove -->
 |1= |collapsible= |display= |position= |style=

<!-- Specify "no" to exclude the corresponding project: -->
 |wikt= |c= |commonscat= |n= |q= |s= |author= |b= |v=

<!-- Specify "yes" to include the corresponding project: -->
 |voy= |d= |m= |mw= |species= |species_author=
}}
This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Sister project links

Displays a terminal window with a set of commands. If the titles in the individual sister projects differ, use the following parameters, which are taken from [[Help:Interwiki linking]].

Template parameters

Parameter Description Type Status
Search Parameter 1

Use if the ''search parameter'' differs from the pagename.

Default
empty
Example
empty
Auto value
empty
String optional
Collapsible? collapsible

Set to "yes" to make the template collapsible. Set to "collapsed" to make the template collapsible and initially collapsed.

Default
empty
Example
empty
Auto value
empty
String optional
Display name display

Use if the ''display name'' is different from the search term. For example, the bear article would be 'Bears'.

Default
empty
Example
empty
Auto value
empty
String optional
Wiktionary link? wikt

Must a Wiktionary link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Commons link? ccommons

Must a Commons gallery link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Commons category? commonscat

Specifies whether a link to a category on Wikimedia Commons is shown. Can be "yes" or "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Wikinews link? n

Must a Wikinews link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Wikiquote link? q

Must a Wikiquote link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Wikisource link? s

Must a Wikisource link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Wikisource author? author

Use for articles about authors to force the Wikisource links to include the "Author:" prefix. Can be set to "yes" or "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Wikibooks link? b

Must a Wikibooks link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Wikivoyage link? voy

Must a Wikivoyage link be shown? Acceptable values are "yes" and "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Wikiversity link? v

Must a Wikiversity link be shown? Acceptable values are "yes" and "no". The default is "Yes".

Default
Yes
Example
empty
Auto value
empty
String optional
Wikidata link? d

Must a Wikidata link be shown? Acceptable values are "yes" and "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Wikispecies taxon link? species

Must a Wikispecies taxon link be shown? Acceptable values are "yes" and "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Wikispecies author link species_author

Must a Wikispecies author link be shown? Acceptable values are "yes" and "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Meta link? m

Must a Meta link be shown? Acceptable values are "yes" and "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
MediaWiki link? mw

Must a MediaWiki link be shown? Acceptable values are "yes" and "no". The default is "No".

Default
No
Example
empty
Auto value
empty
String optional
Position position

Specifies whether the box floats to the left or right. The only acceptable value is "left" which causes the box to float to the left. Any other value (not specifying this parameter) activates the default. (Float to the right.)

Default
empty
Example
empty
Auto value
empty
String optional
CSS style style

Optional CSS style specifications. Use with caution. (And don't use for evil!)

Default
empty
Example
empty
Auto value
empty
String optional

Default display

  • 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 project links | q=no}}
to exclude the Wikiquote sister project. Only these parameters will display by default: wikt, commons, b, n, q, s and v. However, voy only displays by default if the entity type on Wikidata is "geographical feature".
  • Note: Links to MediaWiki, Meta-Wiki, Wikidata and Wikispecies are disabled by default. To show one or more of these sister projects, add the following:
{{Sister project links| m=Title | d=RelatedName | species=ScientificName |mw=DocumentationName}}
Alternatively, use species_author=PersonName for taxonomic authors on Wikispecies

Location

If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

N Do not place this template in a section all by itself.

N 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 alternatives.

See also