Bản mẫu:Sister bar/doc

The Sister bar template provides links corresponding pages on various Wikimedia sister projects, similar to Sister project links. Unlike that other template, Sister bar creates a horizontal bar for the sister projects links. This template is designed for use when there is not enough space in the External links section for a Sister project links box. It is designed to go after other navboxes and Portal bar.
The following pages are sought by the template, 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)

**Parameters**
All parameters:

**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 name 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.

**Tracking categories**
Pages using Sister project links with unknown parameters
*Pages with single-entry sister bar

**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.",
	"params": {
		"1": {
			"label": "Search Parameter",
			"type": "string",
			"required": false,
			"description": "Use if the search parameter differs from the pagename."
		},
"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."
},
		"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'."
		},
		"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\". The default is \"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\". The default is \"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": "Yes"
},
		"wikt": {
			"label": "Wiktionary link",
			"type": "string",
			"required": false,
			"description": "Wiktionary link to show. Acceptable values are a page name, \"yes\", and \"no\". The default is \"Yes\" (find page automatically).",
			"default": "Yes"
		},
		"c": {
			"label": "Commons link",
			"type": "string",
			"required": false,
			"description": "Commons link to show. Acceptable values are a page name, \"yes\" and \"no\". The default is \"Yes\" (find page automatically).",
			"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\". The default is \"Yes\" (find page automatically).",
			"default": "Yes"
		},
		"q": {
			"label": "Wikiquote link",
			"type": "string",
			"required": false,
			"description": "Wikiquote link to show. Acceptable values are a page name, \"yes\" and \"no\". The default is \"Yes\" (find page automatically).",
			"default": "Yes"
		},
		"s": {
			"label": "Wikisource link",
			"type": "string",
			"required": false,
			"description": "Wikisource link to show. Acceptable values are a page name, \"yes\" and \"no\". The default is \"Yes\" (find page automatically).",
			"default": "Yes"
		},
		"b": {
			"label": "Wikibooks link",
			"type": "string",
			"required": false,
			"description": "Wikibooks link to show. Acceptable values are a page name, \"yes\" and \"no\". The default is \"Yes\" (find page automatically).",
			"default": "Yes"
		},
		"voy": {
			"label": "Wikivoyage link",
			"type": "string",
			"required": false,
			"description": "Wikivoyage link to show. Acceptable values are a page name, \"yes\" (find page automatically), and \"no\". The default is \"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\". The default is \"Yes\" (find page automatically).",
			"default": "Yes"
		},
		"d": {
			"label": "Wikidata link",
			"type": "string",
			"required": false,
			"description": "Wikidata link to show. Acceptable values are a QID, \"yes\" (find page automatically), and \"no\". The default is \"No\".",
			"default": "No"
		},
		"species": {
			"label": "Wikispecies taxon link",
			"type": "string",
			"required": false,
			"description": "Wikispecies link to show. Acceptable values are a page name, \"yes\" (find page automatically), and \"no\". The default is \"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\"(find page automatically), and \"no\". The default is \"No\".",
			"default": "No"
		},
		"m": {
			"label": "Meta link",
			"type": "string",
			"required": false,
			"description": "Meta link to show. Acceptable values are a page name, \"yes\" (find page automatically), and \"no\". The default is \"No\".",
			"default": "No"
		},
		"mw": {
			"label": "MediaWiki link",
			"type": "string",
			"required": false,
			"description": "MediaWiki link to show. Acceptable values are a page name, \"yes\" (find page automatically) and \"no\". The default is \"No\".",
			"default": "No"
		},
		"f": {
			"label": "Wikifunctions link",
			"type": "string",
			"required": false,
			"description": "Wikifunctions link to show. Acceptable values are a page name, \"yes\" (find page automatically) and \"no\". The default is \"No\".",
			"default": "No"
		}
	},
	"paramOrder": 
		"1",
"auto",
		"display",
		"wikt",
		"c",
		"commonscat",
		"n",
		"q",
		"s",
		"author",
		"b",
"cookbook",
		"voy",
		"v",
		"d",
		"species",
		"species_author",
		"m",
		"mw",
		"f"
	
}