Template:DRAFTTerm: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 245: Line 245:
|
|
}}{{#if: {{{ Dict-Collocations-Notes | }}} | {{#info: {{{ Dict-Collocations-Notes | }}} | note }} | }}
}}{{#if: {{{ Dict-Collocations-Notes | }}} | {{#info: {{{ Dict-Collocations-Notes | }}} | note }} | }}
{{#ask:[[Category:rydic2003]][[Dict-Wylie::~*{{#show: {{FULLPAGENAME}} |?Dict-Wylie }}*]]OR[[~*{{PAGENAME}}*]][[:+]]
{{#arraydefine: QUERY_RESULT
|?Dict-Tibetan
| {{#ask: [[Category:rydic2003]][[Dict-Wylie::~*{{#show: {{FULLPAGENAME}} |?Dict-Wylie }}*]]OR[[~*{{PAGENAME}}*]][[:+]]
|limit=10000
| format = array
|format=template
| link = none
|template=CollocationRow
| limit = 10000
|link=none
}}
}}{{#arraydefine: MAPPED_QUERY_RESULT
| {{#arraymap: {{#arrayprint: QUERY_RESULT}}
  | ,
  | $O
  | {{#explode: $O
    | #
    | 0
    }}
  }}
| ,
| unique
}}{{#arraymap: {{#arrayprint: MAPPED_QUERY_RESULT}}
| ,
| $O
| {{#ifexist: $O |<tr class="filterable">
<td>[[$O]]</td>
<td><span class="TibInline">{{#if: {{#show: $0 |?Dict-Tibetan }}
|{{#show: $0 |?Dict-Tibetan }}
|<wytotib>$0 </wytotib>
}}</span></td>
</tr>|}}
}}
}}
|}
|}

Revision as of 12:27, 1 June 2021