ExternalData New Method

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 2: Line 2:
=== Simple value from DRL ===
=== Simple value from DRL ===


{| class="smwtable-clean" style="background: #efefef"
{| class="smwtable-clean th-nowrap th-top-right" style="background: #efefef"
|-
|-
! Value on DRL
! Value on DRL
Line 18: Line 18:
=== Complex value from DRL ===
=== Complex value from DRL ===


{| class="smwtable-clean" style="background: #efefef"
{| class="smwtable-clean th-nowrap th-top-right" style="background: #efefef"
|-
|-
! Value on DRL
! Value on DRL
Line 34: Line 34:
=== Complex value from DRL that is URL encoded ===
=== Complex value from DRL that is URL encoded ===


{| class="smwtable-clean" style="background: #efefef"
{| class="smwtable-clean th-nowrap th-top-right" style="background: #efefef"
|-
|-
! Value on DRL
! Value on DRL
Line 53: Line 53:
=== Simple value from Commons ===
=== Simple value from Commons ===


{| class="smwtable-clean" style="background: #efefef"
{| class="smwtable-clean th-nowrap th-top-right" style="background: #efefef"
|-
|-
! Value on Commons
! Value on Commons

Revision as of 13:24, 5 December 2022

Simple value from DRL

Value on DRL
A Direct Path to the Buddha Within
Function
{{#external_value:BuNayTitle|source=https://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[A Direct Path to the Buddha Within]]}}&po=BuNayTitle&p[format]=csv|format=CSV with header}}
Result A Direct Path to the Buddha Within

Complex value from DRL

Value on DRL
#[['gos lo tsA ba gzhon nu dpal]]. [[Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long]]. In ''[['Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā]]''. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.
Function
{{#external_value:Citationofsourcetexts|source=https://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[A Direct Path to the Buddha Within]]}}&po=Citationofsourcetexts&p[format]=csv|format=CSV with header}}
Result
  1. 'gos lo tsA ba gzhon nu dpal. Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long. In 'Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.

Complex value from DRL that is URL encoded

Value on DRL
#[['gos lo tsA ba gzhon nu dpal]]. [[Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long]]. In ''[['Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā]]''. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.
Encoded into
%23%5B%5B%27gos+lo+tsA+ba+gzhon+nu+dpal%5D%5D.+%5B%5BTheg+pa+chen+po+rgyud+bla+ma%27i+bstan+bcos+kyi+%27grel+bshad+de+kho+na+nyid+rab+tu+gsal+ba%27i+me+long%5D%5D.+In+%27%27%5B%5B%27Gos+Lo+ts%C4%81+ba+gZhon+nu+dpal%27s+Commentary+on+the+Ratnagotravibh%C4%81gavy%C4%81khy%C4%81%5D%5D%27%27.+Nepal+Research+Centre+Publications%2C+24.+Edited+by+Klaus-Dieter+Mathes.+Stuttgart%3A+Franz+Steiner+Verlag%2C+2003.
Function
{{#urldecode:{{#external_value:Encodedcitationofsourcetexts|source=https://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[A Direct Path to the Buddha Within]]}}&po=Encodedcitationofsourcetexts&p[format]=csv|format=CSV with header}}}}
Result
  1. 'gos lo tsA ba gzhon nu dpal. Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long. In 'Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.

Simple value from Commons

Value on Commons
Great Vehicle
Function
{{#external_value:Glossary-English|source=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Mahāyāna]]}}&po=Glossary-English&p[format]=csv&p[sep]=;&p[valuesep]=;|format=CSV with header}}
Result Great Vehicle

Complex value from Commons