Modul:Infobox: Unterschied zwischen den Versionen

Aus HTK Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 4: Zeile 4:
local capiunto = require 'capiunto'
local capiunto = require 'capiunto'
return capiunto.create( {title = tostring(mw.title.getCurrentTitle())} )
return capiunto.create( {title = tostring(mw.title.getCurrentTitle())} )
:addImage('/var/www/mediawiki/resources/assets/poweredby_mediawiki_176x62.png', 'caption')
:addImage([[File:OmniMDE_Logo_v9.png|200px]], 'caption')
:addRow( 'Hersteller', 'data')
:addRow( 'Hersteller', 'data')
:addRow( 'Release', 'data')
:addRow( 'Release', 'data')

Version vom 1. Juni 2017, 11:42 Uhr

local p = {}

function p.ShowInfoBoxOmniMDE(frame) local capiunto = require 'capiunto' return capiunto.create( {title = tostring(mw.title.getCurrentTitle())} ) :addImage(OmniMDE Logo v9.png, 'caption') :addRow( 'Hersteller', 'data') :addRow( 'Release', 'data') :addRow( 'Version', 'data') :addRow( 'Webseite', 'data') end

return p