Template:Pt/doc
Appearance
This is the documentation page for Pt. 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 Portuguese text by using {{Lang|mini = 1}} as a base and automatically setting the Portuguese text in italics.
Syntax
[edit source]All fields are optional except the Portuguese text.
{{Pt|Portuguese text|tl = Translation of the Portuguese text|lit = Literal Translation of the Portuguese Text}}
Examples
[edit source]{{Pt|A Carta de um Garoto|tl = A Boy's Letter|lit = A Letter of a Boy}} yields:
A Carta de um Garoto "A Boy's Letter," lit. "A Letter of a Boy"
Template Data
[edit source]Template for formatting Portuguese
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Portuguese text | tx 1 | Portuguese text to be formatted | String | required |
| Translation | tl 2 | Translation of the Portuguese text | String | optional |
| Literal Translation | lit 3 | Literal translation of the Portuguese text | String | optional |