Difference between revisions of "Template:DictEntry"

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#set:
 
<includeonly>{{#set:
 
|dictionary={{{ dictionary | }}}
 
|dictionary={{{ dictionary | }}}
|wylie={{{ wylie | }}}
+
|wylie={{{ wylie | }}}<!--
 +
|tibetan-unicode-headword={{subst:<wytotib>{{{ wylie | }}}</wytotib>}}-->
 +
|wylie-discrete={{#switch:{{{ dictionary | }}}
 +
|Mahāvyutpatti={{#replaceset:{{{ wylie | }}}|/\<\/?p\>/=|/[ ]*\(mvyut_[0-9]+\)/=}}
 +
|#default={{{ wylie | }}}
 +
}}|+sep=;
 
|english-def={{{ english-def | }}}
 
|english-def={{{ english-def | }}}
|tibetan-def={{{ tibetan-def | }}}
+
|tibetan-def={{{ tibetan-def | }}}<!--
 +
|tibetan-unicode-def={{subst:<wytotib>{{{ tibetan-def | }}}</wytotib>}}-->
 
|hopkins-2015-synonyms={{{ hopkins-2015-synonyms | }}}|+sep=;
 
|hopkins-2015-synonyms={{{ hopkins-2015-synonyms | }}}|+sep=;
|mahavyutpatti-skt={{#replaceset:{{{ mahavyutpatti-skt | }}}
+
|mahavyutpatti-skt={{{ mahavyutpatti-skt | }}}|+sep=;
|/A/=ā
+
|itlr-sanskrit={{{ itlr-sanskrit | }}}
|/M/=
+
|itlr-number={{{ itlr-number | }}}
}}|+sep=;
 
 
|mvyut-number={{{ mvyut-number | }}}|+sep=;
 
|mvyut-number={{{ mvyut-number | }}}|+sep=;
 
|english={{{ english | }}}|+sep=;
 
|english={{{ english | }}}|+sep=;
 +
|verbinator={{{ verbinator | }}}
 +
|hopkins-examples-english={{{ hopkins-examples-english | }}}
 +
|hopkins-examples-tibetan={{{ hopkins-examples-tibetan | }}}
 +
|84000-synonym={{{ 84000-synonym | }}}|+sep=;
 +
|negi-def={{{ negi-def | }}}
 +
|bhs-headword={{{ bhs-headword | }}}
 +
|bhs-entry-num={{{ bhs-entry-num | }}}
 +
|bhs-page-num={{{ bhs-page-num | }}}
 +
|bhs-column-num={{{ bhs-column-num | }}}
 +
|bhs-entry={{{ bhs-entry | }}}
 +
|english-comment={{{ english-comment | }}}
 
}}{{#switch:{{{ dictionary | }}}
 
}}{{#switch:{{{ dictionary | }}}
|Mahāvyutpatti=<dl>
+
|Mahāvyutpatti
<dt>{{#replaceset:{{{ mahavyutpatti-skt | }}}
+
|Indo-Tibetan Lexical Resource (2020)=<dl>
|/A/=ā
+
<dt>{{#arraymap:{{{ mahavyutpatti-skt | }}};{{{ itlr-sanskrit | }}}
|/M/=ṃ
+
|;
 +
|@@@
 +
|@@@
 +
|,&nbsp;
 
}}</dt>
 
}}</dt>
 
<dd>
 
<dd>
 
{{{ wylie | }}}
 
{{{ wylie | }}}
</dd>
+
</dd>{{#if: {{{ itlr-number | }}} |
 +
<dd>https://www.itlr.net/hwid:{{{ itlr-number | }}}</dd> | }}
 
</dl>
 
</dl>
 
|#default=<dl>
 
|#default=<dl>
<dt>{{{ wylie | }}}</dt>
+
<dt>{{{ wylie | }}}{{#if: {{{ bhs-headword | }}} | {{{ bhs-headword | }}} <br> <small>Entry {{{ bhs-entry-num | }}}, Page {{{ bhs-page-num | }}}, Col. {{{ bhs-column-num | }}}</small> | }}</dt>
 
<dd>
 
<dd>
{{{ english-def | }}}{{{ hopkins-2015-synonyms | }}}{{{ tibetan-def | }}}{{{ english | }}}
+
{{{ english-def | }}}{{{ hopkins-2015-synonyms | }}}{{{ tibetan-def | }}}{{{ english | }}}{{{ verbinator | }}}{{{ hopkins-examples-english | }}}{{{ hopkins-examples-tibetan | }}}{{{ 84000-synonym | }}}{{{ negi-def | }}}{{{ bhs-entry | }}}{{{ english-comment | }}}
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
}}
 
}}
[[Category:External Dictionary - {{{ dictionary | }}}]][[Category:External Dictionary Entries]]</includeonly><noinclude>{{TemplateTag}}</noinclude>
+
[[Category:External Dictionary - {{{ dictionary | }}}]][[Category:External Dictionary Entries]]{{#arraymap:{{#replaceset:{{{ wylie | }}}|/\<\/?p\>/=|/[ ]*\(mvyut_[0-9]+\)/=}}
 +
|;
 +
|@@@
 +
|{{#ifexist:@@@||[[Category:Entries missing from the Dharma Dictionary]]}}
 +
|
 +
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 12:33, 24 May 2022