Template:Blackletter

From Wikisource
Jump to navigation Jump to search

Template documentation


Usage[edit]

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[edit]

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[edit]

{{blackletter|Hello, world}}

Hello, world

{{blackletter|{{lorem ipsum}}}}

Lorem ipsum dolor sit amet, consectetur adipisicing 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''', {{color|red|world!}}}}}}

{{blackletter|This {{color|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[edit]

Optionally certain glyphs can be altered, via different modes, to use a modern modern 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(es) 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

Redirects[edit]

See also[edit]