Template:Detect singular: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
template to autodetect whether comma-separated list is fed to singular parameter
 
Ookami (talk | contribs)
m 9 revisions imported
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|{{#ifexpr:{{{str find|{{{1|}}}|,}}<0|{{{3|}}}|{{{5|}}}}}|{{#if:{{{2|}}}|{{{4|}}}}}}}<noinclude>{{documentation}}</noinclude>
{{#ifexpr:({{#invoke:String|find|{{{1|}}}|,}}+{{#invoke:String|find|{{{1|}}}|list}}+{{#invoke:String|find|{{{1|}}}|<%s*br|plain=false}})>0||1}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 22:50, 3 September 2020

1