Module:File link: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
MusikAnimal (talk | contribs) (Undid revision 948472508 by [[Special:Contributions/w>IPad365|w>IPad365]] ([[User talk:w>IPad365|talk]])) |
No edit summary |
||
Line 1: | Line 1: | ||
-- This module provides a library for formatting file wikilinks. |
-- This module provides a library for formatting file wikilinks. It implements {{file link}}. |
||
local yesno = require('Module:Yesno') |
local yesno = require('Module:Yesno') |
||
Line 14: | Line 14: | ||
if type(val) ~= 'string' then |
if type(val) ~= 'string' then |
||
error(string.format( |
error(string.format( |
||
"type error in '%s' parameter of '_main' (expected string, got %s)", |
"type error in '%s' parameter of '_main' (expected string, got %s): быть ~~~~", |
||
key, type(val) |
key, type(val) |
||
), level) |
), level) |