Difference between revisions of "Template:TermCall"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 57: | Line 57: | ||
|@@@ | |@@@ | ||
}}@@@{{SUBPAGENAME}}@@@{{lcfirst:{{SUBPAGENAME}}}}@@@{{ucfirst:{{SUBPAGENAME}}}}|+sep=@@@ | }}@@@{{SUBPAGENAME}}@@@{{lcfirst:{{SUBPAGENAME}}}}@@@{{ucfirst:{{SUBPAGENAME}}}}|+sep=@@@ | ||
− | |ValuesToRedirect={{SUBPAGENAME}};{{ComValue|Glossary-KeyTerm}};{{ComValue|Glossary-TopicVariation}};{{ComValue|Glossary-HoverChoices}};{{#arraymap:{{ | + | |ValuesToRedirect={{SUBPAGENAME}};{{ComValue|Glossary-KeyTerm}};{{ComValue|Glossary-TopicVariation}};{{ComValue|Glossary-HoverChoices}};{{#arraymap:{{ComValue|Glossary-Term-Alt}}|,|@@@|@@@|;}} |
|BuNayTitle={{SUBPAGENAME}} | |BuNayTitle={{SUBPAGENAME}} | ||
|Has parent page=Glossary | |Has parent page=Glossary | ||
− | |FeaturedPeople={{ | + | |FeaturedPeople={{ComValue|FeaturedPeople}} |
|DefaultSort={{#if: {{ComValue|DefaultSort }} | |DefaultSort={{#if: {{ComValue|DefaultSort }} | ||
| {{lc:{{ComValue|DefaultSort}}}} | | {{lc:{{ComValue|DefaultSort}}}} | ||
Line 163: | Line 163: | ||
<th>Key Term</th> | <th>Key Term</th> | ||
<td>{{SUBPAGENAME}}</td> | <td>{{SUBPAGENAME}}</td> | ||
− | </tr>{{#if: {{ | + | </tr>{{#if: {{ComValue|Glossary-TopicVariation}} | |
<tr> | <tr> | ||
<th>Topic Variation</th> | <th>Topic Variation</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-TopicVariation}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Tibetan}} | |
<tr> | <tr> | ||
<th>Tibetan</th> | <th>Tibetan</th> | ||
− | <td>{{#arraymap: {{ | + | <td>{{#arraymap: {{ComValue|Glossary-Tibetan}} |
|, | |, | ||
|@@@ | |@@@ | ||
|@@@ | |@@@ | ||
|, | |, | ||
− | }}{{#if: {{ | + | }}{{#if: {{ComValue|Glossary-Phonetic}} | (<i class="fal fa-volume-up fa-xs"></i> {{#arraymap: {{ComValue|Glossary-Phonetic}} |
|, | |, | ||
|@@@ | |@@@ | ||
Line 181: | Line 181: | ||
|, | |, | ||
}}) | }}</td> | }}) | }}</td> | ||
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Wylie}} | |
<tr> | <tr> | ||
<th>Wylie Tibetan Transliteration</th> | <th>Wylie Tibetan Transliteration</th> | ||
− | <td>{{#arraymap:{{ | + | <td>{{#arraymap:{{ComValue|Glossary-Wylie}} |
|, | |, | ||
|@@@ | |@@@ | ||
|@@@ | |@@@ | ||
|, | |, | ||
− | }}{{#if: {{ | + | }}{{#if: {{ComValue|Glossary-Phonetic}} | (<i class="fal fa-volume-up fa-xs"></i> {{#arraymap: {{ComValue|Glossary-Phonetic}} |
|, | |, | ||
|@@@ | |@@@ | ||
Line 195: | Line 195: | ||
|, | |, | ||
}}) | }}</td> | }}) | }}</td> | ||
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Devanagari}} | |
<tr> | <tr> | ||
<th>Devanagari Sanskrit</th> | <th>Devanagari Sanskrit</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Devanagari}}{{#if: {{ComValue|Glossary-PhoneticSkt}} | (<i class="fal fa-volume-up fa-xs"></i> {{ComValue|Glossary-PhoneticSkt}}) | }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Sanskrit}} | |
<tr> | <tr> | ||
<th>Romanized Sanskrit</th> | <th>Romanized Sanskrit</th> | ||
− | <td>{{#replace:{{ | + | <td>{{#replace:{{ComValue|Glossary-Sanskrit}}|*|*}}{{#if: {{ComValue|Glossary-PhoneticSkt}} | (<i class="fal fa-volume-up fa-xs"></i> {{ComValue|Glossary-PhoneticSkt}}) | }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Chinese}} | |
<tr> | <tr> | ||
<th>Chinese</th> | <th>Chinese</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-Chinese}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Pinyin}} | |
<tr> | <tr> | ||
<th>Chinese Pinyin</th> | <th>Chinese Pinyin</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-Pinyin}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Japanese}} | |
<tr> | <tr> | ||
<th>Japanese</th> | <th>Japanese</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-Japanese}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-JapanTranslit}} | |
<tr> | <tr> | ||
<th>Japanese Transliteration</th> | <th>Japanese Transliteration</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-JapanTranslit}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Korean}} | |
<tr> | <tr> | ||
<th>Korean</th> | <th>Korean</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-Korean}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-KoreanTranslit}} | |
<tr> | <tr> | ||
<th>Korean Transliteration</th> | <th>Korean Transliteration</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-KoreanTranslit}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-English}} | |
<tr> | <tr> | ||
<th>Buddha-nature Site Standard English</th> | <th>Buddha-nature Site Standard English</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-English}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishKB}} | |
<tr> | <tr> | ||
<th>Karl Brunnhölzl's English Term</th> | <th>Karl Brunnhölzl's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishKB}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishRB}} | |
<tr> | <tr> | ||
<th>Richard Barron's English Term</th> | <th>Richard Barron's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishRB}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishJH}} | |
<tr> | <tr> | ||
<th>Jeffrey Hopkin's English Term</th> | <th>Jeffrey Hopkin's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishJH}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishSH}} | |
<tr> | <tr> | ||
<th>Sarah Harding's English Term</th> | <th>Sarah Harding's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishSH}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishDM}} | |
<tr> | <tr> | ||
<th>Dan Martin's English Term</th> | <th>Dan Martin's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishDM}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishGD}} | |
<tr> | <tr> | ||
<th>Gyurme Dorje's English Term</th> | <th>Gyurme Dorje's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishGD}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishIW}} | |
<tr> | <tr> | ||
<th>Ives Waldo's English Term</th> | <th>Ives Waldo's English Term</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-EnglishIW}}|,|, }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Term-Alt}} | |
<tr> | <tr> | ||
<th>Alternate Spellings</th> | <th>Alternate Spellings</th> | ||
− | <td>{{ArrayDelSep|{{ | + | <td>{{ArrayDelSep|{{ComValue|Glossary-Term-Alt}}|,|, }}</td> |
</tr> | }} | </tr> | }} | ||
<tr> | <tr> | ||
<th colspan="2" style="font-weight: 700; font-size: 1em; text-align: center; background: rgba(0, 0, 0, .1);">Term Information</th> | <th colspan="2" style="font-weight: 700; font-size: 1em; text-align: center; background: rgba(0, 0, 0, .1);">Term Information</th> | ||
− | </tr>{{#if: {{ | + | </tr>{{#if: {{ComValue|Glossary-Pronunciation-Audio}} | |
<tr> | <tr> | ||
<th>Pronunciation Audio</th> | <th>Pronunciation Audio</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Pronunciation-Audio}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Usage}} | |
<tr> | <tr> | ||
<th>Usage Example</th> | <th>Usage Example</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Usage}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-SourceLanguage}} | |
<tr> | <tr> | ||
<th>Source Language</th> | <th>Source Language</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-SourceLanguage}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Definition}} | |
<tr> | <tr> | ||
<th>Basic Meaning</th> | <th>Basic Meaning</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Definition}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Senses}} | |
<tr> | <tr> | ||
<th>Has the Sense of</th> | <th>Has the Sense of</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Senses}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DidYouKnow}} | |
<tr> | <tr> | ||
<th>Did you know?</th> | <th>Did you know?</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DidYouKnow}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-RelatedTerms}} | |
<tr> | <tr> | ||
<th>Related Terms</th> | <th>Related Terms</th> | ||
− | <td>{{#arraymap: {{ | + | <td>{{#arraymap: {{ComValue|Glossary-RelatedTerms}} | , | @@@ | @@@ | , }}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-RelatedTopics}} | |
<tr> | <tr> | ||
<th>Related Topic Pages</th> | <th>Related Topic Pages</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-RelatedTopics}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-PartOfSpeech}} | |
<tr> | <tr> | ||
<th>Term Type</th> | <th>Term Type</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-PartOfSpeech}}</td> |
</tr> | }} | </tr> | }} | ||
<tr> | <tr> | ||
<th colspan="2" style="font-weight: 700; font-size: 1em; text-align: center; background: rgba(0, 0, 0, .1);">Definitions</th> | <th colspan="2" style="font-weight: 700; font-size: 1em; text-align: center; background: rgba(0, 0, 0, .1);">Definitions</th> | ||
− | </tr>{{#if: {{ | + | </tr>{{#if: {{ComValue|Glossary-DefinitionKB}} | |
<tr> | <tr> | ||
<th>Karl Brunnhölzl</th> | <th>Karl Brunnhölzl</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionKB}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionPDB}} | |
<tr> | <tr> | ||
<th>Princeton Dictionary of Buddhism</th> | <th>Princeton Dictionary of Buddhism</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionPDB}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-EnglishRY}} | |
<tr> | <tr> | ||
<th>Rangjung Yeshe Dictionary</th> | <th>Rangjung Yeshe Dictionary</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-EnglishRY}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionDDB}} | |
<tr> | <tr> | ||
<th>[http://www.buddhism-dict.net/ddb/ Muller's Digital Dictionary of Buddhism (DDB)]</th> | <th>[http://www.buddhism-dict.net/ddb/ Muller's Digital Dictionary of Buddhism (DDB)]</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionDDB}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionTDC}} | |
<tr> | <tr> | ||
<th>Tshig mdzod Chen mo</th> | <th>Tshig mdzod Chen mo</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionTDC}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionDKTDC}} | |
<tr> | <tr> | ||
<th>Dung dkar Tshig mdzod Chen mo</th> | <th>Dung dkar Tshig mdzod Chen mo</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionDKTDC}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionMVP}} | |
<tr> | <tr> | ||
<th>Mahavyutpati</th> | <th>Mahavyutpati</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionMVP}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionWP}} | |
<tr> | <tr> | ||
<th>[[wikipedia:Main Page|Wikipedia]]</th> | <th>[[wikipedia:Main Page|Wikipedia]]</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionWP}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionRPW}} | |
<tr> | <tr> | ||
<th>[[rigpa:Main Page|RigpaWiki]]</th> | <th>[[rigpa:Main Page|RigpaWiki]]</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionRPW}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-DefinitionOther}} | |
<tr> | <tr> | ||
<th>Other Definitions</th> | <th>Other Definitions</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-DefinitionOther}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Synonyms}} | |
<tr> | <tr> | ||
<th>Synonyms</th> | <th>Synonyms</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Synonyms}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Antonyms}} | |
<tr> | <tr> | ||
<th>Antonyms</th> | <th>Antonyms</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Antonyms}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Etymology}} | |
<tr> | <tr> | ||
<th>Grammatical / Etymological Analysis</th> | <th>Grammatical / Etymological Analysis</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Etymology}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-Earliest}} | |
<tr> | <tr> | ||
<th>Earliest Mention</th> | <th>Earliest Mention</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-Earliest}}</td> |
− | </tr> | }}{{#if: {{ | + | </tr> | }}{{#if: {{ComValue|Glossary-FurtherReads}} | |
<tr> | <tr> | ||
<th>Further Reading Material</th> | <th>Further Reading Material</th> | ||
− | <td>{{ | + | <td>{{ComValue|Glossary-FurtherReads}}</td> |
</tr> | }} | </tr> | }} | ||
</table> | </table> |