Template:Conj/doc: Difference between revisions
Template page
More actions
←Created page with '{{TemplateBox |1=1 |1d= first word ("A") |1def= |1stat=required |2= 2, 3, 4, 5 |2d=other words ("B", "C", "D", "E") |2def= |2stat=optional |3=lang |3d=language |...' |
No edit summary |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 16: | Line 16: | ||
|4=type | |4=type | ||
|4d="and" or "or" | |4d="and", "or" or "comma" | ||
|4def=<nowiki>{{int:and}}</nowiki> | |4def=<nowiki>{{int:and}}</nowiki> | ||
|4stat=optional- | |4stat=optional- | ||
|name=Conj | |name=Conj | ||
|desc=Translates phrases line "A", "A and B", "A, B and C" or "A, B, C and D" etc | |desc=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. | ||
|namespace=all | |namespace=all | ||
|usergroup=all | |usergroup=all | ||
| Line 34: | Line 29: | ||
|example= | |example= | ||
|i18n-method=switch | |i18n-method=switch | ||
|i18n-desc=For "or" type {{tl|LangSwitch}} is used. For "and" type | |i18n-desc=For "or" type {{tl|LangSwitch}} is used. For "and" type translatewiki.net translation is used. | ||
|i18n-mediawiki-msg= | |i18n-mediawiki-msg= | ||
|seealso= | |seealso= | ||
| Line 40: | Line 35: | ||
|lines=one | |lines=one | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson=[[Module:Linguistic]] | ||
}} | |||
==Examples== | |||
{| class="wikitable" | |||
|- | |||
! code | |||
! output | |||
|- | |||
| <nowiki>{{Conj|A|B|C|D|E}}</nowiki> | |||
| {{Conj|A|B|C|D|E}} | |||
|- | |||
| <nowiki>{{Conj|A|B|C|D}}</nowiki> | |||
| {{Conj|A|B|C|D}} | |||
|- | |||
| <nowiki>{{Conj|A|B|C}}</nowiki> | |||
| {{Conj|A|B|C}} | |||
|- | |||
| <nowiki>{{Conj|A|B}}</nowiki> | |||
| {{Conj|A|B}} | |||
|- | |||
| <nowiki>{{Conj|A}}</nowiki> | |||
| {{Conj|A}} | |||
|- | |||
| <nowiki>{{Conj|A|B|C|D|E|type=or}}</nowiki> | |||
| {{Conj|A|B|C|D|E|type=or}} | |||
|- | |||
| <nowiki>{{Conj|A|B|C|D|lang=pl}}</nowiki> | |||
| {{Conj|A|B|C|D|lang=pl}} | |||
|- | |||
| <nowiki>{{Conj|A|B|C|D|lang=zh}}</nowiki> | |||
| {{Conj|A|B|C|D|lang=zh}} | |||
|- | |||
| <nowiki>{{Conj|אלף|בית|גימל|דלת|lang=he}}</nowiki> | |||
| {{Conj|אלף|בית|גימל|דלת|lang=he}} | |||
|- | |||
| <nowiki>{{Conj|A|B|C||E}}</nowiki> | |||
| {{Conj|A|B|C||E}} | |||
|- | |||
| <nowiki>{{Conj|1=A|2=B|3=}}</nowiki> | |||
| {{Conj|1=A|2=B|3=}} | |||
|- | |||
| <nowiki>{{Conj | |||
|A | |||
|B | |||
|C | |||
|D | |||
|E | |||
}}</nowiki> | |||
| {{Conj | |||
|A | |||
|B | |||
|C | |||
|D | |||
|E | |||
}} | }} | ||
|}<includeonly> | |||
[[Category:Multilingual tags: Other]] | |||
</includeonly> | |||