Template:Get Text for Vol: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
[[Category:Function Templates]] | [[Category:Function Templates]] | ||
</noinclude> | </noinclude> | ||
{{# | {{#ifeq:{{NAMESPACE}}|Tibetan| | ||
{{#if:{{#show:Wylie:{{{1}}}|?translation}} | {{#if:{{#show:Wylie:{{{1}}}|?translation}} | ||
|{{!}}- | |{{!}}- | ||
{{!}} class="wylTitle" {{!}} | {{!}} class="wylTitle {{{4}}}" {{!}}{{#show:Wylie:{{{1}}}|?titletib}} | ||
{{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?authortib}} | {{!}} class="wylAuthor" {{!}}{{#show:Wylie:{{{1}}}|?authortib}} | ||
{{!}} class="wylPageNum" {{!}}{{{ | {{!}} class="wylPageNum" {{!}}{{#show:Wylie:{{{1}}}|?beginfolioline#}}-{{#show:Wylie:{{{1}}}|?endfolioline#}} | ||
{{!}}- | {{!}}- | ||
{{!}} class="transTitle" {{!}}{{#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" {{!}} | {{!}} 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" {{!}}[[{{#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" {{!}}{{#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" {{!}}[[{{#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}}}