साँचा:Indic
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Purpose and function
[संपादित करें]This template is designed to unify the various transliteration schemes and styles employed for Indic scripts. It aims to provide a standard way of representing transliterations.
See Wikipedia:Naming conventions (Indic) for full guidelines for when to use this template.
Usage
[संपादित करें]Syntax:
{{indic | lang= | indic= | trans= | indic2= | trans2= | indic3= | trans3= | defaultipa= | defaultaudio= | indicipa= | indicaudio= | showlang= | showhelp= }}
"lang"
[संपादित करें]The two letter भाषा code (or three letters if the two letter one does not exist) indicating the भाषा of the text. The following भाषाs are recognised by this template:
Code | भाषा |
---|---|
as | असमी |
bn | बांग्ला |
my | बर्माई |
dz | द्ज़ोंग्खा |
gu | गुजराती |
hi | हिन्दी |
kn | कन्नड़ |
ks | कश्मीरी |
km | ख्मेरी |
kon | कोंकणी |
lo | लाओ |
ml | मलयालम |
mr | मराठी |
mn | मंगोलियाई |
ne | नेपाली |
or | उड़िया |
pa | पंजाबी |
sa | Sanskrit |
sd | सिंधी |
ta | तमिल |
te | तेलुगु |
th | थाई |
bo | तिब्बती |
ur | उर्दु |
"indic"
[संपादित करें]The Indic script version of the text. You may use indic2
and indic3
for alternative spellings in the same भाषा (although they can be different scripts). If you need to show a different भाषा, use another instance of this template separated by a semi-colon ';'.
"trans"
[संपादित करें]The transliteration of the source script. You may use indic2
and indic3
for alternative spellings in the same भाषा (although they can be different scripts). If you need to show a different भाषा, use another instance of this template separated by a semi-colon ';'.
"defaultipa"
[संपादित करें]The IPA text of the pronunciation of the word in English.
"defaultaudio"
[संपादित करें]An audio file indicating the pronunciation of the word in English.
"indicipa"
[संपादित करें]The IPA text of the pronunciation of the word in the source भाषा.
"indicaudio"
[संपादित करें]An audio file indicating the pronunciation of the word in the source भाषा.
"showlang"
[संपादित करें]Values: true/false Default: true
Indicates whether to show the भाषा name.
"showhelp"
[संपादित करें]Values: true/false Default: true
Indicates whether to show the help icon.
Examples
[संपादित करें]{{indic|lang=pa|indic=ਗੁਰਦੁਆਰਾ|trans=gurduārā}}
पंजाबी: ਗੁਰਦੁਆਰਾ, gurduārā [?]
{{indic|options=noname|lang=pa|indic=ਗੁਰਦੁਆਰਾ|trans=gurduārā}}
पंजाबी: ਗੁਰਦੁਆਰਾ, gurduārā [?]
{{indic|lang=pa|indic=ਗੁਰਦੁਆਰਾ|trans=gurduārā|indic2=ਗੁਰਦਵਾਰਾ|trans2=gurdvārā|indic3=ਗੁਰਦ੍ਵਾਰਾ|trans3=gurdvārā}}
पंजाबी: ਗੁਰਦੁਆਰਾ, gurduārā, ਗੁਰਦਵਾਰਾ, gurdvārā, ਗੁਰਦ੍ਵਾਰਾ, gurdvārā [?]
{{indic|lang=sa|indic=भारत गणराज्य|trans=bhārata gaṇarājya}}