Infobox Meme: Difference between revisions
From Aurora Wiki
More actions
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), | ||
bottom = frame.args[0] | |||
bottom = | |||
} ) | } ) | ||
:addRow(' | :addRow('Zugehörigkeit', frame.args[1]) | ||
:addRow(' | :addRow('Entstehungsjahr',frame.args[2]) | ||
:addRow(' | :addRow('Teil von',frame.args[3]) | ||
:addImage( | :addImage( | ||
frame.args[4], frame.args[5] | |||
) | ) | ||
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