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 12: Line 12:
{{!}} class="wylPageNum" {{!}}{{#show:Wylie:{{{1}}}|?beginfolioline#}}-{{#show:Wylie:{{{1}}}|?endfolioline#}}
{{!}} class="wylPageNum" {{!}}{{#show:Wylie:{{{1}}}|?beginfolioline#}}-{{#show:Wylie:{{{1}}}|?endfolioline#}}
{{!}}-
{{!}}-
{{!}} class="transTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transTitle {{#if:{{{4}}}{{!}}{{{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 {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}{{{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 {{{4}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}{{{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 {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transTitle {{#if:{{{4}}}{{!}}{{{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 {{{4}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylTitle {{#if:{{{4}}}{{!}}{{{4}}}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
}}
}}
}}
}}

Revision as of 19:09, 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 " |[[]] | class="wylAuthor" |{{{2}}} | class="wylPageNum" |{{{3}}}