Difference between revisions of "Template:DirectQueryWylieEnglish"

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{#ask: [[Category:External Dictionary - {{{ 1 | }}}]][[wylie::~*{{BASEPAGENAME}}*]]}} |
+
{{#if: {{#ask: [[Category:External Dictionary - {{{ 1 | }}}]][[wylie::~*{{#titleparts:{{BASEPAGENAME}}}}*]]}} | <tr>
{{!}}-
+
<th>{{DicDisplayName|{{{ 1 | }}}}} {{DicInfo|{{{ 1 | }}}}}</th>
! {{DicDisplayName|{{{ 1 | }}}}} {{DicInfo|{{{ 1 | }}}}}
+
<td class="highlight">{{#arraydefine:englishValues|{{#ask: [[Category:External Dictionary - {{{ 1 | }}}]][[wylie-discrete::{{#titleparts:{{BASEPAGENAME}}}}]][[wylie::~*{{#titleparts:{{BASEPAGENAME}}}}*]]
{{!}} class="highlight" {{!}} {{#arraydefine:english.values|{{#ask: [[Category:External Dictionary - {{{ 1 | }}}]][[wylie-discrete::{{BASEPAGENAME}}]][[wylie::~*{{BASEPAGENAME}}*]]
+
|?english
|?english
+
|?english-def
|?english-def
+
|mainlabel=-
|mainlabel=-
+
|headers=hide
|headers=hide
+
|format=plainlist
|format=plainlist
+
|default=''No direct match.''
|default=''No direct match.''
+
|sep=§
|sep=¯\_(ツ)_/¯
+
}}|§}}{{#arrayunique:englishValues}}{{#arrayprint:englishValues||@@@@|<p>@@@@</p>}}
}}|¯\_(ツ)_/¯}}{{#arrayunique:english.values}}{{#arrayprint:english.values||@@@@|<p>@@@@</p>}}
+
</td>
{{!}} class="nowrap" {{!}} [https://rywiki.tsadra.org/index.php/Special:Ask/-5B-5BCategory:External-20Dictionary-20-2D-20{{urlencode:{{{ 1 | }}}|PATH}}-5D-5D-20-5B-5Bwylie::~*{{#replace:{{BASEPAGENAMEE}}|_|-20}}*-5D-5D/-3Fwylie-23-2Dhl%3DWylie/-3Fenglish-2Ddef-23-2Dhl%3DDefinition/-3Fenglish-23-2Dhl%3DEnglish/mainlabel%3D-2D/offset%3D0/format%3Dbroadtable/link%3Dnone/searchlabel%3D11-20match(es)/class%3Dsmwtable-2Dclean-20th-2Dleft-20m-2D0-20highlight {{#ask: [[Category:External Dictionary - {{{ 1 | }}}]][[wylie::~*{{BASEPAGENAME}}*]]|format=count}} fuzzy match(es)] | }}
+
<td class="nowrap">[https://rywiki.tsadra.org/index.php/Special:Ask/-5B-5BCategory:External-20Dictionary-20-2D-20{{urlencode:{{{ 1 | }}}|PATH}}-5D-5D-20-5B-5Bwylie::~*{{#replace:{{BASEPAGENAMEE}}|_|-20}}*-5D-5D/-3Fwylie-23-2Dhl%3DWylie/-3Fenglish-2Ddef-23-2Dhl%3DDefinition/-3Fenglish-23-2Dhl%3DEnglish/mainlabel%3D-2D/offset%3D0/format%3Dbroadtable/link%3Dnone/searchlabel%3D11-20match(es)/class%3Dsmwtable-2Dclean-20th-2Dleft-20m-2D0-20highlight {{#ask: [[Category:External Dictionary - {{{ 1 | }}}]][[wylie::~*{{#titleparts:{{BASEPAGENAME}}}}*]]|format=count}} fuzzy match(es)]</td>
 +
</tr> | }}

Revision as of 14:53, 21 September 2021