टेम्पलेट:Reign
शा॰
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Usage
[संपादन करीं]This template generates an abbreviation for reign or the Latin, rexit: शा॰ By default the abbreviation is marked with <abbr>
.
उदाहरण
[संपादन करीं]Syntax | What it looks like | Notes |
---|---|---|
{{Reign}} 1325–1350
|
शा॰ 1325–1350 | Default style; line break allowed between "शा॰" and "1325–1350"; normal-width space |
{{Reign|1325|1350}}
|
शा॰ 1325 – 1350 | Default style: no line break allowed; thin space |
{{Reign|1325|1350|i=yes}}
|
शा॰ 1325 – 1350 | With italic "r.", though italics are discouraged at WP:YEAR |
{{Reign|1325|1350|lk=abbr}}
|
शा॰ 1325 – 1350 | With abbreviation marking only (default) |
{{Reign|1325|1350|lk=yes}}
|
शा॰ 1325 – 1350 | With link only |
{{Reign|1325|1350|lk=no}}
|
r. 1325 – 1350 | With neither link nor abbreviation marking |
{{Reign|1325|1350|cap=yes}}
|
शा॰ 1325 – 1350 | Starting with capital letter |
पैरामीटर
[संपादन करीं]If the parameter |lk=
(for "link") is set as "|lk=no
" or "|lk=off
", the abbreviation is rendered as "r.", without a wikilink or abbreviation element. If it is set to "|lk=abbr
", it is rendered with the abbreviation element but without the wikilink. If it is set to "|lk=yes
" or "|lk=on
", it is rendered as "शा॰", with a wikilink to the Reign article and not an abbreviation element. Otherwise, the abbreviation is marked with the "<abbr>
" element, as in "शा॰", and linked to the Reign article. The lk
parameter can be used to avoid overuse of "<abbr>
" or overlinking when this template is used repeatedly in the body of an article. A convenient way of doing this is to use {{Reign}} the first time, and {{r.}} thereafter. For example:
[[Augustus]] ({{Reign|27 BCE|14 CE}}}} was an emperor of [[Rome]].
If the parameter "cap=yes
" is specified, the result starts with a capital letter.
Redirects
[संपादन करीं]{{reign}} can be replaced with the redirects:
इहो देखल जाय
[संपादन करीं]परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Reign/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |