Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Conj/doc: Difference between revisions

Template page
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
Line 21: Line 21:


|5=comma
|5=comma
|5d=comma style
|5d=use comma instead of "and" or "or"
|5def=,
|5def=
|5stat=optional-
|5stat=optional-


Line 42: Line 42:
|relieson=
|relieson=
}}
}}
==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|comma=1}}</nowiki>
| {{Conj|A|B|C|comma=1}}
|-
| <nowiki>{{Conj|A|B|C||E}}</nowiki>
| {{Conj|A|B|C||E}}
|}

Revision as of 03:17, 29 January 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

ParameterDescriptionDefaultStatus
1first word ("A")emptyrequired
2, 3, 4, 5other words ("B", "C", "D", "E")emptyoptional
langlanguage{{int:lang}}optional
type"and" or "or"{{int:and}}optional
commause comma instead of "and" or "or"emptyoptional

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|A|B|C|comma=1}} error: bad parameter in template:Conj: comma
{{Conj|A|B|C||E}} A, B, C and E
Cookies help us deliver our services. By using our services, you agree to our use of cookies.