टेम्पलेट:Smallcaps all
{{{1}}}
Usage
[संपादन करीं]This template shows all text in smallcaps as a hard format. That is, the caps are permanent, regardless of user preferences. For example:
{{smallcaps all|Hello World}}
→ HELLO WORLD
The template performs two steps: bare text is changed into uppercase, and it is shown in small caps.
Difference from {{smallcaps}}
[संपादन करीं]The {{smallcaps}}
template is for soft formatting, which is more often what is desired. There are three differences between the templates:
1. All input text is shown in small caps, not just the lowercase input. Compare:
{{smallcaps|Hello World}}
→ Hello World{{smallcaps all|Hello World}}
→ HELLO WORLD
- Note that the initial full capitals are gone.
2. The bare, unstyled text is changed into uppercase. This is relevant for non-CSS browsers, and when one copy-pastes the page. Compare:
{{smallcaps|Hello World}}
→ Hello World. Copy-paste produces:Hello World
{{smallcaps all|Hello World}}
→ HELLO WORLD. Copy-paste produces:HELLO WORLD
3. To maintain initial full capitals, a second parameter is to be used. Doing this has no effect on how text is displayed in non-CSS browsers and with copy-paste. Example:
{{smallcaps all|H|ello}}
{{smallcaps all|W|orld}}
→ HELLO WORLD. Copy-paste produces:HELLO WORLD
Usage
[संपादन करीं]This template should only be used for words, such as acronyms, that should be capitalized regardless of typographic style. Examples are NASA and BC/AD, which are stylistic variants of NASA and BC/AD.
It should not be used for things that are not inherently capitalized, such as the use of small caps to distinguish given from family names, because it makes the capitalization permanent, and the reader cannot override it. In such cases, the template {{smallcaps}} should be used instead.
- Examples
To lighten ALL-CAP words, abbreviations, or acronyms, as a matter of typographic style
- The initialism UNESCO (instead of UNESCO)
- The trademark TIME (instead of TIME) [Do not use this in articles, per MOS:TM]
- Dates such as 625 BCE
If the template is placed outside a link, it will capitalize the link itself, so in some cases it needs to be placed inside the link.
इहो देखल जाय
[संपादन करीं]Templates that change the display (copy-paste will get the original text):
Magic words that rewrite the output (copy-paste will get the text as displayed):
- {{lc:}} – lower case output of the full text
- {{uc:}} – upper case output of the full text
- {{lcfirst:}} – lower case output of the first character only
- {{ucfirst:}} – upper case output of the first character only
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Smallcaps all/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |