Module:Skills/Summoning: Difference between revisions

no edit summary
(Apply CSS classes to prevent image columns from collapsing on devices with small widths)
No edit summary
Line 28: Line 28:
:tag('th'):wikitext('Mark')
:tag('th'):wikitext('Mark')
  :attr('colspan', 2)
  :attr('colspan', 2)
:tag('th'):wikitext(Icons._SkillRealmIcon(skillID, realm.id) .. '<br>Level')
:tag('th'):wikitext('Tier')
:tag('th'):wikitext('Tier')
:tag('th'):wikitext(Icons._SkillRealmIcon(skillID, realm.id) .. '<br>Level')
:tag('th'):wikitext('DLC')
:tag('th'):wikitext('DLC')
:tag('th'):wikitext('Discovered in')
:tag('th'):wikitext('Discovered in')
Line 50: Line 50:
:attr('data-sort-value', item.name)
:attr('data-sort-value', item.name)
row:tag('td'):wikitext(Icons.Icon({item.name, 'Mark of the ' .. item.name, type='mark', noicon=true}))
row:tag('td'):wikitext(Icons.Icon({item.name, 'Mark of the ' .. item.name, type='mark', noicon=true}))
row:tag('td'):wikitext(level)
:css('text-align', 'center')
row:tag('td'):wikitext(Fam.tier)
row:tag('td'):wikitext(Fam.tier)
:css('text-align', 'center')
row:tag('td'):wikitext(level)
:css('text-align', 'center')
:css('text-align', 'center')
row:tag('td'):wikitext(Icons.getDLCColumnIcon(Fam.id))
row:tag('td'):wikitext(Icons.getDLCColumnIcon(Fam.id))
2,875

edits