Template:SaS: Difference between revisions

From AnthroWiki
(Created page with "<onlyinclude>{{#if: {{{1|}}}{{{2|}}}|Sanskrit {{#if: {{{1|}}}|{{lang|sa|{{{1| }}}}}}}{{#if: {{{2|}}}|{{#if: {{{1|}}}| }} ''{{lang|en|{{{2}}}}}''}}|w:...")
 
No edit summary
Line 1: Line 1:
<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>
{{#if:{{{1|}}}|[[w:Sanskrit|Sanskrit]]{{#if:{{{3|}}}|, {{{3}}}.}} {{lang|sa|{{{1}}}}}|[[w:Sanskrit|Sanskrit]]}}{{#if:{{{2|}}}|&nbsp;{{IAST|{{{2}}}|sa}}&thinsp;}}<noinclude>{{Documentation}}</noinclude>

Revision as of 08:31, 20 February 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 बुद्धि
Sanskrit Buddhi