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
Created page with "local p = {} function p.run() local capiunto = require 'capiunto' return capiunto.create( { title = tostring(mw.title.getCurrentTitle().text), topStyle = 'background:#cfc;', bottom = 'Below text' } ) :addRow('H', 'Hydrogen') :addRow('He','Helium') :addRow('Li','Lithium') :addImage( '350px|Bild zweier handelsüblicher Otter', 'Caption displayed below' ) end return p"
 
No edit summary
 
(6 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:LutraCanadensis fullres.jpg|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