Template:trans-top/documentation

Use this template to display a “Translations” section. It should not be used for anything else. Translation tables should only be added to English or translingual entries, not entries in other languages (see Translations).

Parameters

 * The gloss to show in the translation table, to give a short description of the sense that this table contains translations for. This should match the actual sense in the entry.
 * The gloss to show in the translation table, to give a short description of the sense that this table contains translations for. This should match the actual sense in the entry.


 * The sense id of the sense that this translation belongs to (which should be tagged with ). Translation tables in other entries that link to this translation table (with or ) should have the same id.
 * The sense id of the sense that this translation belongs to (which should be tagged with ). Translation tables in other entries that link to this translation table (with or ) should have the same id.


 * A word indicating the column width of the columns in the translation table. This is only to be used in exceptional cases:
 * You can specify  for entries with extremely long translations, such as.
 * You can specify  for extremely large translation boxes where the translations are generally very short and simple, such as.
 * You can specify  for extremely large translation boxes where the translations are generally very short and simple, such as.

Usage
The template should be used in combination with, which marks the end of the table.

Examples
E.g. on word:


 * Basque: hitz
 * Dutch: woord
 * French: mot
 * Georgian:
 * German: Wort
 * Greek:, κουβέντα,
 * Italian: parola, vocabolo, termine
 * Japanese: 言葉, 単語
 * Latin: vocabulum, verbum
 * Portuguese:
 * Russian: сло́во
 * Spanish: palabra


 * French: parole
 * German: Ehrenwort
 * Greek:
 * Italian: parola
 * Portuguese: palavra
 * Russian: сло́во
 * Spanish:

Personal customisation
The contents of translation boxes are automatically divided into one or more columns by your web browser. Wiktionary's CSS style sheet (MediaWiki:Common.css) constrains each column to a minimum width of  (approximately 333 pixels at 100% zoom).

If you would prefer to see more columns in translation boxes (for example, you see only one column and would rather see two), you can alter the minimum column width by adding the following piece of code to your personal user CSS page (Special:MyPage/common.css) and reducing the number before the  as required:

TemplateData
{	"params": { "1": {			"label": "gloss", "description": "The gloss to show in the translation table, to give a short description of the sense that this table contains translations for. This should match the actual sense in the entry.", "example": "enjoy; have affection for", "type": "string", "suggested": true },		"id": { "label": "sense ID", "description": "The sense ID of the sense that this translation belongs to (which should be tagged with ). Translation tables in other entries that link to this translation table (with or ) should have the same ID.", "type": "line" },		"column-width": { "label": "column width", "description": "A word indicating the column width of the columns in the translation table. This is only to be used in exceptional cases: You can specify  for entries with extremely long translations, such as Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu. You can specify   for extremely large translation boxes where the translations are generally very short and simple, such as water/translations.", "type": "line", "suggestedvalues": ["narrow", "wide"] }	},	"description": "Marks the beginning of a translation table", "format": "\n" }

es:plantilla:trad-arriba hu:sablon:trans-top