Template:Sister project links/doc

The Sister project links template provides one box with links to corresponding pages on various Wikimedia sister projects. The following pages are sought, in order:
 * An explicit page chosen by an editor (if provided)
 * A sitelink in Wikidata (if exists)
 * A search page on the sister project

Sending a reader to a search page can be an unpleasant experience, if there is no corresponding page for that subject. Editors have a choice between two methods to prevent this negative experience:
 * Manually check each project for a relevant page, if missing, then set argument to "no" (e.g., n)
 * Use "automatic mode", which only displays a sister project by default if sitelink exists (e.g., yes)

Note that Sister project auto is equivalent to.

Usage
Example with all parameters and all projects displayed (see right):

Default display
For any project parameter, there are four acceptable values:
 * "yes" means find a reasonable link for the sister project (Wikidata, or default back to search)
 * "no" means exclude this sister project: no link
 * a string means link to the page with whose title is that string
 * blank or missing means use the default
 * If yes, default is either use Wikidata (if present), or drop the link
 * If no, if project is in the "yes" list above, either use Wikidata or search. Otherwise drop the link.

Location


Generally:
 * Do not place this template in a section all by itself.
 * Do not place this template in a section containing columns.

Specifically:
 * In articles, this template should normally be placed at the top of the External links section, if it exists. Otherwise, place this template at the top of the last section in the article.
 * See Wikimedia sister projects for more information and alternatives.
 * In disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.

Interwiki link
The iw parameter is for use in articles about languages themselves. It is designed to be used instead of the InterWiki template: it links to the Main Page of Wikipedia that corresponds to the language code. See Template:InterWiki/doc for more information. Up to three sister Wikipedias can be linked, using iw, iw1, and iw2.

TemplateData
{	"description": "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. The value \"Yes\" means that the page will be found automatically.", "params": { "1": {			"label": "Search term", "type": "string", "required": false, "description": "Use if the search term differs from the pagename. E.g. to change the capitalization for Wiktionary links", "default": "" },		"auto": { "label": "Use wikidata to fill defaults", "type": "string", "required": false, "description": "If auto=\"yes\", then sister projects with wikidata sitelinks are filled-in, others are off by default. Each project can be overridden with its own parameter.", "default": "No" },		"collapsible": { "label": "Collapsible?", "description": "Set to \"yes\" to make the template collapsible. Set to \"collapsed\" to make the template collapsible and initially collapsed.", "type": "string", "default": "No" },		"display": { "label": "Display name", "type": "string", "required": false, "description": "Use if the display name is different from the search term. For example, the bear article would be 'Bears'.", "default": "" },		"author": { "label": "Wikisource author?", "type": "string", "required": false, "description": "Use for articles about authors to force the Wikisource links to include the \"Author:\" prefix. Can be set to \"yes\" or \"no\".", "default": "No" },		"commonscat": { "label": "Commons category?", "type": "string", "required": false, "description": "Specifies whether a link to a category on Wikimedia Commons is shown. Can be \"yes\" or \"no\".", "default": "No" },		"cookbook": { "label": "Cookbook", "type": "string", "required": false, "description": "If yes, link to Cookbook at wikibooks. If string, use that string as article title in Cookbooks.", "default": "No" },		"wikt": { "label": "Wiktionary link", "type": "string", "required": false, "description": "Wiktionary link to show. Acceptable values are a page name, \"yes\", and \"no\".", "default": "Yes" },		"c": { "label": "Commons link", "type": "string", "required": false, "description": "Commons link to show. Acceptable values are a page name, \"yes\" and \"no\".", "aliases": [ "commons" ],			"default": "Yes" },		"n": { "label": "Wikinews link", "type": "string", "required": false, "description": "Wikinews link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "Yes" },		"q": { "label": "Wikiquote link", "type": "string", "required": false, "description": "Wikiquote link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "Yes" },		"s": { "label": "Wikisource link", "type": "string", "required": false, "description": "Wikisource link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "Yes" },		"b": { "label": "Wikibooks link", "type": "string", "required": false, "description": "Wikibooks link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "Yes" },		"voy": { "label": "Wikivoyage link", "type": "string", "required": false, "description": "Wikivoyage link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "No" },		"v": { "label": "Wikiversity link", "type": "string", "required": false, "description": "Wikiversity link to show. Acceptable values are a page name, \"yes\", and \"no\".", "default": "Yes" },		"d": { "label": "Wikidata link", "type": "string", "required": false, "description": "Wikidata link to show. Acceptable values are a QID, \"yes\" and \"no\".", "default": "No" },		"species": { "label": "Wikispecies taxon link", "type": "string", "required": false, "description": "Wikispecies link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "No" },		"species_author": { "label": "Wikispecies author link", "type": "string", "required": false, "description": "Wikispecies author link to show. Acceptable values are a page name, \"yes\" and \"no\". Even if \"yes\" it will be only displayed when species ≠ \"yes\" ", "default": "No" },		"iw": { "label": "Interwiki link", "type": "string", "required": false, "description": "Link to other language edition. Acceptable values are a Wikipedia language code (e.g., \"de\"), \"yes\" and \"no\".", "default": "No" },		"m": { "label": "Meta link", "type": "string", "required": false, "description": "Meta link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "No" },		"mw": { "label": "MediaWiki link", "type": "string", "required": false, "description": "MediaWiki link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "No" },		"f": { "label": "Wikifunctions link", "type": "string", "required": false, "description": "Wikifunctions link to show. Acceptable values are a page name, \"yes\" and \"no\".", "default": "No" },		"position": { "label": "Position", "description": "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.)", "type": "string", "default": "right" },		"style": { "label": "CSS style", "description": "Optional CSS style specifications. Use with caution. (And don't use for evil!)", "type": "string" }	},	"paramOrder": [ "1",		"display", "auto", "collapsible", "position", "style", "wikt", "c", "commonscat", "n", "q", "s", "author", "b", "cookbook", "v", "voy", "species", "species_author", "iw", "d", "m", "mw", "f" ] }

Images used
This template potentially displays the following images:
 * Wiktionary-logo-v2.svg Wiktionary logo
 * Commons-logo.svg Wikimedia Commons logo  or
 * Wikinews-logo.svg Wikinews logo
 * Wikiquote-logo.svg Wikiquote logo
 * Wikisource-logo.svg Wikisource logo
 * Wikibooks-logo.svg Wikibooks logo
 * Wikivoyage-Logo-v3-icon.svg Wikivoyage logo
 * Wikiversity logo 2017.svg Wikiversity logo
 * Wikispecies-logo.svg Wikispecies logo  or
 * Wikipedia-v2-logo.svg Wikipedia logo
 * Wikidata-logo.svg Wikidata logo
 * Wikimedia Community Logo.svg Meta-Wiki logo
 * MediaWiki-2020-icon.svg MediaWiki logo
 * Wikifunctions-logo-en.svg Wikifunctions logo