Template:Lang-fa

Wikipedia se
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Template:COinS safe

Usage[source ke badlo]

Script error: No such module "Lang/documentor tool". Template {{lang-fa}} indicates to readers the original form of a term or phrase in Persian. The term or phrase is the only mandatory parameter. The text is formatted according to recommendations in Wikipedia:Manual of Style/Text formatting#Foreign terms (italics for Latin-script languages, regular for others).

The parameter |links=no prevents the language name from being linked.

The parameter |lit= enables a literal translation to be given.

Parameters[source ke badlo]

Template:Lang-x/doc/parameters

Syntax[source ke badlo]

{{lang-fa
|Template:Var – using Persian. (mandatory)
|Template:Var – valid values: yes to have the language name linked (default) and no to prevent the language name from being linked. (optional)
|Template:Var – valid strings are English phrases of Persian. (optional)
|Template:Var – valid strings are transliterations (with the Latin script) of Persian text. (optional)
}}

Examples[source ke badlo]

Code Result
{{lang-fa|هزار افسان}} Persian: هزار افسان
{{lang-fa|دهه فجر|lit=ten days of dawn}} Persian: دهه فجر‎, lit. 'ten days of dawn'
{{lang-fa|Persian|transliteration|lit=literal|links=no}} Persian: Persian‎, lit. 'literal'

See also[source ke badlo]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Lang-fa

Insert Persian text. Indicates to readers the original form of a term or phrase in Persian.

Template parameters

ParameterDescriptionTypeStatus
Text1

The foreign text to display.

Stringrequired
Display linklinks

Set to no to disable the link to the article's language.

Booleanoptional
Literal translationlit

no description

Unknownoptional
Transliterationtranslit

A Latin alphabet respelling of Persian text

Stringoptional

Template:Sandbox other