Template:Khyentse Metadata: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly>__NOTOC__{{ReplaceFirstHeading|{{#show: {{PAGENAME}} |?fulltitletib }} }}
<includeonly>__NOTOC__{{ReplaceFirstHeading|{{{ fulltitletib | }}} }}


<div class="font-weight-bold top-blue-links d-flex justify-content-between mb-4">{{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{#show: {{PAGENAME}} |?collectiontitle# }}]][[volumenumber::{{#show: {{PAGENAME}} |?volumenumber }}]]{{#if: {{#show: {{PAGENAME}} |?textsubnumber }}
<div class="font-weight-bold top-blue-links d-flex justify-content-between mb-4">{{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]]{{#if: {{{ textsubnumber | }}}
|[[textnuminvol::{{#show: {{PAGENAME}} |?textnuminvol }}]][[textsubnumber::{{#expr:{{#show: {{PAGENAME}} |?textsubnumber }}-1}}]]
|[[textnuminvol::{{{ textnuminvol | }}}]][[textsubnumber::{{#expr:{{{ textsubnumber | }}}-1}}]]
|[[textnuminvol::{{#expr:{{#show: {{PAGENAME}} |?textnuminvol }}-1}}]]
|[[textnuminvol::{{#expr:{{{ textnuminvol | }}}-1}}]]
}}
}}
|limit=1
|limit=1
Line 10: Line 10:
|format=template
|format=template
|template=LinkToPreviousText
|template=LinkToPreviousText
}}{{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{#show: {{PAGENAME}} |?collectiontitle# }}]][[volumenumber::{{#show: {{PAGENAME}} |?volumenumber }}]]
}}{{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]]
|limit=1
|limit=1
|searchlabel=
|searchlabel=
Line 16: Line 16:
|format=template
|format=template
|template=LinkToVolume
|template=LinkToVolume
}}{{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{#show: {{PAGENAME}} |?collectiontitle# }}]][[volumenumber::{{#show: {{PAGENAME}} |?volumenumber }}]][[textnuminvol::{{#expr:{{#show: {{PAGENAME}} |?textnuminvol }}+1}}]]
}}{{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{{ collectiontitle | }}}]][[volumenumber::{{{ volumenumber | }}}]][[textnuminvol::{{#expr:{{{ textnuminvol | }}}+1}}]]
|limit=1
|limit=1
|searchlabel=
|searchlabel=
Line 28: Line 28:
|-
|-
! Title
! Title
| ''{{#show: {{PAGENAME}} |?fulltitle }}''
| ''{{{ fulltitle | }}}''
| rowspan="3" class="border-left" style="width: 485px;" | [[{{#show: {{PAGENAME}} |?pdflink }}|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{PAGENAME:{{#show: {{PAGENAME}} |?pdflink }}}}}}]]
| rowspan="3" class="border-left" style="width: 485px;" | [[{{{ pdflink | }}}|page=1|x110px|class=tsdwiki-depth-0|link={{filepath:{{PAGENAME:{{{ pdflink | }}}}}}}]]
|-
|-
! Collection
! Collection
| {{#show: {{PAGENAME}} |?collectiontitle }}, Volume '''{{#expr:{{#show: {{PAGENAME}} |?volumenumber }}}}''', Text '''{{#show: {{PAGENAME}} |?textnuminvol }}{{#if: {{#show: {{PAGENAME}} |?textsubnumber }}|.{{#expr:{{#show: {{PAGENAME}} |?textsubnumber }}}}|}}'''
| {{{ collectiontitle | }}}, Volume '''{{#expr:{{{ volumenumber | }}}}}''', Text '''{{{ textnuminvol | }}}{{#if: {{{ textsubnumber | }}}|.{{#expr:{{{ textsubnumber | }}}}}|}}'''
|-
|-
! Pages
! Pages
| '''{{#show: {{PAGENAME}} |?pagenumbers }}'''
| '''{{{ pagenumbers | }}}'''
|-
|-
! Author
! Author
| {{TibIL|[[{{#show: {{PAGENAME}} |?author }}|{{#show: {{PAGENAME}} |?authortib }}]]}}
| {{TibIL|[[{{{ author | }}}|{{{ authortib | }}}]]}}
|
|
|-
|-
! Genre
! Genre
| {{#show: {{PAGENAME}} |?tibgenre }}
| {{{ tibgenre | }}}
|
|
|}
|}

Revision as of 12:21, 20 July 2021