Difference between revisions of "Template:TermCall"
From Buddha-Nature
Tag: Undo |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
− | <includeonly>__NOGLOSSARY____NOTOC__ | + | <includeonly>__NOGLOSSARY____NOTOC__{{#set: |
− | |||
|Glossary-KeyTerm={{SUBPAGENAME}} | |Glossary-KeyTerm={{SUBPAGENAME}} | ||
− | |Glossary-TopicVariation={{ | + | |Glossary-TopicVariation={{ComValue|Glossary-TopicVariation}} |
− | |Glossary-Tibetan={{ | + | |Glossary-Tibetan={{ComValue|Glossary-Tibetan}}|+sep=, |
− | |Glossary-Wylie={{ | + | |Glossary-Wylie={{ComValue|Glossary-Wylie}}|+sep=, |
− | |Glossary-Devanagari={{ | + | |Glossary-Devanagari={{ComValue|Glossary-Devanagari}}|+sep=, |
− | |Glossary-Sanskrit={{ | + | |Glossary-Sanskrit={{ComValue|Glossary-Sanskrit}}|+sep=, |
− | |Glossary-Phonetic={{ | + | |Glossary-Phonetic={{ComValue|Glossary-Phonetic}}|+sep=, |
− | |Glossary-PhoneticSkt={{ | + | |Glossary-PhoneticSkt={{ComValue|Glossary-PhoneticSkt}}|+sep=, |
− | |Glossary-Chinese={{ | + | |Glossary-Chinese={{ComValue|Glossary-Chinese}}|+sep=, |
− | |Glossary-Pinyin={{ | + | |Glossary-Pinyin={{ComValue|Glossary-Pinyin}}|+sep=, |
− | |Glossary-Japanese={{ | + | |Glossary-Japanese={{ComValue|Glossary-Japanese}}|+sep=, |
− | |Glossary-JapanTranslit={{ | + | |Glossary-JapanTranslit={{ComValue|Glossary-JapanTranslit}}|+sep=, |
− | |Glossary-Korean={{ | + | |Glossary-Korean={{ComValue|Glossary-Korean}}|+sep=, |
− | |Glossary-KoreanTranslit={{ | + | |Glossary-KoreanTranslit={{ComValue|Glossary-KoreanTranslit}}|+sep=, |
− | |Glossary-English={{ | + | |Glossary-English={{ComValue|Glossary-English}}|+sep=, |
− | |Glossary-EnglishKB={{ | + | |Glossary-EnglishKB={{ComValue|Glossary-EnglishKB}}|+sep=, |
− | |Glossary-EnglishRB={{ | + | |Glossary-EnglishRB={{ComValue|Glossary-EnglishRB}}|+sep=, |
− | |Glossary-EnglishJH={{ | + | |Glossary-EnglishJH={{ComValue|Glossary-EnglishJH}}|+sep=, |
− | |Glossary-EnglishSH={{ | + | |Glossary-EnglishSH={{ComValue|Glossary-EnglishSH}}|+sep=, |
− | |Glossary-EnglishRY={{ | + | |Glossary-EnglishRY={{ComValue|Glossary-EnglishRY}}|+sep=, |
− | |Glossary-EnglishDM={{ | + | |Glossary-EnglishDM={{ComValue|Glossary-EnglishDM}}|+sep=, |
− | |Glossary-EnglishGD={{ | + | |Glossary-EnglishGD={{ComValue|Glossary-EnglishGD}}|+sep=, |
− | |Glossary-EnglishIW={{ | + | |Glossary-EnglishIW={{ComValue|Glossary-EnglishIW}}|+sep=, |
− | |Glossary-Term-Alt={{ | + | |Glossary-Term-Alt={{ComValue|Glossary-Term-Alt}}|+sep=, |
− | |Glossary-Pronunciation-Audio={{ | + | |Glossary-Pronunciation-Audio={{ComValue|Glossary-Pronunciation-Audio}} |
− | |Glossary-PartOfSpeech={{ | + | |Glossary-PartOfSpeech={{ComValue|Glossary-PartOfSpeech}} |
− | |Glossary-SourceLanguage={{ | + | |Glossary-SourceLanguage={{ComValue|Glossary-SourceLanguage}} |
− | |Glossary-Senses={{ | + | |Glossary-Senses={{ComValue|Glossary-Senses}} |
− | |Glossary-DidYouKnow={{ | + | |Glossary-DidYouKnow={{ComValue|Glossary-DidYouKnow}} |
− | |Glossary-RelatedTerms={{ | + | |Glossary-RelatedTerms={{ComValue|Glossary-RelatedTerms}}|+sep=, |
− | |Glossary-RelatedTopics={{ | + | |Glossary-RelatedTopics={{ComValue|Glossary-RelatedTopics}}|+sep=, |
− | |Glossary-DefinitionKB={{ | + | |Glossary-DefinitionKB={{ComValue|Glossary-DefinitionKB}} |
− | |Glossary-DefinitionPDB={{ | + | |Glossary-DefinitionPDB={{ComValue|Glossary-DefinitionPDB}} |
− | |Glossary-DefinitionDDB={{ | + | |Glossary-DefinitionDDB={{ComValue|Glossary-DefinitionDDB}} |
− | |Glossary-DefinitionTDC={{ | + | |Glossary-DefinitionTDC={{ComValue|Glossary-DefinitionTDC}} |
− | |Glossary-DefinitionDKTDC={{ | + | |Glossary-DefinitionDKTDC={{ComValue|Glossary-DefinitionDKTDC}} |
− | |Glossary-DefinitionMVP={{ | + | |Glossary-DefinitionMVP={{ComValue|Glossary-DefinitionMVP}} |
− | |Glossary-DefinitionWP={{ | + | |Glossary-DefinitionWP={{ComValue|Glossary-DefinitionWP}} |
− | |Glossary-DefinitionRPW={{ | + | |Glossary-DefinitionRPW={{ComValue|Glossary-DefinitionRPW}} |
− | |Glossary-DefinitionOther={{ | + | |Glossary-DefinitionOther={{ComValue|Glossary-DefinitionOther}} |
− | |Glossary-Synonyms={{ | + | |Glossary-Synonyms={{ComValue|Glossary-Synonyms}} |
− | |Glossary-Antonyms={{ | + | |Glossary-Antonyms={{ComValue|Glossary-Antonyms}} |
− | |Glossary-Etymology={{ | + | |Glossary-Etymology={{ComValue|Glossary-Etymology}} |
− | |Glossary-Usage={{ | + | |Glossary-Usage={{ComValue|Glossary-Usage}} |
− | |Glossary-SimpleUsage={{ | + | |Glossary-SimpleUsage={{ComValue|Glossary-SimpleUsage}} |
− | |Glossary-SutraQuote={{ | + | |Glossary-SutraQuote={{ComValue|Glossary-SutraQuote}} |
− | |Glossary-SutraQuoteSource={{ | + | |Glossary-SutraQuoteSource={{ComValue|Glossary-SutraQuoteSource}} |
− | |Glossary-Earliest={{ | + | |Glossary-Earliest={{ComValue|Glossary-Earliest}} |
− | |Glossary-FurtherReads={{ | + | |Glossary-FurtherReads={{ComValue|Glossary-FurtherReads}} |
− | |Glossary-Link={{#if: {{ | + | |Glossary-Link={{#if: {{ComValue|Glossary-Link}} | {{ComValue|Glossary-Link}} | Key Terms/{{SUBPAGENAME}} }} |
− | |Glossary-BasicMeaning={{ | + | |Glossary-BasicMeaning={{ComValue|Glossary-Definition}} |
− | |Glossary-Term={{#arraymap: {{ | + | |Glossary-Term={{#arraymap: {{ComValue|Glossary-HoverChoices}} |
|; | |; | ||
|### | |### | ||
Line 58: | Line 57: | ||
|@@@ | |@@@ | ||
}}@@@{{SUBPAGENAME}}@@@{{lcfirst:{{SUBPAGENAME}}}}@@@{{ucfirst:{{SUBPAGENAME}}}}|+sep=@@@ | }}@@@{{SUBPAGENAME}}@@@{{lcfirst:{{SUBPAGENAME}}}}@@@{{ucfirst:{{SUBPAGENAME}}}}|+sep=@@@ | ||
− | |ValuesToRedirect={{SUBPAGENAME}};{{ | + | |ValuesToRedirect={{SUBPAGENAME}};{{ComValue|Glossary-KeyTerm}};{{ComValue|Glossary-TopicVariation}};{{ComValue|Glossary-HoverChoices}};{{#arraymap:{{#external_value:Glossary-Term-Alt}}|,|@@@|@@@|;}} |
|BuNayTitle={{SUBPAGENAME}} | |BuNayTitle={{SUBPAGENAME}} | ||
|Has parent page=Glossary | |Has parent page=Glossary | ||
|FeaturedPeople={{#external_value:FeaturedPeople}} | |FeaturedPeople={{#external_value:FeaturedPeople}} | ||
− | |DefaultSort={{#if: {{ | + | |DefaultSort={{#if: {{ComValue|DefaultSort }} |
− | | {{lc:{{ | + | | {{lc:{{ComValue|DefaultSort}}}} |
| {{lc:{{#titleparts:{{SUBPAGENAME}}}}}} | | {{lc:{{#titleparts:{{SUBPAGENAME}}}}}} | ||
}} | }} | ||
− | }}[[Glossary-Definition::{{SUBPAGENAME}} - {{ | + | }}[[Glossary-Definition::{{SUBPAGENAME}} - {{ComValue|Glossary-Definition}} {{#if: {{ComValue|Glossary-Devanagari}} | Skt. {{ComValue|Glossary-Devanagari}} | }} {{#if: {{ComValue|Glossary-Tibetan}} | Tib. {{ComValue|Glossary-Tibetan}} | }} {{#if: {{ComValue|Glossary-Chinese}} | Ch. {{ComValue|Glossary-Chinese}} | }}| ]][[Category:Terms]]{{#if: {{ComValue|DefaultSort }} |
− | |{{DEFAULTSORT:{{ | + | |{{DEFAULTSORT:{{ComValue|DefaultSort}}}} |
|{{DEFAULTSORT:{{lc:{{#titleparts:{{SUBPAGENAME}}}}}}}} | |{{DEFAULTSORT:{{lc:{{#titleparts:{{SUBPAGENAME}}}}}}}} | ||
}}{{#ifsysop: | }}{{#ifsysop: | ||
Line 78: | Line 77: | ||
<div class="{{#if: {{#ask: [[BuNayTopicTags::{{PAGENAME}}]] }} | col-lg-8 | col-12 }}"> | <div class="{{#if: {{#ask: [[BuNayTopicTags::{{PAGENAME}}]] }} | col-lg-8 | col-12 }}"> | ||
<div class="bnw-gloss-box position-relative depth-1" style="width: 100%;"> | <div class="bnw-gloss-box position-relative depth-1" style="width: 100%;"> | ||
− | <div class="bnw-panel-watermark bnw-term-watermark-adjust" style="font-size: 1.3em;">{{ | + | <div class="bnw-panel-watermark bnw-term-watermark-adjust" style="font-size: 1.3em;">{{ComValue|Glossary-SourceLanguage}} {{ComValue|Glossary-PartOfSpeech}}</div> |
<div class="h2" style="line-height: 1;"> | <div class="h2" style="line-height: 1;"> | ||
<div class="mt-0 mb-1"> | <div class="mt-0 mb-1"> | ||
{{SUBPAGENAME}} | {{SUBPAGENAME}} | ||
− | <div style="font-size: .6em;">{{#if: {{ | + | <div style="font-size: .6em;">{{#if: {{ComValue|Glossary-English}} |
− | | <div class="d-inline-block mr-3">{{#arraymap:{{ | + | | <div class="d-inline-block mr-3">{{#arraymap:{{ComValue|Glossary-English}} |
|, | |, | ||
|@@@ | |@@@ | ||
Line 90: | Line 89: | ||
}}</div> | }}</div> | ||
| | | | ||
− | }}{{#if: {{ | + | }}{{#if: {{ComValue|Glossary-Devanagari}} |
− | | <div class="d-inline-block mr-3">{{ | + | | <div class="d-inline-block mr-3">{{ComValue|Glossary-Devanagari}}</div> |
| | | | ||
− | }}{{#if: {{ | + | }}{{#if: {{ComValue|Glossary-Tibetan}} |
− | | <div class="d-inline-block mr-3">{{#arraymap: {{ | + | | <div class="d-inline-block mr-3">{{#arraymap: {{ComValue|Glossary-Tibetan}} |
|, | |, | ||
|@@@ | |@@@ | ||
Line 101: | Line 100: | ||
}}</div> | }}</div> | ||
| | | | ||
− | }}{{#if: {{ | + | }}{{#if: {{ComValue|Glossary-Chinese}} |
− | | <div class="d-inline-block mr-3">{{ | + | | <div class="d-inline-block mr-3">{{ComValue|Glossary-Chinese}}</div> |
| | | | ||
}}</div> | }}</div> | ||
Line 108: | Line 107: | ||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
− | <div class="{{#if: {{ | + | <div class="{{#if: {{ComValue|Glossary-SutraQuote}} | col-lg-6 | pl-3 pr-3}}">{{#if: {{ComValue|Glossary-Definition}} | |
<div> | <div> | ||
<span style="font-variant: small-caps; font-weight: 900;">'''Basic Meaning'''</span><br> | <span style="font-variant: small-caps; font-weight: 900;">'''Basic Meaning'''</span><br> | ||
− | {{ | + | {{ComValue|Glossary-Definition}} |
− | </div> | }}{{#if: {{ | + | </div> | }}{{#if: {{ComValue|Glossary-Senses}} | |
<div class="mt-3"> | <div class="mt-3"> | ||
<span style="font-variant: small-caps; font-weight: 900;">'''Has the Sense of'''</span><br> | <span style="font-variant: small-caps; font-weight: 900;">'''Has the Sense of'''</span><br> | ||
− | {{ | + | {{ComValue|Glossary-Senses}} |
− | </div> | }}{{#if: {{ | + | </div> | }}{{#if: {{ComValue|Glossary-SimpleUsage}} | |
<div class="mt-3"> | <div class="mt-3"> | ||
<span style="font-variant: small-caps; font-weight: 900;">'''Simplified English Usage'''</span><br> | <span style="font-variant: small-caps; font-weight: 900;">'''Simplified English Usage'''</span><br> | ||
− | {{ | + | {{ComValue|Glossary-SimpleUsage}} |
</div> | }} | </div> | }} | ||
− | </div>{{#if: {{ | + | </div>{{#if: {{ComValue|Glossary-SutraQuote}} | |
<div class="col-lg-5 ml-lg-3 mb-3 float-right"> | <div class="col-lg-5 ml-lg-3 mb-3 float-right"> | ||
<span style="font-variant: small-caps; font-weight: 900;">'''Read It in the Scriptures'''</span> | <span style="font-variant: small-caps; font-weight: 900;">'''Read It in the Scriptures'''</span> | ||
− | {{ Blockquote | {{ | + | {{ Blockquote | {{ComValue|Glossary-SutraQuote}} | {{#if: {{ComValue|Glossary-SutraQuoteSource}} | {{ComValue|Glossary-SutraQuoteSource}} | Source missing }} }} |
</div> | }} | </div> | }} | ||
</div> | </div> | ||
Line 199: | Line 198: | ||
<tr> | <tr> | ||
<th>Devanagari Sanskrit</th> | <th>Devanagari Sanskrit</th> | ||
− | <td>{{#external_value:Glossary-Devanagari}}{{#if: {{ | + | <td>{{#external_value:Glossary-Devanagari}}{{#if: {{ComValue|Glossary-PhoneticSkt}} | (<i class="fal fa-volume-up fa-xs"></i> {{ComValue|Glossary-PhoneticSkt}}) | }}</td> |
</tr> | }}{{#if: {{#external_value:Glossary-Sanskrit}} | | </tr> | }}{{#if: {{#external_value:Glossary-Sanskrit}} | | ||
<tr> | <tr> | ||
<th>Romanized Sanskrit</th> | <th>Romanized Sanskrit</th> | ||
− | <td>{{#replace:{{#external_value:Glossary-Sanskrit}}|*|*}}{{#if: {{ | + | <td>{{#replace:{{#external_value:Glossary-Sanskrit}}|*|*}}{{#if: {{ComValue|Glossary-PhoneticSkt}} | (<i class="fal fa-volume-up fa-xs"></i> {{ComValue|Glossary-PhoneticSkt}}) | }}</td> |
</tr> | }}{{#if: {{#external_value:Glossary-Chinese}} | | </tr> | }}{{#if: {{#external_value:Glossary-Chinese}} | | ||
<tr> | <tr> | ||
Line 371: | Line 370: | ||
<h3>Works About this Term</h3> | <h3>Works About this Term</h3> | ||
− | + | {{PageTileQuery | |
− | + | |query=[[BuNayPageType::Book]] [[BuNayTopicTags::{{StripDiacritics|{{SUBPAGENAME}}}}]] | |
− | + | |classes=col-lg-6 | |
− | + | |intro=<h5>Books about this term</h5> | |
− | + | <div class="row"> | |
− | + | |outro=</div> | |
− | + | }}{{PageTileQuery | |
− | + | |query=[[BuNayPageType::Article]] [[BuNayTopicTags::{{StripDiacritics|{{SUBPAGENAME}}}}]] | |
− | + | |classes=col-lg-6 | |
− | + | |intro=<h5>Articles about this term</h5> | |
− | + | <div class="row"> | |
− | + | |outro=</div> | |
− | + | }}{{PageTileQuery | |
− | + | |query=[[BuNayPageType::Tibetan Text||Sanskrit Text]] [[BuNayTopicTags::{{StripDiacritics|{{SUBPAGENAME}}}}]] | |
− | + | |classes=col-lg-6 | |
− | + | |intro=<h5>Source Texts about this term</h5> | |
− | + | <div class="row"> | |
− | + | |outro=</div> | |
− | + | }}{{PageTileQuery | |
− | + | |query=[[BuNayPageType::Interview]] [[BuNayTopicTags::{{StripDiacritics|{{SUBPAGENAME}}}}]] | |
− | + | |classes=col-lg-6 | |
− | + | |intro=<h5>Interviews about this term</h5> | |
− | + | <div class="row"> | |
− | + | |outro=</div> | |
− | + | }}{{PageTileQuery | |
− | + | |query=[[BuNayPageType::Audio||Video]] [[BuNayTopicTags::{{StripDiacritics|{{SUBPAGENAME}}}}]] | |
− | + | |classes=col-lg-6 | |
− | + | |intro=<h5>Multimedia about this term</h5> | |
− | + | <div class="row"> | |
− | + | |outro=</div> | |
− | + | }} | |
− | |||
− | |||
</includeonly><noinclude>{{TemplateTag}}</noinclude> | </includeonly><noinclude>{{TemplateTag}}</noinclude> |