మూస:Blackletter/doc
మూస:Strong for మూస:Terminate sentence It may contain usage information, categories and other content that is not part of the original మూస page. |
Usage
[మార్చు]This template renders text in a blackletter ("fraktur" or "gothic") typeface using webfonts.
{{blackletter|Text}}
Alphabet: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z
Typeface
[మార్చు]This template uses the UnifrakturMaguntia font, which is released under the SIL Open Font License.
By default, this template uses optional modern glyphs for certain letters rather than the standard glyphs for this font. See "Modes" for details.
Examples
[మార్చు]{{blackletter|Hello, world}}
Hello, world
{{blackletter|{{lorem ipsum}}}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{blackletter|{{xx-larger|'''Hello''', {{red|world!}}}}}} {{blackletter|This {{green|template}} is fully '''''compatible''''' with:}} * {{blackletter|{{larger|Other}} {{smaller|formatting}} templates.}} * {{blackletter|Wikicode formatting like ''italic'', '''bold''' and '''''bold italics'''''.}}
Hello, world!
This template is fully compatible with:
- Other formatting templates.
- Wikicode formatting like italic, bold and bold italics.
Modes
[మార్చు]Optionally certain glyphs can be altered, via different modes, to use a more modern version than is standard for this font. Mode 0 is the default; mode 1 uses the standard glyphs for the font.
{{blackletter|Text|mode=}}
Mode | Glyph(s) | Example |
---|---|---|
0 | A, S, V, Y, k, s, x, y | Your Very Mixed Snakes Are Sneaking South |
1 | n/a | Your Very Mixed Snakes Are Sneaking South |
2 | S | Your Very Mixed Snakes Are Sneaking South |
3 | k | Your Very Mixed Snakes Are Sneaking South |
4 | S, k | Your Very Mixed Snakes Are Sneaking South |
5 | A, S, k | Your Very Mixed Snakes Are Sneaking South |
Inline variant
[మార్చు]The template {{Blackletter/inline}} (or convenience abbreviation {{Bl/il}}) takes the same parameters, but has an artificially short line height to integrate it in a paragraph's text without creating a potentially taller line for some users. This is best used in passages which have a book's normal typeface with only a little bit of blackletter.
The following example paragraph begins with this inline version, then has a simulated exaggeration of the problem it is intended to avoid. The second paragraph is a demonstration that a longer passage likely appears unobjectionable in standards-compliant browsers (see {{Line-height}} for the technical reason); however, since this doesn't respect the font's recommended spacing, avoid this unless similarity to nearby text is the required effect.
{{blackletter/inline|Even}} {{lorem ipsum}} <span style="vertical-align: text-top;">{{blackletter/inline|line-height=200%|Uneven}}</span> {{lorem ipsum}} {{blackletter/inline|{{lorem ipsum}}}}
Even Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Uneven Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Redirects
[మార్చు]See also
[మార్చు]- {{lang}}
- {{ULS}}
- {{Blackletter light}}, alternative for use where the main template triggers the transclusion limit.
- {{Blackletter Page only}}, only uses the Blackletter font in the Page namespace, similarly to the long s template.