Template:Lang-Deva

Usage
This template is used for formatting text in the Devanagari script. It accepts an obligatory parameter for the Devangari text and an optional second parameter for the transliteration:
- <syntaxhighlight lang="text" class="" style="" inline="1">{{lang-Deva|अर्जुन}}</syntaxhighlight> gives:
- Devanagari: अर्जुन
- <syntaxhighlight lang="text" class="" style="" inline="1">{{lang-Deva|अर्जुन|arjuna}}</syntaxhighlight> gives:
- Devanagari: अर्जुन arjuna
An optional third parameter specifies the transliteration scheme used (for example, <syntaxhighlight lang="text" class="" style="" inline="1">IAST</syntaxhighlight> for IAST or <syntaxhighlight lang="text" class="" style="" inline="1">ISO</syntaxhighlight> for ISO 15919). If the |link=
parameter is set to no, the string Devanagari will not be linked.
When not to use
To format Devanagari text in a specified language, use one of the specific templates, like {{lang-hi}} for Hindi, {{lang-mr}} for Marathi, {{lang-ne}} for Nepali or {{lang-sa}} for Sanskrit.
To prevent the text Devanagari: from displaying, use {{transl}}: <syntaxhighlight lang="text" class="" style="" inline="1">{{transl|und-Deva|some text}}</syntaxhighlight> if the language is undetermined. If the language is specified, use {{lang}}.