Difference between revisions of "Template:DictEntry"

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
(// Edit via Wikitext Extension for VSCode)
((by SublimeText.Mediawiker))
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|wylie={{{ wylie | }}}<!--
 
|wylie={{{ wylie | }}}<!--
 
|tibetan-unicode-headword={{subst:<wytotib>{{{ wylie | }}}</wytotib>}}-->
 
|tibetan-unicode-headword={{subst:<wytotib>{{{ wylie | }}}</wytotib>}}-->
|wylie-discrete={{#replaceset:{{{ wylie | }}}|/\<\/?p\>/=|/[ ]*(mvyut_[0-9]+)/=}}|+sep=;
+
|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 | }}}<!--
Line 45: Line 48:
 
</dl>
 
</dl>
 
}}
 
}}
[[Category:External Dictionary - {{{ dictionary | }}}]][[Category:External Dictionary Entries]]{{#arraymap:{{{ wylie | }}}
+
[[Category:External Dictionary - {{{ dictionary | }}}]][[Category:External Dictionary Entries]]{{#arraymap:{{#replaceset:{{{ wylie | }}}|/\<\/?p\>/=|/[ ]*\(mvyut_[0-9]+\)/=}}
 
|;
 
|;
 
|@@@
 
|@@@

Latest revision as of 12:33, 24 May 2022