Template:TranslationMemory: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
== Segment Data == | == Segment Data == | ||
<span class="tm-edit-link">{{#formlink:form=Segment|link text=edit fields|target={{FULLPAGENAME}}}}</span> | |||
<table class="table offwhite-bg table-striped table-bordered my-4 th-nowrap"> | <table class="table offwhite-bg table-striped table-bordered my-4 th-nowrap"> | ||
{{#arraymap:Chapter;ChapterSubsection;English;Flag;QuoteSource;RootTextChapterNum;RootTextVerseNum;RootTextVerseNumPadmaK;Sanskrit;SegmentFormat;SegmentOrder;ShortTitle;SktTransliteration;SourcePageNumber;SourceSabcheNumber;SourceSegmentOrder;Spanish;Tibetan;TranslationChapter;TranslationChapterSubsection;TranslationCitation;TranslationPageNumber;TranslationPublishedYear;TranslationWikiPage;Translator;Wylie | {{#arraymap:Chapter;ChapterSubsection;ContainsQuote;English;Flag;QuoteSource;RootTextChapterNum;RootTextVerseNum;RootTextVerseNumPadmaK;Sanskrit;SegmentFormat;SegmentOrder;ShortTitle;SktTransliteration;SourcePageNumber;SourceSabcheNumber;SourceSegmentOrder;Spanish;Tibetan;TibetanTsadra;TranslationChapter;TranslationChapterSubsection;TranslationCitation;TranslationPageNumber;TranslationPublishedYear;TranslationWikiPage;Translator;Wylie;WylieTsadra | ||
|; | |; | ||
|@@@ | |@@@ | ||
| Line 76: | Line 78: | ||
|SourceTranslit={{#if:{{{ Wylie | }}} | |SourceTranslit={{#if:{{{ Wylie | }}} | ||
|<p>{{{ Wylie | }}}</p> | |<p>{{{ Wylie | }}}</p> | ||
|{{# | |{{#ifeq:{{GetBaseData|TransMemID}}|016-Tsadra-SSC-Root | ||
| | | | ||
|{{#if:{{{ SktTransliteration | }}} | |||
|{{{ SktTransliteration | }}} | |||
| | |||
}} | |||
}} | }} | ||
}} | }} | ||
| Line 84: | Line 89: | ||
|SegmentSource={{#if:{{{ Tibetan | }}} | |SegmentSource={{#if:{{{ Tibetan | }}} | ||
|<p>{{{ Tibetan | }}}</p> | |<p>{{{ Tibetan | }}}</p> | ||
|{{{ Sanskrit | }}} | |{{#ifeq:{{GetBaseData|TransMemID}}|016-Tsadra-SSC-Root | ||
| | |||
|<p>{{{ Sanskrit | }}}</p> | |||
}} | |||
}} | }} | ||
|SanskritSource={{#if:{{{ Sanskrit | }}}|<p>{{{ Sanskrit | }}}</p>|}} | |||
|SanskritTranslit={{#if:{{{ SktTransliteration | }}}|<p>{{{ SktTransliteration | }}}</p>|}} | |||
|SegmentSourceTsadra={{#if:{{{ TibetanTsadra | }}}|<p>{{{ TibetanTsadra | }}}</p>|}} | |||
|SegmentTranslitTsadra={{{ WylieTsadra | }}} | |||
|SegmentTranslation={{#if:{{{ English | }}} | |SegmentTranslation={{#if:{{{ English | }}} | ||
|{{#invoke:String|replace|source={{{ English | }}}|pattern=^%d+[\\. | |{{#invoke:String|replace|source={{{ English | }}}|pattern=^%d+[\\. | ||
| Line 99: | Line 111: | ||
|SegmentOrder={{#if: {{{ SegmentOrder | }}}|{{{ SegmentOrder | }}}|{{{ SourceSegmentOrder | }}}}} | |SegmentOrder={{#if: {{{ SegmentOrder | }}}|{{{ SegmentOrder | }}}|{{{ SourceSegmentOrder | }}}}} | ||
|SegmentFormat={{{ SegmentFormat | }}} | |SegmentFormat={{{ SegmentFormat | }}} | ||
|QuoteSource={{{ QuoteSource | }}} | |QuoteSource={{{ QuoteSource | }}}|+sep=; | ||
|ContainsQuote={{{ ContainsQuote | }}} | |||
|Flag={{{ Flag | }}}|+sep=; | |Flag={{{ Flag | }}}|+sep=; | ||
|TranslationPageNumber={{{ TranslationPageNumber | }}} | |TranslationPageNumber={{{ TranslationPageNumber | }}} | ||