
This is an unofficial archive of PsychonautWiki as of 2025-08-11T15:14:44Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.
Template:Conj/doc
Jump to navigation
Jump to search
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.
Usage
{{Conj |1= |2, 3, 4, 5= }}
⧼templatedata-doc-params⧽
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | first word ("A") | empty | required | |
2, 3, 4, 5 | other words ("B", "C", "D", "E") | empty | optional | |
type | "and", "or" or "comma" | {{int:and}} | optional | |
lang | language | {{int:lang}} | 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
Relies on:
Module:Linguistic
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.net translation is used.
Examples
code | output |
---|---|
{{Conj|A|B|C|D|E}} | B, C, A, D and E |
{{Conj|A|B|C|D}} | A, B, D and C |
{{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}} | B, C, A, D or E |
{{Conj|A|B|C|D|lang=pl}} | B, C, A i D |
{{Conj|A|B|C|D|lang=zh}} | B、C、A和D |
{{Conj|A|B|C||E}} | B, C, A and E |
{{Conj |A |B |C |D |E }} | B, C, A, D and E |