Modul:Infobox: Unterschied zwischen den Versionen

Aus HTK Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
local p = {}
local p = {}
   
   
function p.run(frame)
function p.ShowInfoBoxOmniMDE(frame)
local capiunto = require 'capiunto'
local capiunto = require 'capiunto'
return capiunto.create( {
return capiunto.create( {
Zeile 9: Zeile 9:
bottom = 'Below text'
bottom = 'Below text'
} )
} )
:addRow(frame.args[1], frame.args[2])
:addRow(frame.args[3], frame.args[4])
end
end
   
   
return p
return p

Version vom 1. Juni 2017, 11:19 Uhr

local p = {}

function p.ShowInfoBoxOmniMDE(frame) local capiunto = require 'capiunto' return capiunto.create( { title = tostring(mw.title.getCurrentTitle()) , top = 'Above text', topStyle = 'background:#cfc;', bottom = 'Below text' } ) end

return p