Template:Get Text for Vol: Difference between revisions

From gDams Ngag mDzod
Jump to navigation Jump to search
(Created page with "<noinclude> Template: gets semantic data from the wylie text page associated with this volume text<br/> It needs the wylie title. It will return the wylie/Tib title, author, p...")
 
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 5: Line 5:
[[Category:Function Templates]]
[[Category:Function Templates]]
</noinclude>
</noinclude>
|-
{{#ifeq:{{NAMESPACE}}|Tibetan|
| class="wylTitle" |{{{1}}}
{{#if:{{#show:Wylie:{{{1}}}|?translation}}
| class="wylAuthor" |{{{2}}}
|{{!}}-
| class="wylPageNum" |{{{3}}}
{{!}} class="wylTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?authortib}}
{{!}} class="wylPageNum" {{!}}{{#show:Wylie:{{{1}}}|?beginfolioline#}}-{{#show:Wylie:{{{1}}}|?endfolioline#}}
{{!}}-
{{!}} class="transTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="wylPageNum" {{!}}
|{{!}}-
{{!}} class="wylTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}}
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
}}
|{{#if:{{#show:Wylie:{{{1}}}|?translation}}
|{{!}}-
{{!}} class="wylTitle {{{4}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?author}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
{{!}}-
{{!}} class="transTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?translation}}
{{!}} class="transAuthor" {{!}}{{#show:{{#show:Wylie:{{{1}}}|?translation#}}|?translator#}}
{{!}} class="wylPageNum" {{!}}
|{{!}}-
{{!}} class="wylTitle {{{4}}}" {{!}}[[{{#show:Wylie:{{{1}}}|?title}}]]
{{!}} class="wylAuthor" {{!}}{{{2}}}
{{!}} class="wylPageNum" {{!}}{{{3}}}
}}
}}

Latest revision as of 19: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}}}