Template:Vocabq/doc

Overview
Vocabq is intended for use in foreign language learning books. It displays a word or phrase and its translation into a second language. It also allows users to interact with foreign language learning by quizzing themselves on the words or phrases, using the forthcoming open-source language learning app, vocabq.

Usage
To display a single word or phrase and its translation, use the stand-alone format:

To display multiple words/phrases and their translations, use the table format as follows:
 * For the first row of the table, use the stand-alone format from above, plus true.
 * For all remaining rows of the table, use only t1, t2, and optionally alt. You cannot specify language names in the middle of the table; the language names are only specified on the first row.
 * For the last row of the table, use t1, t2, optionally alt, and add true.

To insert a link that users can use to quiz themselves on the words or phrases from the same page, use the special code.

For this template,  is simply the first language to be displayed, which may vary within a page. For example, for English speakers learning Spanish, it might be useful to have a table of translations from English into Spanish, and another table of translations from Spanish into English.

Examples
Stand-alone format:

Table format:

An example use of this template is on the page Polish/Adjectives.