Template:Min: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>WOSlinker
remove {{pp-template}} since included in {{documentation}}
meta>Jimp
code like max
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#expr:{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#ifexpr:({{{1}}})<({{{2}}})|{{#ifexpr:({{{1}}})<({{{3}}})|{{{1}}}|{{{3}}}}}|{{#ifexpr:({{{2}}})<({{{3}}})|{{{2}}}|{{{3}}}}}}}|{{#ifexpr:({{{1}}})<({{{2}}})|{{{1}}}|{{{2}}}}}}}|{{{1}}}}}}}|}}</includeonly><noinclude>
<includeonly>{{#expr:{{#switch:<!--
{{documentation}}
-->{{#iferror:{{#expr:({{{1|}}})*1}}|0|1}}<!--
-->{{#iferror:{{#expr:({{{2|}}})*1}}|0|1}}<!--
-->{{#iferror:{{#expr:({{{3|}}})*1}}|0|1}}
|111={{min/3|({{{1}}})|({{{2}}})|({{{3}}})}}
|110={{min/2|({{{1}}})|({{{2}}})}}
|100={{{1}}}
|101={{min/2|({{{1}}})|({{{3}}})}}
|011={{min/2|({{{2}}})|({{{3}}})}}
|010={{{2}}}
|001={{{3}}}
}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 07:51, 18 October 2011