Module:Infobox Recipe: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
local currency = require('Module:Currency')
local currency = require('Module:Currency')
local parse = require('Module:Param Parse')
local hc = require('Module:Param Parse').has_content
local yn = require('Module:Yesno')
local yn = require('Module:Yesno')


Line 162: Line 162:
:tag('td')
:tag('td')
:attr{ colspan = '11' }
:attr{ colspan = '11' }
:wikitext(args.facility and ('[[File:%s.png|link=%s|30px]] [[%s]]'):format(args.facility, args.facility, args.facility) or 'Unknown')
:wikitext(hc(args.facility) and ('[[File:%s.png|link=%s|30px]] [[%s]]'):format(args.facility, args.facility, args.facility) or '{{Unknown}}')

:done()
:done()
:done()
:done()