Template:Khyentse Metadata: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#set: | <includeonly>__NOTOC__{{ReplaceFirstHeading|{{#show: {{PAGENAME}} |?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 }} | |||
|[[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 }} | |||
| | |||
|} | |||
{{#set: | |||
|archivistnotes={{{ archivistnotes | }}} | |archivistnotes={{{ archivistnotes | }}} | ||
|associatedpeople={{{ associatedpeople | }}}|+sep=; | |associatedpeople={{{ associatedpeople | }}}|+sep=; | ||
Line 177: | Line 225: | ||
|[[Category:@@@]] | |[[Category:@@@]] | ||
| | | | ||
}}{{#default_form:Text}} | }}{{#default_form:Text}}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> | ||
</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> |