Help:Using Templates in the DNZ: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
*[[Template:Tibetan_Text_Metadata_New]] | *[[Template:Tibetan_Text_Metadata_New]] | ||
<pre> | |||
===Semantic Calls from Translation Pages=== | ===Semantic Calls from Translation Pages=== | ||
==useful queries== | ==useful queries== | ||
Line 55: | Line 55: | ||
Get Volume Title with no Template | Get Volume Title with no Template | ||
*{{#show:Wylie:{{#show:{{#ask: [[translation::{{BASEPAGENAME}}]] | ?title = | mainlabel=-}}|?volwylie#}}|?voltitleeng = | mainlabel=-}} | *{{#show:Wylie:{{#show:{{#ask: [[translation::{{BASEPAGENAME}}]] | ?title = | mainlabel=-}}|?volwylie#}}|?voltitleeng = | mainlabel=-}} | ||
</pre> | |||
[[Category: Help]] | [[Category: Help]] |
Revision as of 12:30, 10 January 2013
[[Category:{{#show:{{Get Text Info|translation#}}|?translator#}}]]
Templates in Use on the DNZ
Small Templates
Old Templates
- Template:Translation_Metadata
- Template:Tibetan_Text_Metadata
- Template:VolumeWylie
- Template:Tibetan_Text_Metadata_New
===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=-}}