Help:Using Templates in the DNZ: Difference between revisions

From gDams Ngag mDzod
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
==Templates in Use on the DNZ ==
==Templates in Use on the DNZ ==
===Header Templates===
===Header Templates===
*'''Text Level''' Templates - the wylie and Tibetan versions of the text and the translation
*'''Text Level''' Header Templates - the wylie and Tibetan versions of the text and the translation
**[[Template:Text Wylie]]- ("Wylie" namespace) - '''contains metadata '''  
**[[Template:Text Wylie]]- ("Wylie" namespace) - '''contains metadata '''  
**[[Template:Text Tibetan]] - ("Tibetan" namespace)
**[[Template:Text Tibetan]] - ("Tibetan" namespace)
**[[Template:Text Translation]] - ("Draft" namespace)
**[[Template:Text Translation]] - ("Draft" namespace)


*'''Volume Level''' Templates, the wylie and Tibetan versions of the text and the translation
*'''Volume Level''' Header Templates, the wylie and Tibetan versions of the text and the translation
**[[Template:Volume Wylie]] - '''contains metadata'''
**[[Template:Volume Wylie]] - '''contains metadata'''
**[[Template:Volume Tibetan]]
**[[Template:Volume Tibetan]]
Line 29: Line 29:


===Other Templates===
===Other Templates===
 
*[[Template:Translation Info]]




Line 36: Line 36:
*[[Template:Text Vol Info]]
*[[Template:Text Vol Info]]
*[[Template:WylieFromTranslation]]
*[[Template:WylieFromTranslation]]


==Other Useful Things==
==Other Useful Things==

Revision as of 14:55, 10 January 2013

Basic DNZ page structure

  • Volume Level Pages
    • Volume dkar chag - Wylie
    • Volume dkar chag - Tibetan
    • Volume dkar chag - Translation
      • Volume Bibliography

Templates in Use on the DNZ

Header Templates

Function Templates

  • Template:Get Text Info
    • Enables you to retrieve the Text Wylie:metadata from any Text Level page or their subpages (for the current text group)
    • Example:
  • Template:Get Vol Info
    • Enables you to retrieve the associated Volume Wylie:metadata from any Text Level page or their subpages
    • Example:

Other Templates



Old Templates?

Other Useful Things

[[Category:{{#show:{{Get Text Info|translation#}}|?translator#}}]]

Semantic Calls from Translation Pages

useful queries

*Get volwylie from text wylie page: *Get voltitleeng from vol wylie page:The page type input value "Wylie:" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.