Modul:Infobox: Unterschied zwischen den Versionen

Aus HTK Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:
bottom = 'Below text'
bottom = 'Below text'
} )
} )
:addImage( image, caption )
: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:23 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' } ) :addImage('image', 'caption') :addRow( 'Hersteller', 'data') :addRow( 'Release', 'data') :addRow( 'Version', 'data') :addRow( 'Webseite', 'data')

end

return p