View source for Module:Infobox
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function p.box( f )
local args = require( 'Module:ProcessArgs' ).merge( true )
local title = args.title or mw.title.getCurrentTitle().baseText
local imageArea = args.imagearea
if not imageArea then
local images = {}
local invImages = {}
local defaultImageSize = args.defaultimagesize or '150px'
local firstImage = args.image or args.image1 or title .. '.png'
if firstImage ~= 'none' then
local firstImageSize = args.imagesize or args.image1size or defaultImageSize
table.insert( images, '[[File:' .. firstImage .. '|' .. firstImageSize .. ']]' )
end
local imgCount = {}
local invImgCount = {}
local grid
for k, v in pairs( args ) do
local image, num = k:match( '^(image)(%d+)$' )
000
1:0
Templates used on this page:
- Template:Documentation header (view source)
- Template:Sandbox other (view source)
- Template:T (view source)
- Template:Template link (view source)
- Template:Yesno (view source)
- Module:Documentation (view source)
- Module:Infobox/doc (view source)
- Module:ProcessArgs (view source)
- Module:Static (view source)
- Module:TSLoader (view source)
Return to Module:Infobox.