This Wiki markup:
{{Arabic Name | arabic=A | trans=B}}
produces this:
The template may also be used with unnamed parameters. For example:
{{Arabic Name |A|B|}
produces: