টেমপ্লেট:আধ্বব প্রতীক

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

This template provides a simple conversion table from an IPA symbol to a Wikipedia article name. Its direct use is probably not too meaningful, but it can be useful inside other templates, e.g. {{IPA link}}. It is a meta-template.

The resulting article name should exist. The input symbol may be multiple characters.

ব্যবহার[সম্পাদনা]

This template has one parameter that is mandatory. The parameter must be an IPA symbol or a sequence of IPA symbols. A formatting template like {{IPA}} is not necessary.

  • {{আধ্বব প্রতীক|m}} → ঘোষ উভয়ৌষ্ঠ্য নাসিক্যধ্বনি
  • {{আধ্বব প্রতীক|ɡ͡b}} → ঘোষ ওষ্ঠ্য–পশ্চাত্তালব্য স্পর্শধ্বনি

Use output= to specify the type of the output: "name", "symbol", "article", or "audio".

  • {{IPA symbol|t̪|output=name}} → অঘোষ দন্ত্য স্পর্শধ্বনি
  • {{IPA symbol|t̪|output=article}} → অঘোষ দন্ত্য স্পর্শধ্বনি
  • {{IPA symbol|t̪|output=audio}} → Voiceless dental stop.ogg
  • {{IPA symbol|w̥|output=symbol}} → ʍ (returns the primarily defined symbol)

Certain symbols such as the tie bars, length marks, and dotted circle in the input are ignored so long as the rest of the input matches a definition, so that the below do not result in errors even though these individual combinations are not defined in the data.

  • {{আধ্বব প্রতীক|aː}} → বিবৃত সম্মুখ অকুঞ্চিত স্বরধ্বনি
  • {{আধ্বব প্রতীক|◌ʰ}} → মহাপ্রাণ ব্যঞ্জনধ্বনি

If no direct match is found, the template will then look for the earliest instance of a diacritic in the input string.

  • {{আধ্বব প্রতীক|pʰ}} → মহাপ্রাণ ব্যঞ্জনধ্বনি
  • {{আধ্বব প্রতীক|pʰæ̃}} → মহাপ্রাণ ব্যঞ্জনধ্বনি
  • {{আধ্বব প্রতীক|pæ̃}} → নাসিক্য স্বরধ্বনি

A two-character diacritic takes precedence over a one-character one should they be found at the same position.

  • {{আধ্বব প্রতীক|ʰa}} → মহাপ্রাণ ব্যঞ্জনধ্বনি
  • {{আধ্বব প্রতীক|ʰpa}} → Preaspiration

Some symbols in the input are automatically replaced by the more suitable counterparts.

উপাত্ত[সম্পাদনা]

The data is stored at মডিউল:আধ্বব প্রতীক/উপাত্ত. It is divided into two groups: "sounds" and "diacritics". If no "article" is specified, the value for "name" will substitute it. A diacritic must be one or two Unicode characters. The data also stores substitution patterns for the input string.

সম্ভাব্য ত্রুটি[সম্পাদনা]

If the input matches no definition in the data, an error message is returned and the page will be categorized into.

  • {{আধ্বব প্রতীক|xyz}}{{আধ্বব প্রতীক}} ব্যবহারে ত্রুটি: "xyz" তালিকায় পাওয়া যায়নি

Optionally, an error text can be altered from the default message to any text by using the second parameter (if set to blank, the message will not appear at all). This cancels the addition of the error category.

  • {{আধ্বব প্রতীক|xyz|unknown}} → unknown
  • {{আধ্বব প্রতীক|xyz|blank}}


আরও দেখুন[সম্পাদনা]

  • {{আধ্বব সংযোগ}} – Displays an IPA symbol which is automatically linked to its sound article: β → β
  • {{IPAblink}} – As {{আধ্বব সংযোগ}}, enclosed in square brackets: [β]
  • {{IPAslink}} – As {{আধ্বব সংযোগ}}, enclosed in slashes: /β/
  • {{IPA audio filename}} – Produces the name of the soundfile
TemplateData

বিবরণ নেই।

টেমপ্লেট প্যারামিটার[টেমপ্লেটের উপাত্ত সম্পাদনা করুন]

প্যারামিটারবিবরণধরনঅবস্থা
Input symbol1

বিবরণ নেই

উদাহরণ
'm'
স্ট্রিংপ্রয়োজনীয়
Error text2

বিবরণ নেই

উদাহরণ
blank
স্ট্রিংঐচ্ছিক
Output typeoutput

বিবরণ নেই

উদাহরণ
audio
স্ট্রিংঐচ্ছিক