Template:SaS/doc: Difference between revisions

From AnthroWiki
(Created page with "This template serves to present text in w:Sanskrit in a uniform and more readable way. It also helps browsers and search engines to handle the text better by indicating t...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template serves to present text in [[w:Sanskrit|Sanskrit]] in a uniform and more readable way. It also helps browsers and search engines to handle the text better by indicating the writing direction and the language of the text.
This template serves to present text in [[w:Sanskrit|Sanskrit]] and [[w:Devanagari|Devanagari]] in a uniform and more readable way. It also helps browsers and search engines to handle the text better by indicating the language of the text.


== Example ==
== Example ==


<code><nowiki>'''Buddhi''' ({{SaS|बुद्धि|Buddhi}})</nowiki></code><br><code><nowiki>'''Israel''' ({{SaS|बुद्धि}})</nowiki></code>
<code><nowiki>'''Buddhi''' {{SaS|बुद्धि|Buddhi}}</nowiki></code><br><code><nowiki>'''Buddhi''' {{SaS|बुद्धि}}</nowiki></code><br><code><nowiki>'''Buddhi''' {{SaS||Buddhi}}</nowiki></code>


Gives:
Gives:


'''Israel''' ({{Sas|बुद्धि|Buddhi}})<br>'''Israel''' ({{Sas|बुद्धि}})
'''Buddhi''' {{SaS|बुद्धि|Buddhi}}<br>'''Buddhi''' {{SaS|बुद्धि}}<br>{{SaS||Buddhi}}


[[Category:Template:Language]]
[[Category:Template:Language]]

Latest revision as of 08:45, 20 February 2021

This template serves to present text in Sanskrit and Devanagari in a uniform and more readable way. It also helps browsers and search engines to handle the text better by indicating the language of the text.

Example

'''Buddhi''' {{SaS|बुद्धि|Buddhi}}
'''Buddhi''' {{SaS|बुद्धि}}
'''Buddhi''' {{SaS||Buddhi}}

Gives:

Buddhi Sanskritबुद्धि Buddhi
Buddhi Sanskritबुद्धि
SanskritBuddhi