Template:GetGlossEntry: Difference between revisions
Jump to navigation
Jump to search
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(3 intermediate revisions by the same user not shown) | |||
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: {{# | }}{{#if: {{#external_value:gloss-key}} | <li style="margin-bottom: .45em;">{{MakeList|{{UniqueArray|{{#arraymap:{{#external_value:gloss-translator}};{{#external_value:gloss-author}} | ||
|; | |||
|@@@ | |||
|@@@ | |||
|; | |||
}}|;}}|;|, }}. ''{{#external_value:gloss-page}}'' ({{#external_value:gloss-pubdate}}) <div>{{#if: {{#external_value:gloss-sanskrit}} | {{!}} ''Sanskrit:'' '''{{MakeList|{{#external_value:gloss-sanskrit}}|,|, }}''' | }}{{#if: {{#external_value:gloss-english}} | {{!}} ''English:'' '''{{MakeList|{{#external_value:gloss-english}}|,|, }}''' | }}{{#if: {{#external_value:gloss-french}} | {{!}} ''French:'' '''{{MakeList|{{#external_value:gloss-french}}|,|, }}''' | }}{{#if: {{#external_value:gloss-def}} | {{!}} ''Definition: '' '''{{#external_value:gloss-def}}''' | }}</div></li> | }}</includeonly><noinclude>{{TemplateTag}}</noinclude> |