Template:Header: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Tag: Replaced
 
Line 1: Line 1:
<includeonly>__NOTOC__{{ReplaceFirstHeading|{{#show: {{PAGENAME}} |?fulltitletib }} }}
<includeonly></includeonly><noinclude>[[Category:Custom Templates]]</noinclude>
 
<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 }}
|[[textnuminvol::{{#show: {{PAGENAME}} |?textnuminvol }}]][[textsubnumber::{{#expr:{{#show: {{PAGENAME}} |?textsubnumber }}-1}}]]
|[[textnuminvol::{{#expr:{{#show: {{PAGENAME}} |?textnuminvol }}-1}}]]
}}
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToPreviousText
}}{{#ask: [[Category:Tibetan Volumes]][[collectiontitle::{{#show: {{PAGENAME}} |?collectiontitle# }}]][[volumenumber::{{#show: {{PAGENAME}} |?volumenumber }}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToVolume
}}{{#ask: [[Category:Tibetan Texts]][[collectiontitle::{{#show: {{PAGENAME}} |?collectiontitle# }}]][[volumenumber::{{#show: {{PAGENAME}} |?volumenumber }}]][[textnuminvol::{{#expr:{{#show: {{PAGENAME}} |?textnuminvol }}+1}}]]
|limit=1
|searchlabel=
|link=none
|format=template
|template=LinkToNextText
}}
</div>
 
{| class="smwtable-clean offwhite-bg th-top-right tsdwiki-depth-1 w-100 mb-4"
|-
! Title
| ''{{#show: {{PAGENAME}} |?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 }}}}}}]]
|-
! Collection
| {{#show: {{PAGENAME}} |?collectiontitle }}, Volume '''{{#expr:{{#show: {{PAGENAME}} |?volumenumber }}}}''', Text '''{{#show: {{PAGENAME}} |?textnuminvol }}{{#if: {{#show: {{PAGENAME}} |?textsubnumber }}|.{{#expr:{{#show: {{PAGENAME}} |?textsubnumber }}}}|}}'''
|-
! Pages
| '''{{#show: {{PAGENAME}} |?pagenumbers }}'''
|-
! Author
| {{TibIL|[[{{#show: {{PAGENAME}} |?author }}|{{#show: {{PAGENAME}} |?authortib }}]]}}
|
|-
! Genre
| {{#show: {{PAGENAME}} |?tibgenre }}
|
|}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude>

Latest revision as of 11:18, 20 July 2021