Jump to content

Template:dialect synonyms

From Wiktionary, the free dictionary

→Create Module:dialect synonyms/und/dialect synonyms?


Notice This template needs documentation.
Please document this template by describing its purpose and usage on the documentation page.

Dialectal/regional/synchronic synonyms template/module.

Parameters

|1= (required)
A language code.
|2= (optional)
A word, the word used to name the dataset. If not given, the fallback is the current pagename.
|id= (optional)
The corresponding {{etymid}} or {{senseid}} for the word, to distinguish between homonyms.

Features

Module:dialect synonyms/und / Module:dialect synonyms/und/word is a sample of features, and can be used as a reference for adding new languages.

Module:dialect synonyms/ko is also a good reference.

Naming

In regard to module naming (using yo and the word funfun as an example):

Syntax

In regard to term syntax, see Module:dialect synonyms/und/word for examples. In particular:

  • the term<tr:the transliteration><q:the qualifier> (inline modifier syntax) is supported.
  • - will produce —, representing the lack of a term.

Other features

The syntax Module:dialect synonyms/<language code>:<qualifier>/<neutral English term> is also supported, in anticipation of future migration from Module:zh-Christian-syn (Module:zh/data/Christian-syn/amen→Module:dialect synonyms/zh:Christian/amen).

Latitude and longitude can be added to the location information, in anticipation of an equivalent to {{zh-dial-map}}. However, such a map has not been coded yet. In addition, deriving latitude and longitude from Wikidata would probably be more economical.

Index

See also

Precedents