Template:Detect singular: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
mp>MSGJ support for bullets=yes, code by User:Gonnym |
||
Line 1: | Line 1: | ||
{{#ifexpr:({{#invoke:String|find|{{{1|}}}|,}}+{{#invoke:String|find|{{{1|}}}|list}}+{{#invoke:String|find|{{{1|}}}|<%s*br|plain=false}})>0||1}}<noinclude>{{documentation}}</noinclude> | {{#ifexpr: ({{#if: {{{no_comma|}}} | <!-- Do not check for commas --> | {{#invoke:String|find|{{{1|}}}|,}} + }} {{#invoke:String|find|{{{1|}}}|list}} + {{#invoke:String|find|{{{1|}}}|<%s*br|plain=false}} {{#if: {{{bullets|}}} | + {{#ifexpr: {{#invoke:String|count|source={{{1|}}}|pattern=*}} > 1 | 1 | 0 }} }}) > 0||1}}<noinclude>{{documentation}}</noinclude> |