Module:Skills/Artisan/Sandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 170: Line 170:
}, 'N/A', nil, ', ')
}, 'N/A', nil, ', ')
local row = html:tag('tr')
html:tag('tr')
    row:tag('td'):attr('rowspan', 4):wikitext('[['..potion.name..']]')
    :tag('td'):attr('rowspan', 4):wikitext('[['..potion.name..']]')
:tag('td'):attr('rowspan', 4):wikitext(level)
:tag('td'):attr('rowspan', 4):wikitext(level)
  :css('text-align', 'center')
  :css('text-align', 'center')
Line 185: Line 185:
local rowTxt = {}
local rowTxt = {}
local tierPot = Items.getItemByID(potionID)
local tierPot = Items.getItemByID(potionID)
row :tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true}))
html:tag('tr')
:tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true}))
      :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]')
      :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]')
--:tag('td'):wikitext(Items.getValueText(tierPot))
--:tag('td'):wikitext(Items.getValueText(tierPot))
2,875

edits