Module:WoodcutterList: 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 = { '|Brambles', '?Variant of #- = variant', '?Professio...") |
m (spacing around images) |
||
Line 197: | Line 197: | ||
: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 216: | Line 215: | ||
: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]]') |