Template talk:Lang-fa

(Redirected from Template talk:Lang-fa/doc)
Latest comment: 7 years ago by Rye-96 in topic Text formatting

Not working edit

At least in Firefox 3, {{lang-fa}} doesn't work. The displayed text is nonsense...

  • Freidoune Sahebjam (Persian: فریدون صاحب جمع) (1933-2008) was a [etc]

...and the wikitext is hard to understand unless you use a non-breaking space

  • Freidoune Sahebjam (Persian: فریدون صاحب جمع) (1933-2008) was a [etc]

Using {{lang}}, the displayed text is correct...

  • Freidoune Sahebjam (Persian:فریدون صاحب جمع) (1933-2008) was a [etc]

...but you still need a non-breaking space if you want to edit the wikitext easily

  • Freidoune Sahebjam (Persian:فریدون صاحب جمع) (1933-2008) was a [etc]

-- John of Reading (talk) 08:39, 1 November 2011 (UTC)Reply

The above described problem will only arise when the Arabic script is followed by any characters used in languages written left-to-right (such characters include Arabic numerals, which also are used in English).
To fix it, please change the source to:
[[Persian language|Persian]]: {{lang|fa|{{{1}}}}}&lrm;<noinclude>
{{doc}}
</noinclude>
Where "&lrm;" is a left-to-right mark used to restore the text direction. It is also used in {{Lang-ar}}. jonkerz ♠talk 13:14, 12 February 2012 (UTC)Reply
Examples using the same text but different templates:
  • Freidoune Sahebjam (Persian: فریدون صاحب جمع) (1933-2008) was a [etc] ({{lang-fa}})
  • Freidoune Sahebjam (Arabic: فریدون صاحب جمع) (1933-2008) was a [etc] ({{lang-ar}})
jonkerz ♠talk 23:02, 12 February 2012 (UTC)Reply
  Done Nothing we can do about the unfortunate display in the wikitext, although a workaround is to supply a dummy parameter to the template:
  • Freidoune Sahebjam (Persian: فریدون صاحب جمع, romanizedx) (1933-2008) was a [etc]
Anomie 16:05, 14 February 2012 (UTC)Reply
Thanks! jonkerz ♠talk 16:07, 14 February 2012 (UTC)Reply

Doc wrong edit

The transclusion {{Lang-x/doc}} should be removed because this template does nothing of the sort, although it should – especially |links=no. -- Michael Bednarek (talk) 13:00, 18 November 2014 (UTC)Reply

Edit request, 16 October 2015 edit

Please replace the contents of this template with the contents of the sandbox, to which I have added |lit={{{lit|}}}, which adds an option to include a literal translation. This makes this template consistent with the template’s documentation following this proposal for the parameter's inclusion. Thank you, Ry's the Guy (talk|contribs) 09:22, 16 October 2015 (UTC)Reply

  Not done @Rystheguy: The sandbox has some interwiki links which are not in the main template - please confirm whether you want those added. -- John of Reading (talk) 10:00, 16 October 2015 (UTC)Reply
@John of Reading:) It looks like the template was edited since I copied the contents to the sandbox (this edit. I was only interested in adding the "lit" parameter but it seems like it's already been done. Thank you. Ry's the Guy (talk|contribs) 10:13, 16 October 2015 (UTC)Reply

Merged with Template:Lang-fa-at edit

Merged with code from {{Lang-fa-at}} (which offers a transliteration and literal text field, a superset of the existing template. Action was boldly done after consensus at this TfD. Any issues, please comment here first. Thanks. — Andy W. (talk ·ctb) 15:30, 23 May 2016 (UTC)Reply

Text formatting edit

I was just wondering that why, on earth, is the Arabic script bold within this template?...
If Wikipedia's manual of style for foreign terms suggests that text in non-Latin scripts (such as Greek, Cyrillic or Chinese) should neither be italicized as non-English nor bolded, then what is this template based on?
Rye-96 (talk) 08:41, 20 August 2016 (UTC)Reply

How so? "{{lang-fa|دهه فجر}}" which gives "Persian: دهه فجر" doesn't seem bolded to me. -- Michael Bednarek (talk) 10:53, 20 August 2016 (UTC)Reply
Oh.. Then maybe it's just me..
Rye-96 (talk) 10:07, 22 August 2016 (UTC)Reply