Template:GetGlossEntry: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
(// Edit via Wikitext Extension for VSCode)
((by SublimeText.Mediawiker))
Line 3: Line 3:
|format=csv with header
|format=csv with header
|data=gloss-wylie=gloss-wylie,gloss-tibetan=gloss-tibetan,gloss-english=gloss-english,gloss-sanskrit=gloss-sanskrit,gloss-def=gloss-def,gloss-page=gloss-page,gloss-translator=gloss-translator,gloss-author=gloss-author,gloss-pubdate=gloss-pubdate,gloss-key=gloss-key,gloss-french=gloss-french
|data=gloss-wylie=gloss-wylie,gloss-tibetan=gloss-tibetan,gloss-english=gloss-english,gloss-sanskrit=gloss-sanskrit,gloss-def=gloss-def,gloss-page=gloss-page,gloss-translator=gloss-translator,gloss-author=gloss-author,gloss-pubdate=gloss-pubdate,gloss-key=gloss-key,gloss-french=gloss-french
}}{{#if: {{#external_value:gloss-key}} | <li style="margin-bottom: .45em;">{{MakeList|{{UniqueArray|{{#external_value:gloss-translator}};{{#external_value:gloss-author}}|;}}|;|,&nbsp;}}. ''{{#external_value:gloss-page}}'' ({{#external_value:gloss-pubdate}}) <div>{{#if: {{#external_value:gloss-sanskrit}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''Sanskrit:'' '''{{MakeList|{{#external_value:gloss-sanskrit}}|,|,&nbsp;}}''' | }}{{#if: {{#external_value:gloss-english}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''English:'' '''{{MakeList|{{#external_value:gloss-english}}|,|,&nbsp;}}''' | }}{{#if: {{#external_value:gloss-french}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''French:'' '''{{MakeList|{{#external_value:gloss-french}}|,|,&nbsp;}}''' | }}{{#if: {{#external_value:gloss-def}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''Definition: '' '''{{#external_value:gloss-def}}''' | }}</div></li> | }}</includeonly><noinclude>{{TemplateTag}}</noinclude>
}}{{#if: {{#external_value:gloss-key}} | <li style="margin-bottom: .45em;">{{MakeList|{{#external_value:gloss-translator}};{{#external_value:gloss-author}}|;|,&nbsp;}}. ''{{#external_value:gloss-page}}'' ({{#external_value:gloss-pubdate}}) <div>{{#if: {{#external_value:gloss-sanskrit}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''Sanskrit:'' '''{{MakeList|{{#external_value:gloss-sanskrit}}|,|,&nbsp;}}''' | }}{{#if: {{#external_value:gloss-english}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''English:'' '''{{MakeList|{{#external_value:gloss-english}}|,|,&nbsp;}}''' | }}{{#if: {{#external_value:gloss-french}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''French:'' '''{{MakeList|{{#external_value:gloss-french}}|,|,&nbsp;}}''' | }}{{#if: {{#external_value:gloss-def}} | &nbsp;&nbsp;&nbsp;{{!}}&nbsp; ''Definition: '' '''{{#external_value:gloss-def}}''' | }}</div></li> | }}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Revision as of 15:57, 23 May 2022