Template:Conj/doc: Difference between revisions
Template page
More actions
No edit summary |
kat., Conj/pl/i |
||
| Line 69: | Line 69: | ||
| <nowiki>{{Conj|A|B|C|D|lang=pl}}</nowiki> | | <nowiki>{{Conj|A|B|C|D|lang=pl}}</nowiki> | ||
| {{Conj|A|B|C|D|lang=pl}} | | {{Conj|A|B|C|D|lang=pl}} | ||
|- | |||
| <nowiki>{{Conj/pl/i|A|B|C|D}}</nowiki> | |||
| {{Conj/pl/i|A|B|C|D}} | |||
|- | |- | ||
| <nowiki>{{Conj|A|B|C|comma=1}}</nowiki> | | <nowiki>{{Conj|A|B|C|comma=1}}</nowiki> | ||
| Line 90: | Line 93: | ||
|E | |E | ||
}} | }} | ||
|} | |}<includeonly> | ||
[[Category:Multilingual tags: Other]] | |||
</includeonly> | |||
Revision as of 19:46, 26 February 2011
Translates phrases line "A", "A and B", "A, B and C" or "A, B, C and D" etc
Usage
{{Conj |1= |2, 3, 4, 5= }}
Template parameters
| 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" | {{int:and}} | optional | |
comma | use comma instead of "and" or "or" | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)
For "or" type {{LangSwitch}} is used. For "and" type TranslateWiki 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/pl/i|A|B|C|D}} | Template:Conj/pl/i |
| {{Conj|A|B|C|comma=1}} | error: bad parameter in template:Conj: comma |
| {{Conj|A|B|C||E}} | A, B, C and E |
| {{Conj |A |B |C |D |E }} | A, B, C, D and E |