Template:Fr/doc
Appearance
This is the documentation page for Fr. 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 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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| French text | tx 1 | French text to be formatted | String | required |
| Translation | tl 2 | Translation of the French text | String | optional |
| Literal Translation | lit 3 | Literal translation of the French text | String | optional |