आकृति:Conj/doc
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original आकृति page. |
<translate> </translate>
Translates phrases line "A", "A and B", "A, B and C" or "A, B, C and D" etc. Technically it calls a function from Module:Linguistic, and relies solely on Lua code.
== <translate> Usage</translate> ==
{{Conj |1= |2, 3, 4, 5= }}
साँचे के पैरामीटर्स
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | first word ("A") | empty | required | |
2, 3, 4, 5 | other words ("B", "C", "D", "E") | empty | optional | |
lang | language | {{int:lang}} | optional | |
type | "and", "or" or "comma" | {{int:and}} | optional |
=== <translate> Additional information</translate> === <translate> The template is intended to be used in the following namespaces:</translate> <translate> all namespaces</translate>
<translate> The template is intended to be used by the following user groups:</translate> <translate> all users</translate>
<translate>
Relies on:</translate>
Module:Linguistic
== <translate>
Localization</translate> ==
<translate> To add your language to the list of languages supported by this template, please edit the template and add a row to the "<tvar
<translate> </translate>
For "or" type {{LangSwitch}} is used. For "and" type translatewiki.net translation is used.
Examples
code | output |
---|---|
{{Conj|A|B|C|D|E}} | A, B, C, D and E |
{{Conj|A|B|C|D}} | A, B, C and D |
{{Conj|A|B|C}} | A, B and C |
{{Conj|A|B}} | A and B |
{{Conj|A}} | A |
{{Conj|A|B|C|D|E|type=or}} | A, B, C, D or E |
{{Conj|A|B|C|D|lang=pl}} | A, B, C i D |
{{Conj|A|B|C|D|lang=zh}} | A、B、C和D |
{{Conj|A|B|C||E}} | A, B, C and E |
{{Conj|1=A|2=B|3=}} | A and B |
{{Conj |A |B |C |D |E }} | A, B, C, D and E |