Template:TranslationMemoryBase: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="smwtable-clean border shadow sortable"> | |||
{{#arraymap:AuthorLabel;DuplicateRootTranslation;Notes;RootSourceTransMem;ShortTitle;SortDate;SourceCitation;SourcePublishedYear;SourceShortTitle;SourceSortOrder;SourceTitleTibetan;SourceTitleWylie;SourceVersionLabel;TranslationCitation;TranslationPublishedYear;TranslationSection;TransMemDate;TransMemID;TransMemOrigin|;|@@@| | <tr> | ||
< | <th>Field</th> | ||
<th>Values</th> | |||
</tr>{{#arraymap:Sections;AuthorLabel;DuplicateRootTranslation;Notes;RootSourceTransMem;ShortTitle;SortDate;SourceCitation;SourcePublishedYear;SourceShortTitle;SourceSortOrder;SourceTitleTibetan;SourceTitleWylie;SourceVersionLabel;TranslationCitation;TranslationPublishedYear;TranslationSection;TransMemDate;TransMemID;TransMemOrigin|;|@@@| | |||
<tr> | |||
<td class="text-right">'''@@@'''</td> | |||
}}{{#set:@@@={{{ @@@ | }}}}} | <td>{{#ifexist:{{{ @@@ | }}} | ||
</ | |[[{{{ @@@ | }}}]] | ||
{{#arraymap: | |{{{ @@@ | }}} | ||
< | }}{{#set:@@@={{{ @@@ | }}}}}</td> | ||
</tr>|}}{{#arraymap:TransMemCreator;TransMemType;Translator;TranslationWikiPage;SourceAuthor;SourceWikiPage;RootTextWikiPage|;|@@@| | |||
<tr> | |||
<td class="text-right">'''@@@'''</td> | |||
<td>{{#arraymap:{{{ @@@ | }}}|;|%%%|{{#ifexist:%%% | |||
}}{{#set:@@@={{{ @@@ | }}}|+sep=;}} | |[[%%%]] | ||
</ | |%%% | ||
}} | |||
|<br>}}{{#set:@@@={{{ @@@ | }}}|+sep=;}}</td> | |||
</tr>|}} | |||
</table>{{#set: | |||
|DuplicateRootTranslation={{{ DuplicateRootTranslation | false }}} | |DuplicateRootTranslation={{{ DuplicateRootTranslation | false }}} | ||
|TransMemNum={{#invoke:String|sub|s={{{ TransMemID | }}}|j=3}} | |TransMemNum={{#invoke:String|sub|s={{{ TransMemID | }}}|j=3}} | ||