साचा:Uppercase/doc

विकिस्रोत कडून

Usage[संपादन]

This template styles text in uppercase.

The shortcut redirects {{UC}} and {{uc}} may be used.

Note on proper usage[संपादन]

Do not use "{{uppercase|example}}" where the uppercase content "EXAMPLE" is required. Use it only where the required content is "example" but the required style in which it is to be rendered is uppercase.

Because "{{uppercase|example}}" affects only the style and not the underlying content, it will be rendered as "EXAMPLE" by renderers that support styles, but it may be treated as "example" in other situations, such as case-sensitive text searches, copy-pasting of raw text, reading by screen-readers, etc.

An example of correct usage is in books where the first word of a chapter is capitalised for purely stylistic reasons; for example, Page:Watch and Ward (Boston, Houghton, Osgood and Company, 1878).djvu/8.

Example[संपादन]

{{Uppercase|uppercase}}d

uppercased

{{UC|uppercase}}d

साचा:UCd

{{uc|uppercase}}d

uppercased

See also[संपादन]