Module:Infobox Recipe/Sandbox: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(remove space between number and s for seconds)
(center some cells)
Line 147: Line 147:
:tag('td')
:tag('td')
:attr{ colspan = '10' }
:attr{ colspan = '10' }
:css{ ['text-align'] = 'left' }
:css{ ['text-align'] = 'center' }
:wikitext('[[File:' .. facility .. '.png|30px|link=' .. facility .. ']] [[' .. facility .. ']]')
:wikitext('[[File:' .. facility .. '.png|30px|link=' .. facility .. ']] [[' .. facility .. ']]')
:done()
:done()
Line 171: Line 171:
:tag('td')
:tag('td')
:attr{ colspan = '11' }
:attr{ colspan = '11' }
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.facility) and ('[[File:%s.png|link=%s|30px]] [[%s]]'):format(args.facility, args.facility, args.facility) or editButton("'''?''' (edit)"))
:wikitext(hc(args.facility) and ('[[File:%s.png|link=%s|30px]] [[%s]]'):format(args.facility, args.facility, args.facility) or editButton("'''?''' (edit)"))


Line 182: Line 183:
:tag('td')
:tag('td')
:attr{ colspan = '11' }
:attr{ colspan = '11' }
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.duration) and ('%ss'):format(args.duration) or editButton("'''?''' (edit)"))
:wikitext(hc(args.duration) and ('%ss'):format(args.duration) or editButton("'''?''' (edit)"))