Template:Text: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 148: Line 148:
{{{ BuNayKarlDescription | }}}
{{{ BuNayKarlDescription | }}}
</div> | }}
</div> | }}
{{!}}-{{!}} Metadata =
{| class="smwtable-clean th-top-right th-nowrap border no-top-border-first-row" {{#if: {{GetTextValue|AltTitlesRaw}} |<br>
{{!}}-
! Other Titles
{{!}}<noglossary>{{#arraymap:{{GetTextValue|CommonScholarVariant}};{{GetTextValue|SktScholarVariant}};{{GetTextValue|TibScholarVariant}};{{GetTextValue|ChnScholarVariant}};{{GetTextValue|EngScholarTrans}};{{GetTextValue|AltTitlesRaw}}|;|@@@|~ @@@|<br>}}</noglossary> |}}{{#if: {{GetTextValue|LanguageAvailable}} |<br>
{{!}}-
! style="min-width: 190px;" {{!}} Text exists in
{{!}}{{#arraymap: {{GetTextValue|LanguageAvailable}}
|,
|@@@
|~ {{#switch:@@@
|Sanskrit={{#if: {{GetTextValue|GretilLink}} | [{{GetTextValue|GretilLink}} Sanskrit] | Sanskrit}}
|Tibetan={{#if: {{GetTextValue|AcipLink}} | [{{GetTextValue|AcipLink}} Tibetan] | {{#if: {{GetTextValue|tbrclink}} | [{{GetTextValue|tbrclink}} Tibetan] | Tibetan}}}}
|Chinese={{#if: {{GetTextValue|CbetaLink}} | [{{GetTextValue|CbetaLink}} Chinese] | Chinese}}
|Japanese={{#if: {{GetTextValue|SatLink}} | [{{GetTextValue|SatLink}} Japanese] | Japanese}}
|@@@
}}
|<br>
}} |}}{{#if: {{GetTextValue|NotesOnLanguages}} |<br>
{{!}}-
! Notes on languages
{{!}} {{GetTextValue|NotesOnLanguages}} |}}{{#if: {{GetTextValue|CanonicalGenreRevised}} |<br>
{{!}}-
! Canonical Genre
{{!}}{{#arraymap: {{GetTextValue|CanonicalGenreRevised}}
|,
|@@@
|~ @@@[[Category:@@@]]
|<br>
}} |}}{{#if: {{GetTextValue|tibgenre}} |<br>
{{!}}-
! Literary Genre
{{!}}{{#arraymap:{{GetTextValue|tibgenre}}
|,
|@@@
|~ @@@[[Category:@@@]]
|<br>
}} |}}{{#if: {{GetTextValue|roottextwylie}} |<br>
{{!}}-
! Commentary of
{{!}} ~ [[{{GetTextValue|roottextwylie}}]] |}}{{#if: {{GetTextValue|TibetanCommentaries}} |<br>
{{!}}-
! Commentaries on this text
{{!}} <span style="font-size: .8em; line-height: 1.2;">
{{GetTextValue|TibetanCommentaries}}</span> |}}
|}
}}
}}
</div>
</div>




Line 236: Line 298:
}}-->
}}-->
</div> |}}
</div> |}}
<h3 class="mt-3">Text Metadata</h3>
{| class="table table-responsive no-top-border-first-row" {{#if: {{GetTextValue|AltTitlesRaw}} |<br>
{{!}}-
! Other Titles
{{!}}<noglossary>{{#arraymap:{{GetTextValue|CommonScholarVariant}};{{GetTextValue|SktScholarVariant}};{{GetTextValue|TibScholarVariant}};{{GetTextValue|ChnScholarVariant}};{{GetTextValue|EngScholarTrans}};{{GetTextValue|AltTitlesRaw}}|;|@@@|~ @@@|<br>}}</noglossary> |}}{{#if: {{GetTextValue|LanguageAvailable}} |<br>
{{!}}-
! style="min-width: 190px;" {{!}} Text exists in
{{!}}{{#arraymap: {{GetTextValue|LanguageAvailable}}
|,
|@@@
|~ {{#switch:@@@
|Sanskrit={{#if: {{GetTextValue|GretilLink}} | [{{GetTextValue|GretilLink}} Sanskrit] | Sanskrit}}
|Tibetan={{#if: {{GetTextValue|AcipLink}} | [{{GetTextValue|AcipLink}} Tibetan] | {{#if: {{GetTextValue|tbrclink}} | [{{GetTextValue|tbrclink}} Tibetan] | Tibetan}}}}
|Chinese={{#if: {{GetTextValue|CbetaLink}} | [{{GetTextValue|CbetaLink}} Chinese] | Chinese}}
|Japanese={{#if: {{GetTextValue|SatLink}} | [{{GetTextValue|SatLink}} Japanese] | Japanese}}
|@@@
}}
|<br>
}} |}}{{#if: {{GetTextValue|NotesOnLanguages}} |<br>
{{!}}-
! Notes on languages
{{!}} {{GetTextValue|NotesOnLanguages}} |}}{{#if: {{GetTextValue|CanonicalGenreRevised}} |<br>
{{!}}-
! Canonical Genre
{{!}}{{#arraymap: {{GetTextValue|CanonicalGenreRevised}}
|,
|@@@
|~ @@@[[Category:@@@]]
|<br>
}} |}}{{#if: {{GetTextValue|tibgenre}} |<br>
{{!}}-
! Literary Genre
{{!}}{{#arraymap:{{GetTextValue|tibgenre}}
|,
|@@@
|~ @@@[[Category:@@@]]
|<br>
}} |}}{{#if: {{GetTextValue|roottextwylie}} |<br>
{{!}}-
! Commentary of
{{!}} ~ [[{{GetTextValue|roottextwylie}}]] |}}{{#if: {{GetTextValue|TibetanCommentaries}} |<br>
{{!}}-
! Commentaries on this text
{{!}} <span style="font-size: .8em; line-height: 1.2;">
{{GetTextValue|TibetanCommentaries}}</span> |}}
|}


</div>
</div>

Revision as of 14:47, 17 January 2025