Jump to content

Template:De/doc

From The Petit Planet Wiki
This is the documentation page for De.
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 German text by using {{Lang|mini = 1}} as a base and automatically setting the German text in italics.

Syntax

[edit source]

All fields are optional except the German text.
{{De|German text|tl = Translation of the German text|lit = Literal Translation of the German Text}}

Examples

[edit source]

{{De|Auf Wiedersehen|tl = Goodbye|lit = Until our reunion}} yields:
Auf Wiedersehen "Goodbye," lit. "Until our reunion"

Template Data

[edit source]

Template for formatting German

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
German texttx 1

German text to be formatted

Stringrequired
Translationtl 2

Translation of the German text

Stringoptional
Literal Translationlit 3

Literal translation of the German text

Stringoptional