Template:IAST: Difference between revisions

From AnthroWiki
(Created page with "<nowiki></nowiki>Wikipedia:International Alphabet of Sanskrit Transliteration|<span class="IAST" style="font-family:Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Dej...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<div style="margin:1em; padding:1em; border:solid 1px #FF0040; background-color:#FFFFFF">
<div style="margin:1em; padding:1em; border:solid 1px #FF0040; background-color:#FFFFFF">
* '''Function:''' Representation of the [[Wikipedia:International Alphabet of Sanskrit Transliteration|International Alphabet of Sanskrit Transliteration]]. This template has a dual purpose:
* '''Function:''' Representation of the [[Wikipedia:International Alphabet of Sanskrit Transliteration|International Alphabet of Sanskrit Transliteration]]. This template has a dual purpose:
#'It serves, for the time being, to ensure display even for those browsers that can display [[Wikipedia:Unicode|Unicode]] but cannot select a suitable [[Wikipedia:Font|Font]] (especially Internet Explorer). However, it is a prerequisite that one of the suitable fonts is installed (e.g. Arial Unicode MS). Apart from [[Sanskrit]], the template is also suitable for transliterating other Indian languages: [[Wikipedia:Hindi|Hindi]], [[Wikipedia:Bengali language|Bengali]], [[Wikipedia:Tamil language|Tamil]] etc.
#'It serves, for the time being, to ensure display even for those browsers that can display [[Wikipedia:Unicode|Unicode]] but cannot select a suitable [[Wikipedia:Font|Font]] (especially Internet Explorer). However, it is a prerequisite that one of the suitable fonts is installed (e.g. Arial Unicode MS). Apart from [[Wikipedia:Sanskrit|Sanskrit]], the template is also suitable for transliterating other Indian languages: [[Wikipedia:Hindi|Hindi]], [[Wikipedia:Bengali language|Bengali]], [[Wikipedia:Tamil language|Tamil]] etc.
#It marks the corresponding text as a [[Wikipedia:Romanisation|Romanisation]] of a foreign language. For this purpose, the language code should also be specified. The specification of the language code is optional, but highly recommended. Therefore, this template may only be used for words in IAST.
#It marks the corresponding text as a [[Wikipedia:Romanisation|Romanisation]] of a foreign language. For this purpose, the language code should also be specified. The specification of the language code is optional, but highly recommended. Therefore, this template may only be used for words in IAST.
* '''You write in the page:''' <nowiki>{{IAST|text|language}} e.g. {{IAST|upaṇiṣad|sa}} for Sanskrit</nowiki>.
* '''You write in the page:''' <nowiki>{{IAST|text|language}} e.g. {{IAST|upaṇiṣad|sa}} for Sanskrit</nowiki>.
* '''Displayed then:''' {{IAST|upaṇiṣad|sa}}
* '''Displayed then:''' {{IAST|upaṇiṣad|sa}}
*The following language codes can be used:
*The following language codes can be used:
**<code>sa</code> for [[Sanskrit]]
**<code>sa</code> for [[Wikipedia:Sanskrit|Sanskrit]]
**<code>hi</code> for [[Wikipedia:Hindi|Hindi]]
**<code>hi</code> for [[Wikipedia:Hindi|Hindi]]
**<code>bn</code> for [[Wikipedia:Bengali language|Bengali]]
**<code>bn</code> for [[Wikipedia:Bengali language|Bengali]]
Line 27: Line 27:
**if not known: possibly <code>and</code>.
**if not known: possibly <code>and</code>.
</div>
</div>
{{Wikipedia}}
</noinclude>
</noinclude>

Latest revision as of 06:31, 1 April 2021

{{{1}}}

  1. 'It serves, for the time being, to ensure display even for those browsers that can display Unicode but cannot select a suitable Font (especially Internet Explorer). However, it is a prerequisite that one of the suitable fonts is installed (e.g. Arial Unicode MS). Apart from Sanskrit, the template is also suitable for transliterating other Indian languages: Hindi, Bengali, Tamil etc.
  2. It marks the corresponding text as a Romanisation of a foreign language. For this purpose, the language code should also be specified. The specification of the language code is optional, but highly recommended. Therefore, this template may only be used for words in IAST.