Knowledge (XXG)

Template:Min

Source 📝

21: 52: 90: 119:
This template evaluates and returns the minimum of a list of numeric values. The parameters can be numeric expressions that will be evaluated (using: +, -, *, /, ^, round, floor, mod, see:
412: 123:). Any empty, missing, or invalid (non-numeric) parameters will be ignored. Invalid expressions show no warning, and should be checked some other way. 417: 372: 360: 36: 342: 396: 356: 32: 40: 228: 224: 216: 68: 72: 220: 367: 64: 107: 346: 76: 392: 350: 28: 96: 406: 330: 103: 59: 120: 15: 63:
and changes may be widely noticed. Test changes in the template's
245:
Evaluates and returns the minimum of a list of numeric values.
84: 46: 282:
The first value, a number or expression, e.g. '10*20+30'
384: 376: 305:
The second value, many more parameters can be specified
138:{{min | value1 | value2 | value3 | value4 | ... }} 8: 242: 235:in articles based on its TemplateData. 366:Editors can experiment in this template's 248: 336:, gives the maximum with same parameters 413:Templates based on the Math Lua module 75:. Consider discussing changes on the 7: 229:See a monthly parameter usage report 14: 198:{{min|99| (2*3^2+1) /7 round 4}} 88: 50: 19: 418:Mathematical function templates 60:approximately 30,000 pages 1: 192:{{min|100+10|300+30|200+20}} 434: 340: 219:for this template used by 204:{{min|$ 2.50|$ 2.10|9.00}} 397:Subpages of this template 256: 79:before implementing them. 71:subpages, or in your own 58:This template is used on 391:Add categories to the 24:Template documentation 238:TemplateData for Min 186:{{min|40*41|300+30}} 95:This template uses 319: 253: 251:Template parameters 249: 247: 318: 317: 269: 243: 227:and other tools. 174:{{min|7||-6|-4|}} 117: 116: 83: 82: 425: 388: 380: 364: 351:Template:Min/doc 335: 329: 301: 278: 270: 254: 205: 199: 193: 187: 181: 175: 169: 163: 157: 151: 139: 92: 91: 85: 54: 53: 47: 44: 25: 23: 22: 433: 432: 428: 427: 426: 424: 423: 422: 403: 402: 401: 400: 390: 382: 370: 365: 354: 339: 333: 327: 324: 299: 276: 241: 213: 203: 197: 191: 185: 180:{{min|7|-5|-8}} 179: 173: 167: 161: 155: 149: 137: 129: 113: 89: 51: 45: 26: 20: 18: 12: 11: 5: 431: 429: 421: 420: 415: 405: 404: 381:and testcases 338: 337: 323: 320: 316: 315: 312: 309: 308: 302: 297: 293: 292: 289: 286: 285: 279: 274: 268: 267: 264: 261: 258: 221:TemplateWizard 214: 212: 209: 208: 207: 201: 200:→ 2.7143 195: 189: 183: 177: 171: 165: 159: 153: 141: 140: 128: 125: 115: 114: 112: 111: 100: 93: 81: 80: 55: 17: 16: 13: 10: 9: 6: 4: 3: 2: 430: 419: 416: 414: 411: 410: 408: 398: 394: 386: 378: 374: 369: 362: 358: 352: 348: 344: 343:documentation 332: 326: 325: 321: 313: 310: 307: 306: 303: 298: 295: 294: 290: 287: 284: 283: 280: 275: 272: 271: 265: 262: 259: 255: 252: 246: 240: 239: 234: 230: 226: 222: 218: 210: 202: 196: 190: 184: 178: 172: 166: 160: 154: 148: 147: 146: 145: 136: 135: 134: 133: 126: 124: 122: 109: 105: 102: 101: 98: 94: 87: 86: 78: 74: 70: 66: 62: 61: 56: 49: 48: 42: 38: 34: 30: 334:}} 328:{{ 304: 296:Second value 281: 250: 244: 237: 236: 233:Template:Min 232: 225:VisualEditor 217:TemplateData 215:This is the 211:TemplateData 168:{{min|7|-5}} 143: 142: 131: 130: 118: 73:user subpage 57: 347:transcluded 273:First value 260:Description 194:→ 110 188:→ 330 104:Module:Math 39:] [ 35:] [ 31:] [ 407:Categories 341:The above 182:→ -8 176:→ -6 170:→ -5 164:→ -7 162:{{min|-7}} 69:/testcases 395:subpage. 257:Parameter 206:→ 9 144:Examples: 121:Help:expr 77:talk page 322:See also 314:optional 291:required 156:{{min|}} 65:/sandbox 375:| 368:sandbox 361:history 359:| 158:→ 152:→ 150:{{min}} 132:Syntax: 108:sandbox 37:history 389:pages. 385:create 311:String 288:String 266:Status 349:from 127:Usage 43:] 41:purge 27:[ 393:/doc 377:diff 373:edit 357:edit 263:Type 231:for 33:edit 29:view 345:is 331:max 97:Lua 67:or 409:: 353:. 223:, 99:: 399:. 387:) 383:( 379:) 371:( 363:) 355:( 300:2 277:1 110:) 106:(

Index

view
edit
history
purge
approximately 30,000 pages
/sandbox
/testcases
user subpage
talk page
Lua
Module:Math
sandbox
Help:expr
TemplateData
TemplateWizard
VisualEditor
See a monthly parameter usage report
Template:Min
max
documentation
transcluded
Template:Min/doc
edit
history
sandbox
edit
diff
create
/doc
Subpages of this template

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.