Template:wikipedia/documentation

This template shows a right-floating sister-project box with a link to a Wikipedia page.

The template should be placed inside the section it refers to, immediately after the header. In the default case (a reference to the English Wikipedia) that is immediately following the  header. If there are also images, box templates such as this should appear first. Alternatively, consider linking to Wikipedia in the "Further reading" section using the inline template.

Parameters
All parameters are optional.
 * lang
 * Specifies the Wikimedia language code (see Wikimedia language codes) of the Wikipedia version to link to. This is not the same as the Wiktionary-internal language code, as it supports language codes that are not allowed on Wiktionary itself, such as  for Croatian. It defaults to   for English.


 * 1
 * Specifies the Wikipedia page to link to. By default, this is the same as the name of the current Wiktionary page.


 * 2
 * Overrides the displayed form of the link.


 * section
 * Specifies a section to link on Wikipedia.


 * cat or category
 * Specifies a category page to link to instead.


 * portal
 * Specifies a portal page to link to instead.


 * mul
 * Provides a second article to link to.


 * mullabel
 * Overrides the displayed form of the second link.


 * mulcat
 * Provides a second category to link to.


 * mulcatlabel
 * Overrides the displayed form of the second category.

Examples
Basic formats:

Related templates

 * — slimmer version of this template
 * — plain inline text link to Wikipedia
 * , — for References and Further reading sections
 * — for Citations pages

af:Sjabloon:Wikipedia de:Vorlage:Wikipedia es:Template:Wikipedia gu:ઢાંચો:વિકિપીડિયા la:Formula:vicipaedia ms:Templat:wikipedia ru:Шаблон:Википедия sv:Template:wikipedia th:แม่แบบ:วิกิพีเดีย uk:Шаблон:wikipedia zh:Template:Wikipedia

TemplateData
{	"params": { "1": {			"label": "Article to link", "example": "color", "type": "line", "description": "Article to link to on the Wikipedia", "default": "", "suggested": true },		"2": {			"label": "Link label", "description": "If provided, overrides the displayed form of the link", "type": "line", "example": "colors" },		"lang": { "label": "Language code", "description": "Wikipedia language code for the Wikipedia language to link", "example": "es", "type": "line", "default": "en" },		"mul": { "label": "2nd article to link", "description": "Provides a second article to link to", "example": "painting", "type": "line" },		"mullabel": { "label": "2nd article label", "description": "Overrides the displayed form of the second link.", "example": "paintings", "type": "line" },		"cat": { "aliases": [ "category" ],			"label": "Category to link", "description": "Category to link on Wikipedia, instead of an article", "example": "colors", "type": "line" },		"portal": { "label": "Portal to link", "description": "Portal to link on Wikipedia, instead of an article", "example": "energy", "type": "line" },		"mulcat": { "label": "2nd category to link", "description": "Second category to link on Wikipedia, replacing the second article link", "type": "line" },		"mulcatlabel": { "label": "2nd category label", "description": "If provided, overrides the displayed form of the second category", "type": "line" },		"section": { "label": "Section", "description": "Section to link on Wikipedia", "type": "string" }	},	"description": "Links Wikipedia in a box that floats to the right", "format": "\n", "paramOrder": [ "1",		"2",		"lang", "section", "cat", "portal", "mul", "mullabel", "mulcat", "mulcatlabel" ] }