Difference between revisions of "Template:GlossarySearch"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><noglossary><h2 class="text-center">{{#ask: {{#switch:{{{gloss-term-type|}}}
+
<includeonly><noglossary><center><big>{{#ask: {{#switch:{{{gloss-term-type|}}}
|Any term=[[gloss-term::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{ucfirst:{{{gloss-term|}}}}}*]]
+
|Anywhere=[[gloss-term::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{ucfirst:{{{gloss-term|}}}}}*]]
 
|Exact match=[[gloss-term::{{{gloss-term|}}}]]
 
|Exact match=[[gloss-term::{{{gloss-term|}}}]]
 
|Wylie=[[gloss-wylie::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{ucfirst:{{{gloss-term|}}}}}*]]
 
|Wylie=[[gloss-wylie::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{ucfirst:{{{gloss-term|}}}}}*]]
Line 19: Line 19:
 
}}
 
}}
 
|format=count  
 
|format=count  
}} results for "'''{{{gloss-term|}}}'''"</h2>
+
}} results for "'''{{{gloss-term|}}}'''"</big></center>
 +
<div id="searchresults"  data-highlight-word="{{{gloss-term|}}}" class="glossSearchResults">
 
{{#ask: {{#switch:{{{gloss-term-type|}}}
 
{{#ask: {{#switch:{{{gloss-term-type|}}}
|Any term=[[gloss-term::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{ucfirst:{{{gloss-term|}}}}}*]]
+
|Anywhere=[[gloss-term::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-term::~*{{ucfirst:{{{gloss-term|}}}}}*]]
 
|Exact match=[[gloss-term::{{{gloss-term|}}}]]
 
|Exact match=[[gloss-term::{{{gloss-term|}}}]]
 
|Wylie=[[gloss-wylie::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{ucfirst:{{{gloss-term|}}}}}*]]
 
|Wylie=[[gloss-wylie::~*{{lc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{uc:{{{gloss-term|}}}}}*]]OR[[gloss-wylie::~*{{ucfirst:{{{gloss-term|}}}}}*]]
Line 60: Line 61:
 
|?gloss-author={{{21}}}
 
|?gloss-author={{{21}}}
 
|?gloss-pubdate={{{22}}}
 
|?gloss-pubdate={{{22}}}
 +
|sort=gloss-pubdate
 +
|order=desc
 
|link=none
 
|link=none
|limit=10000
+
|limit=50
 
|format=template  
 
|format=template  
 
|template=GlossSearchResults
 
|template=GlossSearchResults
|intro=<div id="searchresults"  data-highlight-word="{{{gloss-term|}}}" class="glossSearchResults">
+
|searchlabel=<div class="row font-larger">Next 50 results...</div>
|outro=</div>
+
}}
|searchlabel=<br><br><big>Next 50 results...</big>
+
</div>{{#widget:Highlight|term={{{gloss-term|}}}}}
}}{{#widget:Highlight|term={{{gloss-term|}}} }}</noglossary>
+
</noglossary></includeonly>
</includeonly>
 

Latest revision as of 14:28, 25 January 2021