Anonymous user
Module:File link: Difference between revisions
use yesno to test whether to add a border
(make this a lot simpler - the original module was overkill for what it was trying to do) |
(use yesno to test whether to add a border) |
||
Line 1:
-- This module provides a library for formatting file wikilinks.
local yesno = require('Module:Yesno')
local checkType = require('libraryUtil').checkType
Line 57 ⟶ 58:
end
-- Border
if yesno(args.border) then
ret[#ret + 1] = 'border'
end
addPositional('location')
addPositional('alignment')
|