Module:Asbox: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Codehydro begin work -- please do not edit til done |
meta>Codehydro mNo edit summary |
||
Line 1: | Line 1: | ||
local p = {} | |||
function p.main(frame) | function p.main(frame) | ||
--local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Asbox'}) | --local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Asbox'}) |
Revision as of 22:49, 23 December 2014
Documentation for this module may be created at Module:Asbox/doc
local p = {}
function p.main(frame)
--local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Asbox'})
local output = '<table class="metadata plainlinks stub" style="background: transparent;" role="presentation"><tr>'
if frame.icon or frame.image then
output = output .. '<td>' .. frame.icon or ('[|File:' .. frame.image .. ']]') .. '</td>'
end
return output
end
return p