Jump to content

Template:Es/doc

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

Syntax

[edit source]

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

Examples

[edit source]

{{Es|Por el amor de Godwin|tl = For Godwin's Love|lit = For the Love of Godwin}} yields:
Por el amor de Godwin "For Godwin's Love," lit. "For the Love of Godwin"

Template Data

[edit source]

Template for formatting spanish

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Spanish texttx 1

Spanish text to be formatted

Stringrequired
Translationtl 2

Translation of the Spanish text

Stringoptional
Literal Translationlit 3

Literal translation of the Spanish text

Stringoptional