Module:Infobox Recipe: Difference between revisions
no edit summary
The Gaffer (talk | contribs) No edit summary |
The Gaffer (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1:
local currency = require('Module:Currency')
local
local yn = require('Module:Yesno')
local editButton = require('Module:Edit button')
local function currency_cell(amount)
Line 162 ⟶ 163:
:tag('td')
:attr{ colspan = '11' }
:wikitext(hc(args.facility) and ('[[File:%s.png|link=%s|30px]] [[%s]]'):format(args.facility, args.facility, args.facility) or editButton("'
:done()
:done()
Line 182 ⟶ 184:
:attr{ colspan = '2' }
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.profession) and ('[[' .. args.profession .. ']]') or editButton("'
:done()
:tag('td')
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.level) and (args.level) or editButton("'
:done()
:tag('td')
:attr{ colspan = '10' }
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.exp) and (args.exp) or editButton("'
:done()
:done()
|