Module:Sandbox/User:Alsang/PassivePotionList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(add it table classes to differentiate NA data from unknown data)
(cell centering)
Line 177: Line 177:
:tag('td')
:tag('td')
:IF(item.hasBuy)
:IF(item.hasBuy)
:css{ ['text-align'] = 'center' }
:wikitext(item.lvl)
:wikitext(item.lvl)
:ELSE()
:ELSE()
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:END()
:END()
Line 199: Line 201:
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:attr{ colspan = '10' }
:attr{ colspan = '10' }
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:done()
:done()
Line 214: Line 217:
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:attr{ colspan = '10' }
:attr{ colspan = '10' }
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:done()
:done()
Line 231: Line 235:
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:attr{ colspan = '10' }
:attr{ colspan = '10' }
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:done()
:done()
Line 241: Line 246:
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:attr{ colspan = '10' }
:attr{ colspan = '10' }
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:done()
:done()
Line 250: Line 256:
:ELSE()
:ELSE()
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:END()
:END()
Line 259: Line 266:
:ELSE()
:ELSE()
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:END()
:END()
Line 269: Line 277:
:addClass('table-bg-grey')
:addClass('table-bg-grey')
:attr{ colspan = '10' }
:attr{ colspan = '10' }
:css{ ['text-align'] = 'center' }
:wikitext('unknown')
:wikitext('unknown')
:done()
:done()