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.infobox( f )
local args = require( 'Module:ProcessArgs' ).merge( true )
local titleObject = mw.title.getCurrentTitle()
local title = args.title or titleObject.baseText
local template = f:getParent():getTitle():lower():gsub( 'template:', '' ):gsub( 'infobox ', '' )
local headerArea = ''
local json = {
images = {},
invimages = {},
rows = {},
}
local imageArea = args.imagearea
if not imageArea and imageArea ~= 'none' then
local images = {}
local invImages = {}
local defaultImageSize = args.defaultimagesize or '150px'
local defaultImageClass = args.defaultimageclass
args.image1 = args.image1 or args.image or 'title'
args.image1size = args.image1size or args.imagesize
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.