साँचा:जन्म और निधन ToC

मुक्त ज्ञानकोश विकिपीडिया से
Jump to navigation Jump to search
विषय
जनवरी · फ़रवरी · मार्च · अप्रैल · मई · जून · जुलाई · अगस्त · सितम्बर · अक्टूबर · नवम्बर · दिसम्बर
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज]

यह साँचे का उद्देश्य हैं कि इसे विशिष्ट वर्षों के लेखों के जन्म और निधन उप-अनुभागों पर इस्तेमाल किया जाए, उदाहरण के लिए 2014। आदर्श रूप से, यह प्रदत्त वर्ष के अंत में जोड़ा जाना चाहिए।

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

{{जन्म और निधन ToC
|births/deaths
|title=
|months=
|unknown=
|section=
|1|2|3|4|5|6|7|8|9|10|11|12
|section1=
...
|section12=
|sectionu=
}}

जन्म/निधन[संपादित करें]

The "births/deaths" section shows the ToC's title as "Births" or "Deaths" and adds the number 2 (births) or 3 (deaths) to the section titles in the links. This is because "Births" and "Deaths" are usually the second and third sections respectively in year articles, and leaving month titles without these numbers would direct users to months in the "Events" section.

{{Births and deaths ToC|births}} साँचा:Births and deaths ToC

{{Births and deaths ToC|deaths}} साँचा:Births and deaths ToC

{{{months}}}[संपादित करें]

The |months= parameter specifies the number of months to show or the limit of months shown on the template. For example, |months=9 would only show the months of January to September.

{{Births and deaths ToC|births|months=9}}

{{{unknown}}}[संपादित करें]

The |unknown= प्राचल "अज्ञात तारीख़" नामक एक अनुभाग जोड़ता हैं, उन लोगों की सूची मे जिन्हें लेख में शामिल तो किया गया हैं पर उनके जन्म की तारीख़ पता नहीं हो।

{{जन्म और निधन ToC|deaths|unknown=yes}}

अनुभाग[संपादित करें]

In the event of a case where months have custom titles in either section, the |section= parameter can be used to specify the given number used in the months' titles.

{{Births and deaths ToC|deaths|section=2}} साँचा:Births and deaths ToC

Sometimes, a certain month section or a "Date unknown" section may have already been included more than twice or thrice. The individual |section[n]= and the |sectionu= (unknown section) parameters can be used to specify the given number used in these specific months' titles.

In the example below, August in the "Births" section would be the third such August section in the given year article, and the "Date unknown" section would be the second such section in the given year article.

{{Births and deaths ToC|births|unknown=yes|section8=3|sectionu=2}} साँचा:Births and deaths ToC

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

The numbers 1–12 in the syntax above represent custom titles that can be inserted instead of January–December if the article contains custom month titles.

{{Births and deaths ToC|births|January–March|April–June|July–September|October–December}} साँचा:Births and deaths ToC

Full blank syntax[संपादित करें]

{{Births and deaths ToC
|births/deaths
|title   = 
|months  = 
|unknown = 
|section = 
<!-- custom month titles -->
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 10
| 11
| 12
<!-- custom month section numbers -->
|section1  = 
|section2  = 
|section3  = 
|section4  = 
|section5  = 
|section6  = 
|section7  = 
|section8  = 
|section9  = 
|section10 = 
|section11 = 
|section12 = 
|sectionu  = 
}}