Tengwar is a template used to display Tengwar text.
Usage
{{tg| }} gives
{{tg|mode=smith|96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ}} gives 96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ
{{tg|96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ|font=Tengwar Parmaite}} gives 96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ
Sometimes when using the Smith layout, fonts can contain characters that needed to be escaped with <nowiki> in MediaWiki:
{{tg|mode=smith|<nowiki>5Ì~C7R yEj#7Y5 `C6 tlE`C7Y5 yR g~Nj$,R `Vm#7Y5 -=</nowiki>}}
gives
5Ì~C7R yEj#7Y5 `C6 tlE`C7Y5 yR g~Nj$,R `Vm#7Y5 -=
Available fonts
| Font | Weight | Italic | Keyboard layout | TemplateStyles | Example |
|---|---|---|---|---|---|
| Tengwar Annatar | Regular, Bold | Yes | Smith | Template:Tengwar/Tengwar Annatar.css | 96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ |
| Tengwar Eldamar | Regular | No | Smith | Template:Tengwar/Tengwar Eldamar.css | 96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ |
| Tengwar Parmaite | Regular | No | Smith | Template:Tengwar/Tengwar Parmaite.css | 96'U`ÛÁ 91Y 8b%jL 6Yz8 5% hyY6 7E]VÁ |
| Tengwar Telcontar | Regular | No | Unicode | Template:Tengwar/Tengwar Telcontar.css | |
TemplateData
Display Tengwar text
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | Tengwar text to be displayed | String | required |
| Font | font | Font used to render the Tengwar text
| String | optional |
| Mode | mode | Alternative keyboard layout mode
| String | optional |