Content deleted Content added
remove moz, o and webkit as standard now well supported |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1:
-- This module implements {{key press}}.
local kbdPrefix = '<kbd class="keyboard-key nowrap">'
local kbdSuffix = '</kbd>'
Line 96 ⟶ 81:
['c nw'] = 'C↖',
['c sw'] = 'C↙',
}
Line 150 ⟶ 123:
['c-nw'] = 'c nw',
['c-sw'] = 'c sw',
}
Line 195 ⟶ 158:
}
local result = Collection.new()
local chainDefault = args.chain or '+
for i, id in ipairs(args) do
if i > 1 then
Line 204 ⟶ 167:
result:add(kbdPrefix .. text .. kbdSuffix)
end
return
name = 'templatestyles', args = { src = 'Template:Key press/sandbox/styles.css'}
} .. result:join()
end
|