Help:Using Templates in the DNZ
Jump to navigation
Jump to search
[[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=-}}