साँचा:Dr

मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]

यह साँचा किसी ज्ञानसन्दूक (इंफोबॉक्स) या पर्यटनसन्दूक (नैवबॉक्स) में इस्तेमाल करने के लिए वर्ष, दशक, शताब्दी या सहस्राब्दी को निर्मित करता हैं।

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

पहला प्राचल हैं y, d, c, m, जो इनपुट पर निर्भर होता हैं।

दूसरा प्राचल हैं y, d, c, m, जो आउटपुट पर निर्भर होता हैं।

तीसरा प्राचल हैं इनपुट संख्या. उदाहरण के लिए, "1" "१ वर्ष" को, "१ दशक" को, "१ शताब्दी" को या "१ सहस्त्राब्दी" को दर्शाता हैं (पहले प्राचल के ऊपर निर्भर)। ईसा पूर्व के लिए, संख्या को ऋणात्मक कर दो (0 दशक ईसा पूर्व के लिए, -0 का प्रयोग करें)।

चौथा प्राचल आउटपुट में कुछ न कुछ ऑफसेट करता हैं। Notice that the output decade/century/millennium is the (first) decade/century/millennium of the input year/decade/century/millennium, but an output year is the second year of an input decade/century/millennium.

पाँचवे प्राचल में शैली के विकल्प हैं। Normally the item is linked if it is within the range for which Wikipedia has articles (to configure that range, please edit {{dr-make}}). निम्नलिखित विकल्प उपलब्ध हैं:

  • y = हमेशा कड़ी जोड़ता है
  • n = कभी कड़ी नहीं जोड़ता है
  • t = never link, and no no-break spaces or other formatting (e.g. for use in category names)
  • s = small letters for BC (or AD if present)
  • a = use AD if not BC
  • ys, ysa, ya, ns, nsa, na, sa = permitted combinations of the above

Example: {{dr|c|d|-5|3|s}} निर्मित करता हैं: 46 दशक ईसा पूर्व, अर्थात् 5 शताब्दी ईसा पूर्व का पहला दशक, जिसमें +3 दशक ऑफसेट हो गएँ।

उपसाँचे[संपादित करें]