Difference between revisions of "Template:CyzSenGeTsalQ"

From Rangjung Yeshe Wiki Texts
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="CyzComChpt{{{1}}}SengGe{{{2}}}"></div><blockquote>{{CyzCommTxt|{{{3}}}}}</blockquote><noinclude>{{CyzTmplCategory}}</noinclude>{{#set: has quote from སེང་གེ་རྩལ་རྫོགས།={{{3}}} | CyzComChpt{{{1}}}SengGe{{{2}}}={{{3}}}}}{{#ifeq: {{{2}}} | 1 |{{#set: has quote from tib text=སེང་གེ་རྩལ་རྫོགས།}}|}}
+
{{#varexists:ComChptNum||{{#vardefine:ComChptNum|{{{1}}}}}}}{{#varexists:SengGe{{#var:ComChptNum}}|{{#vardefine:SengGe{{#var:ComChptNum}}|{{#expr:{{#var:SengGe{{#var:ComChptNum}}}}+1}}}}|{{#vardefine:SengGe{{#var:ComChptNum}}|1}}}}{{#vardefine:SgQ|CyzComChpt{{#var:ComChptNum}}-SengGe{{#var:SengGe{{#var:ComChptNum}}}}}}<span id="{{#var:SgQ}}"></span>{{#ifeq: {{{1}}} | 1 |<blockquote>|{{#ifexpr: {{#len: {{{3}}} }} > 500 |<blockquote>|}}}}{{CyzCommTxt|{{{3}}}}}{{#ifeq: {{{1}}} | 1 |</blockquote>|{{#ifexpr: {{#len: {{{3}}} }} > 500 |</blockquote>|}}}}{{#set: has quote from སེང་གེ་རྩལ་རྫོགས།={{{3}}} | {{#var:SgQ}}={{{3}}}}}{{#ifeq: {{#var:SengGe{{#var:ComChptNum}}}} | 1 |{{#set: has quote from tib text=སེང་གེ་རྩལ་རྫོགས།}}|}}<noinclude>{{CyzTmplCategory}}</noinclude>

Latest revision as of 06:21, 18 September 2020

{{{3}}}"CyzComChpt{{{1}}}-SengGe1" contains a listed "{" character as part of the property label and has therefore been classified as invalid.