Jump to content

Template:Fr/doc

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

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