Template:Get Text for Vol: Difference between revisions

From gDams Ngag mDzod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
[[Category:Function Templates]]
[[Category:Function Templates]]
</noinclude>
</noinclude>
{{#if:{{NAMESPACE}}=Tibetan|TIBETAN PAGE<br/>}}
{{#if:{{NAMESPACE}}=Tibetan|
 
{{#if:{{#show:Wylie:{{{1}}}|?translation}}
{{#if:{{#show:Wylie:{{{1}}}|?translation}}
|{{!}}-
{{!}} class="wylTitle" {{!}}[[{{#show:Wylie:{{{1}}}|?titletib}}]]
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?authortib}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}}-
{{!}} class="transTitle" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="wylPageNum" {{!}}
|{{!}}-
{{!}} class="wylTitle" {{!}}[[{{#show:Wylie:{{{1}}}|?titletib}}]]
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
}}
|{{#if:{{#show:Wylie:{{{1}}}|?translation}}
|{{!}}-
|{{!}}-
{{!}} class="wylTitle" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylTitle" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
Line 20: Line 33:
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
}}
}}
}}

Revision as of 20:13, 16 January 2013

Template: gets semantic data from the wylie text page associated with this volume text
It needs the wylie title. It will return the wylie/Tib title, author, page # and translation if possible
If there is an error, a link will appear pointing back to this page

|- | class="wylTitle" |[[]] | class="wylAuthor" |{{{2}}} | class="wylPageNum" |{{{3}}}