Template:SaS: Difference between revisions

From AnthroWiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|[[w:Sanskrit|Sanskrit]]{{#if:{{{3|}}}|, {{{3}}}.}} {{lang|sa|{{{1}}}}}|[[w:Sanskrit|Sanskrit]]}}{{#if:{{{2|}}}|&nbsp;{{IAST|{{{2}}}|sa}}&thinsp;}}<noinclude>{{Documentation}}</noinclude>
<onlyinclude>{{#if: {{{1|}}}{{{2|}}}|[[w:Sanskrit|Sanskrit]]:&nbsp;{{#if: {{{1|}}}|{{lang|sa|{{{1| }}}}}}}{{#if: {{{2|}}}|{{#if: {{{1|}}}|&#32;}} ''{{lang|en|{{{2}}}}}''}}|[[w:Sanskrit|Sanskrit]]}}</onlyinclude><noinclude>{{Documentation}}<noinclude>

Latest revision as of 08:11, 4 March 2021

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

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

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