টেমপ্লেট:Check ISO 639-1

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

This template checks whether the first positional parameter is a valid ISO 639-1 language code. If it is, it outputs the code, converted to lower-case. If not, it outputs an error message and adds the page to বিষয়শ্রেণী:অবৈধ আইএসও ৬৩৯-১ ভাষা কোডের সাথে নিবন্ধসমূহ. If you don't want to add the page to the category you can use the |nocat= parameter.

A list of valid codes is available at List of ISO 639-1 codes.

Usage[সম্পাদনা]

Basic usage
{{Check ISO 639-1|code}}
Suppress categories
{{Check ISO 639-1|code|nocat=true}}

To suppress categories, the |nocat= parameter will accept any of "true", "yes", "y", or "1".

Examples[সম্পাদনা]