Jump to content

Template:Fr

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 French text by using {{Lang|mini = 1}} as a base and automatically setting the French text in italics.

Syntax

[edit source]

All fields are optional except the French text.
{{Fr|French text|tl = Translation of the French text|lit = Literal Translation of the French Text}}

Examples

[edit source]

{{Fr|Pomme de terre|tl = Potato|lit = Apple of [the] earth}} yields:
Pomme de terre "Potato," lit. "Apple of [the] earth"

Template Data

[edit source]

Template for formatting French

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
French texttx 1

French text to be formatted

Stringrequired
Translationtl 2

Translation of the French text

Stringoptional
Literal Translationlit 3

Literal translation of the French text

Stringoptional