Template:SaS: Difference between revisions
From AnthroWiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{1|}}}{{{2|}}}|[[w:Sanskrit|Sanskrit]] {{#if: {{{1|}}}|{{lang|sa|{{{1| }}}}}}}{{#if: {{{2|}}}|{{#if: {{{1|}}}| }} ''{{lang|en|{{{2}}}}}''}}|[[w:Sanskrit|Sanskrit]]}}</onlyinclude><noinclude>{{Documentation}}<noinclude> | <onlyinclude>{{#if: {{{1|}}}{{{2|}}}|[[w:Sanskrit|Sanskrit]]: {{#if: {{{1|}}}|{{lang|sa|{{{1| }}}}}}}{{#if: {{{2|}}}|{{#if: {{{1|}}}| }} ''{{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>
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: बुद्धि
Sanskrit: Buddhi