.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizi
| This is the test cases page for the module Module:Wikipedia ads. Results of the test cases. |
-- Unit tests for [[Module:Wikipedia ads]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_hello()
self:preprocess_equals_preprocess('{{wikipedia ads|ad=175}}', '{{wikipedia ads/sandbox|ad=175}}')
self:preprocess_equals_preprocess('{{wikipedia ads|175}}', '{{wikipedia ads/sandbox|175}}')
self:preprocess_equals_preprocess('{{wikipedia ads|ad=175|linkcolor=red|color=blue|background=yellow}}', '{{wikipedia ads/sandbox|ad=175|linkcolor=red|color=blue|background=yellow}}')
self:preprocess_equals_preprocess('{{wikipedia ads|ad=40}}', '{{wikipedia ads/sandbox|ad=40}}')
self:preprocess_equals_preprocess('{{wikipedia ads|ad=175|navbox=yes}}', '{{wikipedia ads/sandbox|ad=175|navbox=yes}}')
end
return p
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.