Jump to content

Template:Pt/doc

From The Petit Planet Wiki
This is the documentation page for Pt.
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 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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Portuguese texttx 1

Portuguese text to be formatted

Stringrequired
Translationtl 2

Translation of the Portuguese text

Stringoptional
Literal Translationlit 3

Literal translation of the Portuguese text

Stringoptional