Template:dialect synonyms
→Create Module:dialect synonyms/und/dialect synonyms?
- The following documentation is located at Template:dialect synonyms/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox (diff)
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.
|dpath syns=(optional)- The page name of an arbitrary data module, such as
|dpath syns=Module:sandbox. |demo mode=y(optional)- Preview all locations. For usage on these documentation pages.
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):
- Module:dialect synonyms/yo contains the information on Yoruba locations and table layout;
- Module:dialect synonyms/yo/ohun contains information on synonyms of ohun.
- If
|id=is given, it will be suffixed to the page title to disambiguate homonyms: Module:dialect synonyms/yo/funfun/to be white, for funfun (verb), and Module:dialect synonyms/yo/funfun/white for funfun (noun) - Module:dialect synonyms/yo/ is an empty model that will be preloaded when starting a new synonyms dataset (to see this in action, click on the link in →Create Module:dialect synonyms/yo/example word?);
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
{{dialect map}}