Template:Ar: Difference between revisions
From AnthroWiki
(Created page with "{{Arabic script|{{{1}}}|ar}}{{#if:{{{w|}}}| ''{{lang|ar-Latn|{{{w}}}}}''}}{{#if:{{{d|}}}|, DMG ''{{lang|ar-Latn|{{{d}}}}}''}}{{#if:{{{b|}}}|...") |
No edit summary |
||
Line 24: | Line 24: | ||
*[[Template:ArS]] | *[[Template:ArS]] | ||
*[[Template:ArF]] | *[[Template:ArF]] | ||
[[Category:Template:Language|Ar]] |
Revision as of 14:34, 27 March 2021
{{{1}}}
- Function: This template serves to present text in Arabic language and font in a uniform and more readable way. It also helps browsers and search engines to deal with the text better by indicating the direction of writing and the language of the text (=Arabic).
Optionally, various transcriptions as well as the meaning of the word can also be indicated. - Usage:
{{ar|text in Arabic script|w=Wikipedia transcription|d=DMG transcription|b=English meaning}}
- Optional parameters:
|w=
Wikipedia transcription|d=
transcription of the German Oriental Society (DMG)|b=
English meaning of the word (translation).
- Examples:
source text | ...and this is what it looks like |
---|---|
'''Ahmad ibn Hanbal''' ({{ar|أحمد بن حنبل|w=Ahmad ibn Hanbal|d=Aḥmad b. Muḥammad b. Ḥanbal}}) | Ahmad ibn Hanbal (أحمد بن حنبل Ahmad ibn Hanbal, DMG Aḥmad b. Muḥammad b. Ḥanbal) |
'''Islam''' ({{ar|إسلام|w=islām|b=dedication to [[God]]}}) | Islam (إسلام islām, "devotion to God") |