Template:Wiktionarylang/doc

This template may be used to add boxed material with a link to a foreign language Wiktionary page. See Help:Interwiki linking for recommendations about when to use links to sister projects.

Parameters
This template has six parameters, four positional and two named:


 * 1 the language code for a Wiktionary, e.g. for German,  for Spanish, etc. Optional; defaults to.
 * 2 the wiktionary page to link to. If absent, takes the pagename of the article where it is transcluded (only appropriate for cognates).
 * 3 the link text to display instead of instead of displaying 2 (i.e., pipe text). Optional.
 * 4 text to append; e.g., '(in Portuguese)'. Optional.
 * position may be set to ; see side box#Parameters for more info. Optional; default: right-floated.
 * context Use paragraph, section, table, etc. to substitute into the expression "this article". Optional; default: "article".


 * Details


 * If neither 2 nor 3 are specified, the article pagename will be used.

Template data
{	"params": { "1": {			"label": "Language code", "type": "string", "required": false, "description": "ISO 639 language code (2 or 3 letters) representing which language the text is in", "example": "'en', 'zh', 'fr', 'enm', 'la', 'sco', 'es'" },		"2": {			"label": "Wiktionary entry", "type": "string", "required": false, "description": "Page to link to on foreign Wiktionary", "example": "élève" },		"3": {			"label": "Text displayed", "type": "string", "description": "Text displayed, if different from the term being linked to" },		"4": {			"label": "Text to append", "type": "string", "description": "Any text to append to the boxed material", "example": "(see noun sense 3)" },		"position": { "label": "Position", "type": "string", "description": "Where to place the box", "example": "left" },		"context": { "label": "Context", "type": "string", "description": "Context for this the term within the article (section, paragraph, etc.)", "example": "section" }	},	"format": "inline" }