Jump to content

Template:Tr/doc

From The Petit Planet Wiki
This is the documentation page for Tr.
It contains usage information, categories, and other content not part of the original template page.
This template uses Module:Lang, a script written in Lua.

This template is a shorthand for formatting Turkish text by using {{Lang|mini = 1}} as a base and automatically setting the Turkish text in italics.

Syntax

[edit source]

All fields are optional except the Turkish text.
{{Tr|Turkish text|tl = Translation of the Turkish text|lit = Litreral Translation of the Turkish Text}}

Examples

[edit source]

{{Tr|Dehanın Yakarışı Kart Oyunu|tl = Genius Invokation|lit = Invocation of Genius Card Game}} yields:
Dehanın Yakarışı Kart Oyunu "Genius Invokation," lit. "Invocation of Genius Card Game"

Template Data

[edit source]

Template for formatting Turkish

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Turkish texttx 1

Turkish text to be formatted

Stringrequired
Translationtl 2

Translation of the Turkish text

Stringoptional
Literal Translationlit 3

Literal translation of the Turkish text

Stringoptional