Template:ArS: Difference between revisions
From AnthroWiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>[[Wikipedia:Arabic|Arabic]] | <onlyinclude>[[Wikipedia:Arabic|Arabic]] {{Arabic script|{{{1|}}}|ar}}{{#if:{{{w|}}}| ''{{lang|ar-Latn|{{{w}}}}}''}}{{#if:{{{d|}}}|, [[Wikipedia:DIN 31635|DMG]] ''{{lang|ar-Latn|{{{d}}}}}''}}{{#if:{{{b|}}}| ‚{{{b}}}‘}}</onlyinclude> | ||
{{Documentation}} | {{Documentation}} |
Latest revision as of 07:44, 9 August 2021
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
This template is used to present text in Arabic language and font in a uniform and readable manner according to Foreign word formatting; in this it differs from the Template:ArF. In contrast to Template:Ar, an additional link to the Arabic language is provided.
It also helps browsers, Screenreaders and search engines to handle the text better by specifying the writing direction and the language of the text (=Arabic).
Optionally, different transcriptions as well as the meaning of the word can also be given.
Copy template
{{arS|Text in Arabic script|w=Wikipedia transcription|d=DMG transcription|b=English meaning}}
Parameters
- Parameter 1: Text in Arabic script
- Optional parameters:
|w=
Wikipedia transcription|d=
transcription of the German Oriental Society (DMG transcription = DIN 31635)|b=
German meaning of the word (translation).
Examples
source text | ...and this is what it looks like |
---|---|
'''Ahmad ibn Hanbal''' ({{arS|أحمد بن حنبل|w=Ahmad ibn Hanbal|d=Aḥmad b. Muḥammad b. Ḥanbal}})
|
Ahmad ibn Hanbal (Arabic أحمد بن حنبل Ahmad ibn Hanbal, DMG Aḥmad b. Muḥammad b. Ḥanbal)) |
'''Islam''' ({{arS|إسلام|w=islām|b=dedication to [[God]]}})
|
Islam (Arabic إسلام islām ‚Dedication to God‘) |