Modul:Infobox: Unterschied zwischen den Versionen

Aus HTK Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
function p.ShowInfoBoxOmniMDE(frame)
function p.ShowInfoBoxOmniMDE(frame)
local capiunto = require 'capiunto'
local capiunto = require 'capiunto'
return capiunto.create( {
return capiunto.create( {title = tostring(mw.title.getCurrentTitle())} )
title = tostring(mw.title.getCurrentTitle()) ,
:addImage('https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Microsoft_Word_2013_logo.svg/65px-Microsoft_Word_2013_logo.svg.png', 'caption')
top = 'Above text',
topStyle = 'background:#cfc;',
bottom = 'Below text'
} )
:addImage('image', 'caption')
:addRow( 'Hersteller', 'data')
:addRow( 'Hersteller', 'data')
:addRow( 'Release', 'data')
:addRow( 'Release', 'data')
:addRow( 'Version', 'data')
:addRow( 'Version', 'data')
:addRow( 'Webseite', 'data')
:addRow( 'Webseite', 'data')
end
end
   
   
return p
return p

Version vom 1. Juni 2017, 11:24 Uhr

local p = {}

function p.ShowInfoBoxOmniMDE(frame) local capiunto = require 'capiunto' return capiunto.create( {title = tostring(mw.title.getCurrentTitle())} ) :addImage('https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Microsoft_Word_2013_logo.svg/65px-Microsoft_Word_2013_logo.svg.png', 'caption') :addRow( 'Hersteller', 'data') :addRow( 'Release', 'data') :addRow( 'Version', 'data') :addRow( 'Webseite', 'data') end

return p