Module:MinerList: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "require('strict') require('Module:Mw.html extension') local param = require( 'Module:Paramtest' ) local currency = require('Module:Currency') local lang = mw.getContentLanguage() local p = {} -- non dynamic module, no inputs function p.main() -- returns only directly needed parameter needed for the row, -- other parameters are determined by subqueries of chained pages local query = { '[[Variant of::Mine Cart Work||Iron Ore (skill node)||Cabranese Ore (skill node...") |
m (spacing around images) |
||
Line 150: | Line 150: | ||
:tag('td') |
:tag('td') |
||
:css{ ['border-right'] = '0', ['text-align'] = 'right', ['max-width'] = '100px' } |
:css{ ['border-right'] = '0', ['text-align'] = 'right', ['max-width'] = '100px' } |
||
:addClass('plinkt-link no-border') |
|||
:attr{ ['data-sort-value'] = item.name } |
:attr{ ['data-sort-value'] = item.name } |
||
:wikitext(' [[' .. item.Image .. '|link=' .. item.name .. '|30x30px]]') |
:wikitext(' [[' .. item.Image .. '|link=' .. item.name .. '|30x30px]]') |
||
Line 169: | Line 168: | ||
:tag('td') |
:tag('td') |
||
:css{ ['border-right'] = '0', ['text-align'] = 'right', ['max-width'] = '100px' } |
:css{ ['border-right'] = '0', ['text-align'] = 'right', ['max-width'] = '100px' } |
||
:addClass('plinkt-link no-border') |
|||
:attr{ ['data-sort-value'] = item.product } |
:attr{ ['data-sort-value'] = item.product } |
||
:wikitext('[[File:' .. item.product .. '.png|link=' .. item.product .. '|30x30px]]') |
:wikitext('[[File:' .. item.product .. '.png|link=' .. item.product .. '|30x30px]]') |