Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Infobox Meme: Difference between revisions

From Aurora Wiki
No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}
   
   
function p.run()
function p.run(frame)
local capiunto = require 'capiunto'
local capiunto = require 'capiunto'
return capiunto.create( {
return capiunto.create( {
title = tostring(mw.title.getCurrentTitle().text),
title = tostring(mw.title.getCurrentTitle().text),
topStyle = 'background:#cfc;',
bottom = frame.args[0]
bottom = 'Below text'
} )
} )
:addRow('H', 'Hydrogen')
:addRow('Zugehörigkeit', frame.args[1])
:addRow('He','Helium')
:addRow('Entstehungsjahr',frame.args[2])
:addRow('Li','Lithium')
:addRow('Teil von',frame.args[3])
:addImage(
:addImage(
'[[File:20260129085041!20241223110343!chunkedupload 1e3f5dca59d6.png|350px|Bild zweier handelsüblicher Otter]]',
frame.args[4], frame.args[5]
'Caption displayed below'
)
)
end
end
   
   
return p
return p

Revision as of 16:51, 30 January 2026

Documentation for this module may be created at Module:Infobox Meme/doc

local p = {}
 
function p.run(frame)
	local capiunto = require 'capiunto'
	return capiunto.create( {
		title = tostring(mw.title.getCurrentTitle().text),
		bottom = frame.args[0]
	} )
	:addRow('Zugehörigkeit', frame.args[1])
	:addRow('Entstehungsjahr',frame.args[2])
	:addRow('Teil von',frame.args[3])
	:addImage(
		frame.args[4], frame.args[5]
	)
end
 
return p