Template:Es/doc
Appearance
This is the documentation page for Es. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Spanish text | tx 1 | Spanish text to be formatted | String | required |
| Translation | tl 2 | Translation of the Spanish text | String | optional |
| Literal Translation | lit 3 | Literal translation of the Spanish text | String | optional |