Help:Using Templates in the DNZ

From gDams Ngag mDzod
Revision as of 12:30, 10 January 2013 by Marcus (talk | contribs)
Jump to navigation Jump to search
[[Category:{{#show:{{Get Text Info|translation#}}|?translator#}}]]

Templates in Use on the DNZ


Small Templates


Old Templates

===Semantic Calls from Translation Pages===
==useful queries==

*Get ''volwylie'' from text wylie page: {{#ask: [[translation::{{BASEPAGENAME}}]]  | ?volwylie# = | mainlabel=-}}
*Get ''voltitleeng'' from vol wylie page:{{#show:Wylie:{{#ask: [[translation::{{BASEPAGENAME}}]]  | ?volwylie# = | mainlabel=-}}|?voltitleeng}}

==Back Link==

*{{#ask: [[-translation:{{BASEPAGENAME}}]] | ?title = | mainlabel=- }}
*{{#ask: [[-translation::Translation:Pure_Honey]] | ?title = | mainlabel=- }}
*{{#ask: [[-title:: <q>[[translation::{{BASEPAGENAME}}]]</q> ]] }}
*{{#ask: [[translation::{{BASEPAGENAME}}]] }}
*{{#ask: [[translation::{{BASEPAGENAME}}]]  | ?title = | mainlabel=-}}


===Show Volume Wylie Page Test===
Using Template
*{{#show:{{WylieFromTranslation}}|?volwylie}}
*{{#show:{{WylieFromTranslation}}|?volwylie = | mainlabel=-}}
*{{#ask:[[{{WylieFromTranslation}}]]|?volwylie = | mainlabel=-}}
Not Using Template
*{{#show:{{#ask: [[translation::{{BASEPAGENAME}}]]  | ?title = | mainlabel=-}}|?volwylie = | mainlabel=-}}
*{{#show:{{#ask: [[translation::{{BASEPAGENAME}}]]  | ?title = | mainlabel=-}}|?volwylie#}}

Get Volume Title
*{{#show:Wylie:Zhi byed dang bcod pod gnyis pa|?voltitleeng = | mainlabel=-}}
*{{#show:Wylie:Zhi byed dang bcod pod gnyis pa|?voltitleeng}}
*{{#ask:[[Wylie:Zhi byed dang bcod pod gnyis pa]]|?voltitleeng = | mainlabel=-}}
Get Volume Title with Template
*{{#show:Wylie:{{VolumeFromTranslation}}|?voltitleeng = | mainlabel=-}}
Get Volume Title with no Template
*{{#show:Wylie:{{#show:{{#ask: [[translation::{{BASEPAGENAME}}]]  | ?title = | mainlabel=-}}|?volwylie#}}|?voltitleeng = | mainlabel=-}}