Jump to content

Template:Es

From The Petit Planet Wiki
Template documentation
Note: parts of or the entire template might not be visible without values provided.
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[Edit template data]

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