1,124
edits
(Created page with "local com = require('Module:Common') local a = require('Module:Arguments') local p = {} local function mainBox(title) local result = mw.html.create('div') result:addClass('infobox') :tag('div') :class('infobox-title') :wikitext(com.modulePagename(title)) :done() return result end local function infoboxImage(image, defaultImage, caption, defaultCaption) local result = mw.html.create('div') result:addClass('infobox-image') if image or defaultImage then...") |
|||
Line 18: | Line 18: | ||
if image or defaultImage then | if image or defaultImage then | ||
local file = '%[%File:' | local file = '%[%[File:' | ||
if image then | if image then | ||
file = file .. image | file = file .. image |