Modul:File link: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Farras (bicara | kontrib)
Tidak ada ringkasan suntingan
trans params.origArgs.file :error => galat (ID)
 
Baris 1:
-- This module provides a library for formatting file wikilinks.
 
local yesno = require('ModuleModul:Yesno')
local checkType = require('libraryUtil').checkType
 
Baris 14:
if type(val) ~= 'string' then
error(string.format(
"typegalat error inpada '%s' parameter of '_main' (expected string, gothasil %s)",
key, type(val)
), level)
Baris 81:
 
function p.main(frame)
local origArgs = require('ModuleModul:Arguments').getArgs(frame, {
wrappers = 'TemplateTemplat:File link'
})
if not origArgs.file then
error("parameter 'file' parameter missinghilang fromdari [[TemplateTemplat:File link]]", 0)
end