模板:Smallcaps all
頁面Template:Smallcaps all/styles.css沒有內容。{{{1}}}
頁面Module:Documentation/styles.css沒有內容。
- REDIRECT Template:改進使用說明
腳本錯誤:沒有「Shortcut」這個模塊。
Usage[編輯]
This template shows all text in 頁面Template:Smallcaps/styles.css沒有內容。smallcaps as a hard format. That is, the caps are permanent, regardless of user preferences. For example:
- Template:Tlx → 頁面Template:Smallcaps all/styles.css沒有內容。Hello World
The template performs two steps: bare text is changed into uppercase, and it is shown in small caps.
Difference from Template:Tlx[編輯]
The Template:Tlx 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 頁面Template:Smallcaps/styles.css沒有內容。small caps, not just the lowercase input. Compare:
- Template:Tlx → 頁面Template:Smallcaps/styles.css沒有內容。Hello World
- Template:Tlx → 頁面Template:Smallcaps all/styles.css沒有內容。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:
- Template:Tlx → 頁面Template:Smallcaps/styles.css沒有內容。Hello World. Copy-paste produces:
Hello World - Template:Tlx → 頁面Template:Smallcaps all/styles.css沒有內容。Hello World. Copy-paste produces:
HELLO WORLD
- Template:Tlx → 頁面Template:Smallcaps/styles.css沒有內容。Hello World. Copy-paste produces:
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:
- Template:Tlx Template:Tlx → 頁面Template:Smallcaps all/styles.css沒有內容。Hello 頁面Template:Smallcaps all/styles.css沒有內容。World. Copy-paste produces:
HELLO WORLD
- Template:Tlx Template:Tlx → 頁面Template:Smallcaps all/styles.css沒有內容。Hello 頁面Template:Smallcaps all/styles.css沒有內容。World. Copy-paste produces:
Usage[編輯]
package.lua第80行Lua錯誤:module 'Module:Format link' not found This template should only be used for words, such as acronyms, that should be capitalized regardless of typographic style. Examples are 頁面Template:Smallcaps all/styles.css沒有內容。NASA and 頁面Template:Smallcaps all/styles.css沒有內容。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 頁面Template:Smallcaps all/styles.css沒有內容。Unesco (instead of UNESCO)
- The trademark 頁面Template:Smallcaps all/styles.css沒有內容。Time (instead of TIME)
- Dates such as 625 頁面Template:Smallcaps all/styles.css沒有內容。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.
For the special case of transliterating 頁面Template:Smallcaps all/styles.css沒有內容。YHWH as the Template:Lord, as in the King James Bible, there is a dedicated template, {{LORD}}.
See also[編輯]
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