Template:Get Text for Vol: Difference between revisions

From gDams Ngag mDzod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
{{#if:{{#show:Wylie:{{{1}}}|?translation}}
{{#if:{{#show:Wylie:{{{1}}}|?translation}}
|{{!}}-
|{{!}}-
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}sub}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?authortib}}
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?authortib}}
{{!}} class="wylPageNum" {{!}}{{#show:Wylie:{{{1}}}|?beginfolioline#}}-{{#show:Wylie:{{{1}}}|?endfolioline#}}
{{!}} class="wylPageNum" {{!}}{{#show:Wylie:{{{1}}}|?beginfolioline#}}-{{#show:Wylie:{{{1}}}|?endfolioline#}}
{{!}}-
{{!}}-
{{!}} class="transTitle {{#if:{{{4}}}{{!}}sub}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="wylPageNum" {{!}}  
{{!}} class="wylPageNum" {{!}}  
|{{!}}-
|{{!}}-
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}sub}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
Line 22: Line 22:
|{{#if:{{#show:Wylie:{{{1}}}|?translation}}
|{{#if:{{#show:Wylie:{{{1}}}|?translation}}
|{{!}}-
|{{!}}-
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}sub}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylTitle {{{4}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?author}}
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?author}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}}-
{{!}}-
{{!}} class="transTitle {{#if:{{{4}}}{{!}}sub}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="wylPageNum" {{!}}  
{{!}} class="wylPageNum" {{!}}  
|{{!}}-
|{{!}}-
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}sub}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylTitle {{{4}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
}}
}}
}}
}}

Latest revision as of 18:12, 9 May 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 {{{4}}}" |[[]] | class="wylAuthor" |{{{2}}} | class="wylPageNum" |{{{3}}}