Jump to content

Template:Pt

From The Petit Planet Wiki
Revision as of 14:13, 12 September 2026 by ReisuDesign (talk | contribs) (Created page with "<includeonly>{{#invoke:Lang|main|mini=1|vertical={{{vertical|}}}|pt=<i>{{{tx|{{{1|}}}}}}</i>|pt_tl={{{tl|{{{2|}}}}}}|pt_lit={{{lit|{{{3|}}}}}}}}</includeonly><noinclude>{{Documentation|type=Data;Lang Shorthand}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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[Edit template data]

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