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
 
(5 intermediate revisions by the same user not shown)
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 = frame.args[1],
topStyle = 'background:#cfc;',
bottom = frame.args[8]
bottom = 'Below text'
} )
} )
:addRow('H', 'Hydrogen')
:addRow('Zugehörigkeit', frame.args[2])
:addRow('He','Helium')
:addRow('Entstehungsjahr',frame.args[3])
:addRow('Li','Lithium')
:addRow('Teil der Sammlungen',frame.args[4])
:addRow('Artikel geschrieben von',frame.args[5])
:addImage(
:addImage(
'[[File:20260129085041!20241223110343!chunkedupload 1e3f5dca59d6.png|350px|Bild zweier handelsüblicher Otter]]',
frame.args[6], frame.args[7]
'Caption displayed below'
)
)
end
end
   
   
return p
return p

Latest revision as of 09:37, 3 February 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 = frame.args[1],
		bottom = frame.args[8]
	} )
	:addRow('Zugehörigkeit', frame.args[2])
	:addRow('Entstehungsjahr',frame.args[3])
	:addRow('Teil der Sammlungen',frame.args[4])
	:addRow('Artikel geschrieben von',frame.args[5])
	:addImage(
		frame.args[6], frame.args[7]
	)
end
 
return p