Pereiti prie turinio

Module:Convert/testcases

Puslapis iš Vikipedijos, laisvosios enciklopedijos.

Documentation for this module may be created at Module:Convert/testcases/doc

local tests = [==[

A template to be tested must be at the start of a line.
Lines which do not start with a template are ignored.
{{convert/sandbox|1|acre|lk=on}}            1 [[acre]] (0,40 [[hectare|ha]])
{{convert/sandbox|1|m2|acres|lk=on}}        1 [[square metre]] (0,00025 [[acre]]s)
{{convert/sandbox|0.16|/l|2|disp=table}}    align="right"|0,16\n|align="right"|0.61

]==]

local p = require('Module:Convert/tester')
p.tests = tests
return p