Module:etymology: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 67: | Line 67: | ||
elseif conj == "~" then | elseif conj == "~" then | ||
sep = " ~ " | sep = " ~ " | ||
elseif conj == "-" then | |||
sep = "-" | |||
elseif conj == "+" then | |||
sep = " " | |||
elseif conj then | elseif conj then | ||
error(("Internal error: Unrecognized conjunction \"%s\""):format(conj)) | error(("Internal error: Unrecognized conjunction \"%s\""):format(conj)) | ||
| Line 275: | Line 279: | ||
multiple term objects, the non-final source objects link to the first term object. | multiple term objects, the non-final source objects link to the first term object. | ||
* `conj`: Conjunction used to separate multiple terms. '''Required'''. Currently recognized values are `and`, `or`, `,`, | * `conj`: Conjunction used to separate multiple terms. '''Required'''. Currently recognized values are `and`, `or`, `,`, | ||
`;`, `/` and `~`. | `;`, `/`, `-`, and `~`. | ||
* `sourceconj`: Conjunction used to separate multiple source languages. Defaults to {"and"}. Currently recognized | * `sourceconj`: Conjunction used to separate multiple source languages. Defaults to {"and"}. Currently recognized | ||
values are as for `conj` above. | values are as for `conj` above. | ||