Difference between revisions of "Template:ExternalDictionaryQuery"

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|?{{{ definition | }}}
 
|?{{{ definition | }}}
 
|format=template
 
|format=template
|template=ExtDictQuery
+
|template={{#ifeq:{{{ TibInline | }}}|yes|ExtDictQueryTib|ExtDictQuery}}
 
|link=none
 
|link=none
 
|limit=1
 
|limit=1
Line 14: Line 14:
 
|?{{{ definition | }}}
 
|?{{{ definition | }}}
 
|format=template
 
|format=template
|template=ExtDictQuery
+
|template={{#ifeq:{{{ TibInline | }}}|yes|ExtDictQueryTib|ExtDictQuery}}
 
|link=none
 
|link=none
|limit=6
+
|limit=3
 
|searchlabel=
 
|searchlabel=
 
|userparam={{{ other-props | }}}
 
|userparam={{{ other-props | }}}
 
}}
 
}}
</table><center>{{#ask: [[Category:External Dictionary - {{{ dictionary | }}}]][[wylie::{{{ entry | }}}]]OR[[Category:External Dictionary - {{{ dictionary | }}}]][[wylie::~{{{ entry | }}}*]][[tibetan-def::+]]OR[[Category:External Dictionary - {{{ dictionary | }}}]][[wylie::~*{{{ entry | }}}*]][[tibetan-def::+]]
+
</table><center>{{#ask: [[Category:External Dictionary - {{{ dictionary | }}}]][[{{{ headword | }}}::{{{ entry | }}}]]OR[[Category:External Dictionary - {{{ dictionary | }}}]][[{{{ headword | }}}::~"{{{ entry | }}}"]]
|mainlabel=-
 
 
|?{{{ headword | }}}#-hl
 
|?{{{ headword | }}}#-hl
|?{{#arraymap:{{{ fetch-props | }}}|;|@@@|@@@|{{!}}?}}
+
|?{{{ definition | }}}#-hl
|class=smwtable-clean th-top-right th-nowrap m-0 highlight
+
|format=template
 +
|template={{#ifeq:{{{ TibInline | }}}|yes|ExtDictQueryTib|ExtDictQuery}}
 +
|intro=<table class="smwtable-clean th-top-right th-nowrap m-0 w-100 mark-terms">
 +
<caption><big>{{{ dictionary | }}}</big> {{DicInfo|{{{ dictionary | }}}}}<caption>
 +
|outro=</table>
 +
|link=none
 
|limit=0
 
|limit=0
|searchlabel=<span class="multipleTemplateAdder thinner-button">All {{#ask: [[Category:External Dictionary - {{{ dictionary | }}}]][[wylie::{{{ entry | }}}]][[tibetan-def::+]]OR[[Category:External Dictionary - {{{ dictionary | }}}]][[wylie::~{{{ entry | }}}*]][[tibetan-def::+]]OR[[Category:External Dictionary - {{{ dictionary | }}}]][[wylie::~*{{{ entry | }}}*]][[tibetan-def::+]]|format=count}} match(es) <i class="fa-duotone fa-ellipsis align-bottom"></i></span>
+
|searchlabel=<span class="multipleTemplateAdder thinner-button">All {{#ask: [[Category:External Dictionary - {{{ dictionary | }}}]][[{{{ headword | }}}::{{{ entry | }}}]]OR[[Category:External Dictionary - {{{ dictionary | }}}]][[{{{ headword | }}}::~"{{{ entry | }}}"]]|format=count}} match(es) <i class="fa-duotone fa-ellipsis align-bottom"></i></span>
 
}}</center> | ''No matches in the {{{ dictionary | }}}.''}}
 
}}</center> | ''No matches in the {{{ dictionary | }}}.''}}
  
  
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 13:21, 7 September 2022