साँचा:Infobox language

मुक्त ज्ञानकोश विकिपीडिया से
Infobox language
बोलने का  स्थान
मातृभाषी वक्ता
भाषा परिवार
  • {{{name}}}
भाषा कोड
आइएसओ 639-3
लुआ त्रुटि Module:Location_map में पंक्ति 422 पर: No value was provided for longitude।
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]

इस साँचाका प्रयोग कोई भी भाषा वा बोलिके बारेमे लिखा हुवा लेखमे कर सकते हैं ।

प्रयोग[संपादित करें]

{{Infobox language
 |name          = 
 |nativename    = Nagpuri, नागपुरी
 |states        =  [[भारत]] 
 |region        = [[झारखंड]], [[छत्तीसगढ़]],  [[ओड़िशा]]
 |speakers      = 5.1 मिलियन
 |ref=<ref>{{Cite web|url=http://www.censusindia.gov.in/2011Census/Language_MTs.html|title=Statement 1: Abstract of speakers' strength of languages and mother tongues - 2011|publisher=Office of the Registrar General & Census Commissioner, India|website=www.censusindia.gov.in|access-date=2018-07-07}}</ref>  <ref>{{cite web |url=http://www.indiamapped.com/languages-in-india/jharkhand-sadri-language/ |title=Archived copy |accessdate=2016-11-26 |deadurl=no 
 |archiveurl=https://web.archive.org/web/20161127085046/http://www.indiamapped.com/languages-in-india/jharkhand-sadri-language/ |archivedate=2016-11-27 
 |df= }}</ref>
 |iso1          = sck
 |iso2          = sdr
 |lingua        = sada1242
 |familycolor   = Indo-European
 |fam1          = [[हिन्द-यूरोपीय भाषाएँ|हिन्द-यूरोपीय]]
 |fam2          = [[हिन्द-ईरानी भाषाएँ|हिन्द-ईरानी]]
 |fam3          = [[पूर्वी हिन्द-आर्य भाषाएँ|पूर्वी हिन्द-आर्य]]
 |fam4          = [[बिहारी भाषाएँ|बिहारी]]  <ref>{{cite web |url=https://books.google.com/books?id=qxxnZ4XxUbsC&pg=PA53 |title=Archived copy |accessdate=2016-11-23 |deadurl=no |archiveurl=https://web.archive.org/web/20180529171149/https://books.google.com/books?id=qxxnZ4XxUbsC&pg=PA53 |archivedate=2018-05-29 |df= }}</ref>
 |family        = [[हिन्द-आर्य]]
 |script        = [[देवनागरी]]
 |ll1           = link to the Wikipedia article on that dialect
 |signers       = number of people who sign that language
 |creator       = name of language creator
 |date          = year of first creation
 |setting       = the use or setting for the language
 |posteriori    = natural-language sources
 |caption       = very simple description of image
 |image         = [[File:image name.png|center|200px|alt=Alt text|Caption]]
 |map           = [[File:image name.png|center|thumb|300px|alt=Alt text|Caption]]
 |notice        = Indic
 |notice        = nonotice

Placement[संपादित करें]

Colour codes for language families and groups: WikiProject Languages.
अफ़्रो-एशियाई नाइजर-कॉन्गो नाइलो-सहारन खोईसान
हिन्द-यूरोपीय कॉकसाई अल्ताई यूराली द्रविड़ पैलेओसाईबेरियाई
ऑस्ट्रोनीशियाई ऑस्ट्रो-एशियाई चीनी-तिब्बती ह्मोऑन्ग-मेइन ऑस्ट्रेलियाई पापुआई
मूल अमेरीकी डेनै-येनीशियन एस्किमो-एलेउट
क्रेयोल/पिजिन/मिश्रित पृथक भाषा सांकेतिक भाषा निर्मित भाषा

The template should placed at the very top of the wikitext of the article, before any text. The absolute basic syntax is as shown below:

{{Infobox language ← this calls the template
|name=name of language ← the name of the language needs to be given
|familycolor=appropriate language family ← refer to the coloured chart to the right (or above, depending on your browser), and type the name shown there; this will add the appropriate family color to the template top
}} ← this ends the template call

However, you will probably want to add more than just this. Other parameters are listed below, they can be incorporated anywhere between the first and last lines, and in any order.

Additional parameters[संपादित करें]

There are several more parameters that can be defined between the opening and closing lines. These are:

|name=name of language ← the name of the language needs to be given
|nativename=native name of the language ← what the language calls itself
|states=countries in which it is mainly spoken ← you do not have to define both this and region
|region=geographic region in which it is mainly spoken ← you do not have to define both this and states; use this parameter for a single statement about geographic distribution
|speakers=the number of speakers of the language
|iso1=the ISO 639-1 code for the language
|iso2=the ISO 639-2 code for the language ← see just below for the situation where a language has two ISO 639-2 codes
|iso3=the ISO 639-3 code for the language ← see below for the situation where multiple ISO 639-3 codes apply; if there is no ISO 639-3 code, set |iso3=none to return the text none
|lingua=the Linguasphere code for the language

If any of these are unknown, simply leave them out: the template will provide a default text. If a language has two ISO 639-2 codes, one will be defined as the bibliographic code, and the other terminological. These can be added in separate fields using the following parameters:

|iso2b=the ISO 639-2 bibliographic code
|iso2t=the ISO 639-2 terminological code

Genetic classification[संपादित करें]

You can use the language template to show the genetic classification of a language at a glance. This classification is displayed as a descending staircase of language families, from the broadest to the most specific. To add the genetic classification use the following:

|fam1=the broadest possible widely accepted language family of which the language is a part ← if this would be exactly the same as you have defined for familycolor, it may be omitted
|fam2=a more specific sub-family
|fam3=a more specific group

You can keep adding parameters in like fashion until you have completed the classification. If you would prefer to enter some other information in this box (for example, disputed), use this parameter instead:

|family=whatever you want to say

Optional parameters[संपादित करें]

Some parts of the template remain invisible unless they are specifically called. Only use these parameters if they are required.

|fontcolor=colour of font against 'familycolor' ← the font colour is usually black, use this to change it if it is difficult to read
|pronunciation=pronunciation of the native name of the language in IPA → remember to enclose the transcription in an IPA template such as {{IPA-all}}
|rank=language's ranking in the list of languages by number of native speakers
|nation=list of countries in which it is an official language
|minority=list of countries in which it is a recognised minority language
|agency=regulatory body or language academy for the language
|extinct=date of extinction, or information about extinction ← this replaces speakers
|script=writing system(s) used to represent the language ← in the form "Latin (English variant)"
|IPAChartEng=(any non-empty string) displays the note "See Help:IPA for English for an English-based pronunciation key." at the bottom of the infobox

Language with more than one ISO 639-3 code[संपादित करें]

Some languages have a number of ISO 639-3 codes, one for each dialect of that language. If you try putting all of these codes in the usual iso3= parameter, it will get quite messy. Instead, use the following parameters:

|lc1=language code of the first dialect
|ld1=name of the first language dialect
|ll1=link to the Wikipedia article on that dialect

For subsequent dialects, use lc2 and so forth. If the name of a language is the same as its Wikipedia article, you do not need to define lln. It will link without it. If you do not want an internal link to that dialect's page, set lln=none: the text of ldn will then be displayed unlinked. If you want bold text, you can set lln to the name of the page the infobox is on.

For languages with an ISO 639-3 macrolanguage code and several individual codes, use iso3 for the macrolanguage and lcn, ldn and lln for the individual codes.

Sign languages[संपादित करें]

This template is appropriate to use for sign languages. The following parameter is used instead of speakers:

|signers=number of people who sign that language

Once this parameter is defined or familycolor=Sign is set, the rest of the template makes sure that any reference to 'speaking' is replaced by ones to 'signing'. Setting this parameter automatically makes the coloured bars of the infobox silver, the colour defined for sign languages, and provides a default of iso2=sgn if no other text is provided. All the other parameters work in exactly the same way.

Constructed languages[संपादित करें]

This template is appropriate to use for constructed languages. The following parameters can be used:

|creator=name of language creator
|date=year of first creation
|setting=the use or setting for the language
|posteriori=natural-language sources

Using these parameters, or setting famillycolor=Conlang, automatically sets the coloured bars of the infobox to black with white text, and removes the states and region parameters from use (nation is also disabled). If the iso2 parameter is left undefined, it is treated as being iso2=art. For conlangs, the family or famn parameters are used to describe the hierarchy of purpose of the language, whereas posteriori is used to describe the a posteriori sources on which the conlang draws.

Images in the template[संपादित करें]

You cannot put large images into the language template: they just make it very messy. You can place a small image at the top of the template using the following parameters:

|caption=very simple description of image ← this is placed in the left-hand column
|image=[[File:image name.png|center|200px|alt=Alt text|Caption]]

If you have a slightly larger image, you can place at the bottom of the template, spanning both columns, with the following parameter:

|map=[[File:image name.png|center|thumb|300px|alt=Alt text|Caption]]

The usual image markup applies for both images. Alt text is for visually impaired readers, and the caption is for all readers; typically they should have little in common (see WP:ALT).

Footer notice[संपादित करें]

At the bottom of the infobox is a notice. In most instances, it will be a notice about the Unicode fonts used for displaying IPA. For sign languages, it changes to a link to the list of sign languages. Other notices can be appended manually, using one of the following parameters:

|notice=Indic ← fixes a notice about Indic fonts
|notice=nonotice ← removes the default notice

Sub-templates[संपादित करें]

  1. Template:Infobox language/IPA notice
  2. Template:Infobox language/codelist
  3. Template:Infobox language/family-color
  4. Template:Infobox language/familycolor
  5. Template:Infobox language/genetic2
  6. Template:Infobox language/terminological