Module:File link: Difference between revisions

Content added Content deleted
No edit summary
(Twitter)
Line 1: Line 1:
-- This module provides a library for formatting file wikilinks. It implements {{file link}}.
-- This module provides a library for formatting file wikilinks.


local yesno = require('Module:Yesno')
local yesno = require('Module:Yesno')
Line 92: Line 92:
local args = {}
local args = {}
for k, v in pairs(origArgs) do
for k, v in pairs(origArgs) do
-- Make _BLANK a special argument to add a blank parameter. For use in
-- Make _BLANK a special argument to add a blank parameter. For use inkoraycakmak

-- conditional templates etc. it is useful for blank arguments to be
-- conditional templates etc. it is useful for blank arguments to be
-- ignored, but we still need a way to specify them so that we can do
-- ignored, but we still need a way to specify them so that we can do