Template:ArS: Difference between revisions

From AnthroWiki
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>[[Wikipedia:Arabic|Arabic]]{{#if:{{{1|}}}|:&nbsp;{{Arabic script|{{{1|}}}|ar}}{{#if:{{{w|}}}|&nbsp;''{{lang|ar-Latn|{{{w}}}}}''}}{{#if:{{{d|}}}|, [[Wikipedia:DIN 31635|DMG]] ''{{lang|ar-Latn|{{{d}}}}}''}}{{#if:{{{b|}}}| &nbsp;‚{{{b}}}‘}} | }}</onlyinclude>
<onlyinclude>[[Wikipedia:Arabic|Arabic]]{{#if:{{{1|}}}|:| }}&nbsp;{{Arabic script|{{{1|}}}|ar}}{{#if:{{{w|}}}|&nbsp;''{{lang|ar-Latn|{{{w}}}}}''}}{{#if:{{{d|}}}|, [[Wikipedia:DIN 31635|DMG]] ''{{lang|ar-Latn|{{{d}}}}}''}}{{#if:{{{b|}}}| &nbsp;‚{{{b}}}‘}}</onlyinclude>
{{Documentation}}
{{Documentation}}

Revision as of 07:41, 9 August 2021

Arabic 

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[view] [edit] [history] [purge]

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

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‘)

See also