Help:Using Templates in the DNZ: Difference between revisions

From gDams Ngag mDzod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
**Enables you to retrieve the associated Volume Wylie:metadata from any ''Text Level'' page or their subpages
**Enables you to retrieve the associated Volume Wylie:metadata from any ''Text Level'' page or their subpages
**Example:  
**Example:  
*'''[[Template:Get Person's Works]]'''
**Is a query that gets all works associated with the person (searches all author possibilities)
**<nowiki>{{Get Person's Works| Name here}}</nowiki>


===Other Templates===
===Other Templates===

Revision as of 19:36, 14 January 2013

Basic DNZ page structure

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

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:
  • Template:Get Person's Works
    • Is a query that gets all works associated with the person (searches all author possibilities)
    • {{Get Person's Works| Name here}}

Other Templates



Other Useful Things

Old Templates?



Semantic Calls

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

base useful queries

These are contained in the Function Templates to make it easier to use

  • 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.