Pergi ke kandungan

Templat:sinonim dialek/doc

Daripada Wikikamus
Laman templat ini memerlukan pendokumenan.
Sila mendokumenkan templat ini dengan memberi keterangan tujuan dan penggunaannya di laman ini.

Dialectal/regional/synchronic synonyms template/module.

Parameters

[sunting]
|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.

Features

[sunting]

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

[sunting]

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

Syntax

[sunting]

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

  • 今_2/the transliteration:the qualifier is syntax inherited from Module:zh-dial-syn.
    • _2 is converted to the anchor #Etymology_2. This is liable to break for any language that does not appear early in header order (i.e. any language that is not English or Chinese). Do not use this.
  • Words can also take the form of a Module:links#export.full_link object.
  • - will produce [N/A].

Other features

[sunting]

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/amenModule: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.

Module subpage index

[sunting]

See Special:PrefixIndex.

See also

[sunting]

Deprecated(?) precedents

[sunting]