Template:Progress line 4
From MediaWiki
{{#expr:{{#switch:{{#iferror:{{#expr:({{#expr:0}})*1}}|0|1}}{{#iferror:{{#expr:(0)*1}}|0|1}}{{#iferror:{{#expr:()*1}}|0|1}} |111=Template:Max/3 |110={{#ifexpr:({{#expr:0}})<(0)|(0)|({{#expr:0}})}} |100={{#expr:0}} |101={{#ifexpr:({{#expr:0}})<({{{3}}})|({{{3}}})|({{#expr:0}})}} |011={{#ifexpr:(0)<({{{3}}})|({{{3}}})|(0)}} |010=0 |001={{{3}}} }}}}