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 headerArea = ''
local imageArea = args.imagearea
if not imageArea and imageArea ~= 'none' then
local images = {}
local invImages = {}
local defaultImageSize = args.defaultimagesize or '150px'
args.image1 = args.image1 or args.image or 'title'
args.image1size = args.image1size or args.imagesize
args.invimage1 = args.invimage1 or args.invimage or 'title'
args.group1 = args.group1 or args.group
args.group1size = args.group1size or args.groupsize
local imgCount = {}
local invImgCount = {}
local groupCount = {}
local groupImgList = {}
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.