Template:Translator/doc
This is a documentation subpage for Template:Translator. It contains usage information, categories, and other content that is not part of the original template page. |
Uses Lua: |
Usage
edit{{Translator|ja-zh|eng - fr, de|spa , deu- ita, swe}}
results in the following floating table:
Translator in the following language combinations | ||
---|---|---|
| ||
| ||
Search translators |
Each unnamed parameter must follow this syntax; all spaces and blank ones will be removed, but not empty codes:
<langcode>,<langcode>,...,<langcode>-<langcode>,<langcode>,...,<langcode>
.
ISO 639-1 codes will be converted to ISO 639-3 in categories and links. A list of ISO 639 codes can be found at en:ISO 639 and pages linked from there.
This template will also categorize any pages transclude it into corresponding categories. For example, {{Translator|eng-fra}}
adds Translators eng-fra, {{Translator|eng,ita-fra,deu}}
adds Translators eng-fra, Translators eng-deu, Translators ita-fra, Translators ita-deu and so on.
The plain
parameter
edit
For use in {{Babel}}, there is a |plain=
parameter which will cause {{Translate}} to output a plain, simple userbox. For example, {{Translator|spa-jpn}}
outputs:
This translator translates from Spanish to Japanese. |
Category suppression
edit|skipcat=
or |nocat=
can be used to suppress all categories. If you only want to suppress categories associated to a specific userbox, use nocatindex
or skipcatindex
. Note that empty parameters also count: {{Translator||eng-fra|nocat1=1}}
will still add Translators eng-fra.