आकृति:Lang-fa/doc
This is a documentation subpage for आकृति:Lang-fa. It contains usage information, categories and other content that is not part of the original आकृति page. |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see COinS in Wikipedia. |
This template uses Lua: |
This template is used on approximately ८०,००० pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Usage
[सम्पादन करी]स्क्रिप्ट त्रुटि: "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
[सम्पादन करी]Syntax
[सम्पादन करी]- {{lang-fa
- |Persian text – using Persian. (mandatory)
- |links=value – valid values: yes to have the language name linked (default) and no to prevent the language name from being linked. (optional)
- |lit=string – valid strings are English phrases of Persian. (optional)
- |translit=string – valid strings are transliterations (with the Latin script) of Persian text. (optional)
- }}
Examples
[सम्पादन करी]Code Result {{lang-fa|هزار افسان}} फारसी: هزار افسان {{lang-fa|دهه فجر|lit=ten days of dawn}} फारसी: دهه فجر, शाब्दिक 'ten days of dawn' {{lang-fa|Persian|transliteration|lit=literal|links=no}} फारसी: Persian, अनुवाद transliteration, शाब्दिक 'literal'
See also
[सम्पादन करी]- {{lang}}, and its opposite, {{Language with name/for}}
- {{rtl-lang|fa}}, for untransliterated Persian-language strings without preceding "Persian:" link.
- {{script|Arab|...}} for Arabic script without specifying a language.
See the monthly error report for this template.
TemplateData for Lang-fa
Insert Persian text. Indicates to readers the original form of a term or phrase in Persian.
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Text | 1 | The foreign text to display. | स्ट्रिंग | आवश्यक |
Display link | links | Set to no to disable the link to the article's language. | बूलियन | वैकल्पिक |
Literal translation | lit | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
Transliteration | translit | A Latin alphabet respelling of Persian text | स्ट्रिंग | वैकल्पिक |