Template:Count text quoted: Difference between revisions

From Rangjung Yeshe Wiki Texts
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#arraydefine:TextList|{{{2}}}|,|}}{{#ifexpr: {{#arraysize: TextList}} > 0 | {{{1}}} quotes {{#arraysize: TextList}} texts <br> {{#arrayprint: TextList ||@@@@|<nowiki/> Has quote from @@@@<br>}}| }}<noinclude>{{CyzTmplCategory}}</noinclude>
{{#arraydefine:TextList|{{{2}}}|,|}}{{#ifexpr: {{#arraysize: TextList}} > 0 | {{{1}}} quotes {{#arraysize: TextList}} texts <br> {{#arrayprint: TextList ||@@@@|<nowiki/> {{Count quotes in texts|{{{1}}}|@@@@}} }}| }}<noinclude>{{CyzTmplCategory}}</noinclude>

Revision as of 10:01, 9 March 2020

{{{1}}} quotes 1 texts
is quoted 1 times



Count quotes in text parameters
1={{{1}}}
2=Template:(({2Template:))
3={{{#userparam}}}
}